Software > Software

8 characters in the path or file name ? and starting AXON not on USB...

(1/4) > >>

Lester:
I can download a program with the FBOOT GUI (that just rolls off your tongue doesn't it) that has more than 8 charaters in its path and file name but I thought I remembered reading something about an 8 charater limit.  But, it will only start up if the board is connected to the USB and the computer is powered on.

It seems unlikely this has to do with any character limit (there are no spaces).

Anyway, at "power on" the program starts fine if the USB is plugged in.  If not, it doesn't want to boot up and the program will not run.  Program size is about 32K using a DroneCell/GPS/Display/Keypad configuration, like a homemade cell phone.  Homemade cell is pretty worthless if I have to lug around my laptop too  ;D

Gertlex:
The 8 character limit is if you use the FBOOT17.exe directly. I don't recall why.  But it's one of the most frustrating things to forget about, and then subsequently lose hours tracing the problem down.

I'm not sure what's up with the actual problem you're describing... Are you using the USB's UART in your code? I've had problems (Axon light flashing, webbotlib error) when I use the other UART's in code, but don't have the physical UART's connected to anything.

Admin:
You are using the original Axon, right? Check your battery, the wiring, and make sure your grounds are all connected.

If you plug in USB, and your robot works, then you unplug USB without turning your robot off . . . does the robot stop working?


The file name size limit, I believe but am not 100% sure, is because FBOOT is an 8-bit program. I didn't write it myself.

Lester:
Yes just the Axon, not Mote or II, just Axon.

I am using the 4 UARTs. 
1 for the USB connection
1 for a GPS module
1 for a DroneCell modem
1 for future expansion to OBD II data.

I will text, if I can figure out a way to get SMS into MySQL, or use a TCP connection to get the data to a record in MySQL but that's a story for another day.

If the Axon is connected to the computer via the USB and download a program it runs fine, and even if I shut down and restart the board via the switch (which is VERY convenient BTW) it still runs fine.  All I need to do is have the USB plugged into a live computer.

If I unplug the USB, after checking just now and playing some more is I get weird characters on the LCD which in adjusting a delay on startup goes away except for I now have a flashing block as the location of the cursor so I need to figure out how to turn that off because it's bothersome. 

But it appears to be working for whatever reason with the delay and perhaps there is a command I need to send to the LCD to turn off blinking cursor but I will check that out. 

This is somewhat LCD influenced because USB plugged and poewered inits with a blank LCD and unplugged inits with rows 0 and 2 black box and 1 and 3 as clear instead of all clear when plugged into the USB, and as I said powered up.

For whatever reason having the USB plugged in and laptop powered up is the key, like it needs that power to the LCD or something.  I'm running off a wall transformner that's at 6VDC output that is poretty clean according to the scope so power should be no problem on droops etc, although I haven't confirmed that and maybe it's charing the big cap.  Is that the thing?

Gertlex:
Thanks for extra info.  I was referring to using the UARTs in your software.  Is the code on the Axon using the USB connection?

Can you also verify like Admin noted, that all of the grounds are common (aka connected)?

Navigation

[0] Message Index

[#] Next page

Go to full version