Author Topic: Hyperterminal/Axon issue: No data  (Read 3161 times)

0 Members and 1 Guest are viewing this topic.

Offline tranzparencyTopic starter

  • Jr. Member
  • **
  • Posts: 17
  • Helpful? 1
Hyperterminal/Axon issue: No data
« on: December 04, 2010, 02:24:11 AM »
Running on OSX 10.6.5: Windows XP Service Pack 3 installed through VirtualBox 3.2.12.  Set 'USB to UART' connection to connect directly to VirtualBox when connected (under settings). It shows up everytime I connect it.  Followed the Axon "Getting Started" tutorial to the letter. Everything went smoothly.  The Axon is connected on COM3 with the settings: 115200, 8, None, 1, and None.  Driver info looks all good.  When I fired up Hyperterminal and connected, the terminal returned no data.  I can tell Windows is talking to the Axon becuase once I connected via Hyperterminal, I can see the USB icon blinking with activity in the VirtualBox window.  Disconnect and it immediately stops blinking. Hyperterminal settings match the "USB to UART Bridge (COM3)" settings under Device Manager.

Experimented with different ports, different speeds, and different flow controls.  Nothing seems to work.  I don't even see garbage, just a blinking cursor.  Also tried bootloading in case there was an issue with whatever code was on there from last year (been a while since I played with it).  No dice, the prompt just spun.

Hours into troubleshooting and run out of things to try.  Any help would be much appreciated.  Thanks in advance!
 
« Last Edit: December 04, 2010, 03:28:33 PM by tranzparency »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,704
  • Helpful? 173
    • Society of Robots
Re: Hyperterminal/Axon issue: No data
« Reply #1 on: December 04, 2010, 04:33:06 PM »
What data does your code send?

Offline tranzparencyTopic starter

  • Jr. Member
  • **
  • Posts: 17
  • Helpful? 1
Re: Hyperterminal/Axon issue: No data
« Reply #2 on: December 04, 2010, 05:19:55 PM »
If I remember correctly what's currently on the Axon is a simple IR sensor reading that prints the values in a while loop.  I created a new .hex that just says "PIN A is on" in a simple while loop.  But I can't load the new one through FBOOT, cursor just spins.

As a follow up.  Closed XP in VirtualBox and tried to simply connect from OS X to see if maybe it was an OS X issue that was affecting XP.  Ran across this:
http://www.societyofrobots.com/robotforum/index.php?topic=12663.0

Tried a variety of speeds with the 2 commands below to no luck.

Tried the following and it just returned the command prompt:
stty -f /dev/tty.SLAB_USBtoUART 115200

Tried the 'screen' command and it cleared the screen and just sat there doing nothing:
screen /dev/tty.SLAB_USBtoUART 115200


Offline tranzparencyTopic starter

  • Jr. Member
  • **
  • Posts: 17
  • Helpful? 1
Re: Hyperterminal/Axon issue: No data
« Reply #3 on: December 04, 2010, 09:28:43 PM »
Was suspicious that I couldn't connect to the Axon from OS X as well.  So installed XP SP2 through bootcamp and booted native into it.  Got everything installed.  I was able to use the bootloader, successfully upload my AxonTest.hex file to the Axon, and connect see data coming from the Axon through Hyperterminal.

I'd still like to solve the Hyperterminal & bootloading issue in OS X.  Any ideas would be much appreciated.  Would prefer to just work from OS X. Thanks.

control.c code:
void control(void)
  {
      int max = 20;
      int i = 0;
      for(i = 0; i < max; i++)
      {
           printf("AXON calling\r\n");
      }
}

Ran the bootloader successfully in native boot XP:
#FBOOT17.EXE -b115200 -c3 -pAxonTest.hex -vAxonTest.hex
COM 3 at 115200 Baud: Connected
Bootloader V1.7
Target: 1E9608 C:\ROBOTS\FBOOT17.DEF
Buffer: 7680 Byte
Size available: 64512 Byte
Program AxonText.hex: 00000 - 05543 successful
Verify AxonTest.hex: 00000 - 05543 successful
CRC: o.k.
Elapsed time: 5.22 seconds
« Last Edit: December 05, 2010, 05:35:46 PM by tranzparency »

 

SMF spam blocked by CleanTalk