Scicos + RS232

Forum related to the FLEX boards

Moderator: paolo.gai

Locked
ofirbo
Newbie
Posts: 19
Joined: Sun Oct 26, 2008 11:18 am

Scicos + RS232

Post by ofirbo » Sun Dec 07, 2008 9:28 am

Hi,

I\'m looking for rs232 blocks for scicos like those implemented in the simulink code generation blockset:
http://www.kerhuel.eu/wiki/index.php5?title=Block

Are they available anywhere? (i\'m not a programmer)

Thanks,
Ofir

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re:Scicos + RS232

Post by paolo.gai » Sun Dec 07, 2008 12:03 pm

Hi Ofir,

There are currently no blocks for RS232 communication on Scicos. But we implemented something on OpenZB and USB.

I do not know if you got answers about the problems you had in using the USB connection, but I hope they are solved... if they are not solved, could you please post the problems you are having on the forum?

Ciao,

Paolo

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re:Scicos + RS232

Post by paolo.gai » Sun Dec 07, 2008 12:06 pm

A quick reply to myself.-..

- Christian/Nino, could you please check if someone in the Retis lab has implemented communication over RS-232?

- Ofir, if you are going to implement some RS-232 blocks, I think that the good point where to start is the USBSend code on the dsPIC, and the DLL for Scicos on the Scilab host file. If I remember well, it should be not so difficult to improve the DLL on the host to support also serial communication...

Ciao,

PJ

ofirbo
Newbie
Posts: 19
Joined: Sun Oct 26, 2008 11:18 am

Re:Scicos + RS232

Post by ofirbo » Sun Dec 07, 2008 2:15 pm

Hello Paolo, thanks for the quick reply.

I still have a problem with the usb - i followed the instructions here:
http://www.evidence.eu.com/component/op ... temid,366/

Including this part: \"If the proposed value is 0x04 unselect the checkbox and insert the correct value. After flashing the device, reset the board and connect the USB cable. \"

But after resetting the board, the usb device appears as \"not recognized\".


I\'ll take a look at the ZigBee code.

Thanks,
Ofir

Locked