|
Thanks for the feedback.
I've run into two problems so far, and if anyone knows how to fix them, it should make everything go much faster:
-Setting DTR: for some reason, I always get I/O errors when trying to do it with ioctl.
-Setting break condition: is there any way to do this in non-asyncronous mode? tcsendbreak documentation says it only works in async mode and that's not what I want to use for the rest of the program, but I suppose I could if need be.
Right now, I'm just trying to get RoboIDE to work from a command line, but as soon as that is working, I'll add a GUI (possibly finding a way to integrate with KDevelop, etc). Everything is written except for the "reset sequence" with the BS2sx, which requires the DTR and break signals to be sent and I REALLY don't want to do it with assembly by setting individual I/O bits.
Anyway, hopefully I'll figure this out sometime before the season starts...
|