[Gambas-user] How to develop gambas component

Matteo Lisi matteo.lisi at ...2324...
Wed Jan 27 09:39:28 CET 2010


Hi !

>But I think what you really need is a way to have the IDE on one computer, and
 
>the debugged program on another computer. Then you won't have to adapt the way
 
>to send data to the PIC. Am I wrong?

No , you are right !

But , correct me if I'm wrong , if I compile a programs on PC , and put it on a
n Arm system, the gbx2 on Arm can execute the program compiled on PC.

For this reason we thought to debug the program on PC side, and via UDP socket 
get the data from Arm.

One time that the development phase end, we'll move the project directory to Ar
m system , and then we'll execute on it .

   Il 27/01/2010 4.34, Benoît Minisini ha scritto:

Hi Benoît !
    

You should configure your mail reader to use UTF-8 encoding when needed. :-)

  

I'll try to explain my project:

I have an Arm 9 system, and I have to run gambas interpreter
on in. This Arm 9  exchange data across the SPI with a
Microchip PIC.

Whereas we want to develop and debug the Arm application
from a PC, we thought to exchange data from PC to Arm and
viceversa through UDP socket. When we debug on the PC the
gambas application, we use the gambas IDE, and when we want
to read or write data to PIC WE use a UDP socket to send
data to ARM 9.

But when we execute the gambas program on ARM system we read
or write data to PIC through the SPI.

My components , used without graphic interface, have to
export the same interface to Pc and Arm but, if compiled for
PC the link channel has to be UDP socket, while if compiled
for Arm have to use the SPI interface.

On the arm system there will be a task that export an UDP
Server and take the data arrived from SPI.

I hope that I explained well !

If I have my low level function , both UDP and SPI , how I
can insert my C++ class on the gambas enviroment ?

thanks a lot for all your reply !

    

Apparently you have very specific needs.

But I think what you really need is a way to have the IDE on one computer, and 
the debugged program on another computer. Then you won't have to adapt the way 
to send data to the PIC. Am I wrong?

  


Nessun virus nel messaggio in arrivo.
Controllato da AVG - [1]www.avg.com
Versione: 9.0.730 / Database dei virus: 271.1.1/2646 -  Data di rilascio: 01/26
/10 08:46:00



   --
     _________________________________________________________________

   [2]http://www.engicam.com 
   ENGICAM s.r.l.
   Progettazione di sistemi elettronici
   50018 Scandicci - FIRENZE
   Via dei Pratoni, 16 int. 13 O-N
   P.I. 05389070482
   [3]http://www.freescale.com › [4]Matteo Lisi
   ( +39 055 7311387
   6 +39 055 7318333
     _________________________________________________________________

   NOTICE: This message and attachments are intended only for the use of their
   addresses and may contain confidential information belonging to Engicam. If
   you  are  not the intended recipient, you are hereby notified that any
   reading, dissemination, distribution, or copying of this message, or any
   attachment, is strictly prohibited. If you have received this message in
   error,  please  notify the original sender immediately and delete this
   message, along with any attachments.

References

   1. http://www.avg.com/
   2. http://www.engicam.com/
   3. http://www.freescale.com/
   4. mailto:matteo.lisi at ...2324...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 5625 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20100127/81c645d0/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 4268 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20100127/81c645d0/attachment-0001.gif>


More information about the User mailing list