ICCPROP Async Serial I/O C Code
jazzed
Posts: 11,803
Attached·are async serial I/O·"C" packages for ImageCraft's ICCPROP.
See html/index.html files tab for documentation.
April14 ASIO_BETA notes:
This is a slightly different version of code appearing in beta1 release. Uses waitcnt timing (and some dependency on code execution time). Tested with 5MHz and 10MHz crystal. Works with local buffers (April17 package does not).
ASIO_April17'08 notes:
This package is an attempt to use cognew and scheduled waitcnt·for bit times. There should be no dependencies on code execution times with this. Tested with 5MHz and 10MHz crystal. Unfortunately, there·is a·"wart" with this not seen in April14 ASIO_BETA: Using a function "local scope" char array for asio_rxString/asio_txString fails. Same array with global scope works fine; no idea why, but I've seen something similar before.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley
Traffic is slow at times, but Parallax orders·always get here fast 8)
Post Edited (jazzed) : 4/18/2008 12:32:55 PM GMT
See html/index.html files tab for documentation.
April14 ASIO_BETA notes:
This is a slightly different version of code appearing in beta1 release. Uses waitcnt timing (and some dependency on code execution time). Tested with 5MHz and 10MHz crystal. Works with local buffers (April17 package does not).
ASIO_April17'08 notes:
This package is an attempt to use cognew and scheduled waitcnt·for bit times. There should be no dependencies on code execution times with this. Tested with 5MHz and 10MHz crystal. Unfortunately, there·is a·"wart" with this not seen in April14 ASIO_BETA: Using a function "local scope" char array for asio_rxString/asio_txString fails. Same array with global scope works fine; no idea why, but I've seen something similar before.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley
Traffic is slow at times, but Parallax orders·always get here fast 8)
Post Edited (jazzed) : 4/18/2008 12:32:55 PM GMT
zip
60K
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley
Traffic is slow at times, but Parallax orders·always get here fast 8)
Post Edited (jazzed) : 4/18/2008 2:49:43 AM GMT
I am compiling the (standard C subset) library functions for the beta release. Life is a humongous PITA when we don't have the instruction set only simulator yet to do fast / bulk testing....