pclyne
02-18-2008, 12:56 AM
New to the wonderful world of Rabbit SBC so any help is very much appreciated.
Got an application that needs to read data from a serial port and then compare it to a list of matching data. Digital I/O is controlled based on the results of the match..
Data list can be over 5000 records, and needs to be downloaded into ram (over radio link).
Does anyone have any sample code I could examine?
Specifically I haven't seen a way to read a data 'file' from memory (it could just be a text ".list").
A routine that also allowed me to write to memory remotely (ie send the file to the SBC) would also be helpful (I presume the rabbit needs to take control of the handshakes, error checking, etc, etc)
Trial hardware is an OP7200 (but long term something with less power would probably be used).
Any and all help very much appreciated
Thanks in advance
Paul
Got an application that needs to read data from a serial port and then compare it to a list of matching data. Digital I/O is controlled based on the results of the match..
Data list can be over 5000 records, and needs to be downloaded into ram (over radio link).
Does anyone have any sample code I could examine?
Specifically I haven't seen a way to read a data 'file' from memory (it could just be a text ".list").
A routine that also allowed me to write to memory remotely (ie send the file to the SBC) would also be helpful (I presume the rabbit needs to take control of the handshakes, error checking, etc, etc)
Trial hardware is an OP7200 (but long term something with less power would probably be used).
Any and all help very much appreciated
Thanks in advance
Paul