View Single Post
  #3   Spotlight this post!  
Unread 21-11-2002, 16:39
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
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...
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php