2

Author Topic: Axon/hyperterminal problem  (Read 1323 times)

0 Members and 1 Guest are viewing this topic.

Offline mie496Topic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Axon/hyperterminal problem
« 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.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,653
  • Helpful? 169
    • Society of Robots
Re: Axon/hyperterminal problem
« Reply #1 on: February 20, 2009, 09:28:53 PM »
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

Offline HyperNerd

  • Robot Overlord
  • ****
  • Posts: 139
  • Helpful? 5
  • N3rd1n80r
Re: Axon/hyperterminal problem
« Reply #2 on: February 21, 2009, 12:24:48 PM »
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
There are 10 types of people in the world - those who understand binary, and those who don't.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,653
  • Helpful? 169
    • Society of Robots
Re: Axon/hyperterminal problem
« Reply #3 on: February 25, 2009, 09:59:37 AM »
Did it work?

 


Get Your Ad Here