Society of Robots - Robot Forum
General Misc => Misc => Topic started by: mie496 on February 20, 2009, 01:19:28 PM
-
Hi all,
I have a problem with the axon. My code (in control.c) is literally this:
while(1)
{
rprintf("PIN A: on");
}
Everything else was done normally. The hyperterminal output shows the message above and prints it several times but stops after about 1 second. This worked two days ago, and the green LED used to flash repeatedly when it did. Now however, it flashes only once and the problem stated earlier occurs. I am using a powersupply to power the Axon and I tried everything to fix it to no avail. How do I print a constant stream of data?
Help is greatly appreciated.
-
Try pushing the button after the data stops. I suspect it'll do the same thing.
I noticed this problem with the latest code version too, and yerbie I think found a solution.
Download the latest beta and try again:
http://www.societyofrobots.com/axon/downloads/Axon_Source_beta.zip
-
Is there a pause in the data stream, or is the Axon CONSTANTLY sending, i.e as soon as one packet is sent the next is on its way? The UART is not transmitting at exactly the correct baud rate, just as close as it can get. If there is no pause, the amount of error builds up, and complete gibberish is spewed from the other end.
Try adding a delay of say, 50ms after it has sent a packet of data, for the UART to recover.
-HyperNerd
-
Did it work?