code won't execute until I disconnect serial cable. Is this right?
Ezra243
Posts: 5
Newbie + 1 day here.· I am just starting through the StampWorks experiments.· I have my first bit of code typed in and the syntax checks OK.· I connect to the Professional Development Board with the serial cable that came with the kit.· I click run and all looks good, but the program doesn't run.· I fussed with the code for a while.· Then I called it quits.· I shutdown my PC.· Then the program started running.· What's up with that?
I checked it out again today.· I click run and the program loads to the board.· If I disconnect the serial cable, it starts running.· If I reconnect the cable, the program stops.· Is this normal??
I tried the USB cable.· It worked on day one, but on day two I got an error when I tried using it.
PS:· Thanks go to Bruce Bates for responding to my last question.
I checked it out again today.· I click run and the program loads to the board.· If I disconnect the serial cable, it starts running.· If I reconnect the cable, the program stops.· Is this normal??
I tried the USB cable.· It worked on day one, but on day two I got an error when I tried using it.
PS:· Thanks go to Bruce Bates for responding to my last question.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Check the latency timer in the USB-COM port and set it to "1". This should fix your problem.
Ken Gracey
The reply by Ken Gracey above seems to have fixed the USB problem I was having with communication failures when loading code to the BS2 stamp. If you want to try the fix on your PC, here is where I found the latency timer.
Launch Regedit and do a find on the word LatencyTimer. You will find several keys that belong to the USB FTDI drivers.
Change the value to 1. They were at a value of 10 HEX for me.
Thanks go to Ken Gracey.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
www.parallax.com/dl/docs/prod/ftdi/USB-VCP-Install-WinXP-v1.1.pdf
Ryan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ryan Clarke
Parallax Tech Support
RClarke@Parallax.com
Thanks again.