![]() |
Re: Encoder help
Quote:
Windward: "Update: We think it might be a problem with the computer. Whenever we program it the yellow program state is constantly orange." Windward: "Could this be compiler/cable related (we are using a USB to Serial converter)" Kevin: "Does it do this with the .hex file that's included in the .zip archive?" Windward: "Yes it still remains yellow, and still doesn't print." If the RC never comes out of programming mode, of course it's not going to send anything to the terminal because the code isn't executing. Mark at IFI says that he's seen this many times with USB to serial converters that tend to buffer large amounts of data and then send it all at once in a continuous burst, which screws-up the proper timing between the loader and bootloader. Quote:
Quote:
|
Re: Encoder help
Kevin, you are right, I am obviously an wrong.
Even so, this is what I read: Quote:
Quote:
I defer to Kevin's greater knowledge, but again, it seems strange to me that the USB-Serial is the problem. From above, they are able to download code using the same USB-Serial cable. I don't see an obvious reason for the code size to be very differnent in the two cases. Yet one code runs and another does not. It is obvious to others that the reason one runs and the other does not is because one downloads and another does not. I missed that but I still don't understand it. There is the additional data that the "IFI>" is getting back to through the USB-Serial link with the precompiled .hex code. Is the .hex downloading? Is it running? I am not sure, again, something is not adding up, in my mind at least. I made some suggestions and asked questions. I am sorry if my thoughts on the process caused more confusion. Even with Kevin's assurances, the USB argument seems sketchy to me. But again I defer to his greater knowledge. As to the case of Mt. Dew, I may send you one gratis, Kevin, even if you don't take me up on the bet. According to a number of books including this one caffeine often has a civilizing affect on humans. Joe J. |
Re: Encoder help
Never underestimate the ability of a USB to Serial converter to screw things up. Any server software like apache or SQL server can also interfere with the timing.
|
Re: Encoder help
Joe,
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
-Kevin |
Re: Encoder help
Quote:
|
Re: Encoder help
Thank you all for the great debate over the problem. I am very sorry about not replying for 3 weeks, as I was on break and unable to apply.
I don't currently have a serial computer to test out, and with the new compitition starting I can't put my resources into making it work right now because the '06 competition just started. We hope it will work with the new cpu etc, and if there is a problem I will find a serial computer somewhere on campus to test. Thank you all very much again. |
Re: Encoder help
sorry we haven't replied lately. We have our hands full now with a lot of things. We were able to get the printf to work and haven't gotten to check the encoders yet.
|
| All times are GMT -5. The time now is 00:10. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi