Society of Robots - Robot Forum

Software => Software => Topic started by: metaknecht on December 28, 2009, 02:01:10 AM

Title: Axon cant upload hex
Post by: metaknecht on December 28, 2009, 02:01:10 AM
 ???

hi guys, I'm facing a weird problem here.

i have been using Axon for quite some time (few months) and so far i have successfully uploaded my hex files using the bootloader fboot17.exe

now, something is wrong with my Axon, because whenever i upload a hex file, it always show a verify error no matter what i do.

Code: [Select]
Size available: 64512 Byte
Program axon_tst.hex: 00000 - 052A3 successful
File axon_tst.hex.hex open failed !
Verify-Error

c:\axon>fboot17.exe -c1 -b115200 -paxon_tst.hex -vaxon_tst.hex
COM 1 at 115200 Baud: Connected
Bootloader V1.7
Target: 1E9608 C:\AXON\FBOOT17.DEF
Buffer: 7680 Byte
Size available: 64512 Byte
Program axon_tst.hex: 00000 - 052A3 successful
Verify axon_tst.hex: 00000 - 052A3 failed!
Verify-Error

c:\axon>fboot17.exe -paxon_tst.hex -vaxon_tst.hex -c1 -b115200
COM 1 at 115200 Baud: Connected
Bootloader V1.7
Target: 1E9608 C:\AXON\FBOOT17.DEF
Buffer: 7680 Byte
Size available: 64512 Byte
Program axon_tst.hex: 00000 - 052A3 successful
Verify axon_tst.hex: 00000 - 052A3 failed!
Verify-Error

c:\axon>fboot17.exe -b57600 -c1 -paxon_tst.hex -vaxon_tst.hex

i have checked the port numbers, baud rates etc. are all fine.

tried the test programs, still wont upload.

removed all connections except the usb and battery.

it just suddenly stop working for some reason >:(

any ideas? ???
Title: Re: Axon cant upload hex
Post by: SmAsH on December 28, 2009, 02:29:43 AM
Have you tried programming the axon with a regular programmer?
If you can, try this as it will tell whether it is the usb or not...
Title: Re: Axon cant upload hex
Post by: Canabots on December 28, 2009, 10:29:03 AM
I've had this problem before...

What I did was relocate the whole project, or just the hex file and FBOOT17.EXE that often worked.

If not, then I created a whole new project and just copied my code from the old directory to the new one...compiled that code and tried again.

It has worked for me like that.
Title: Re: Axon cant upload hex
Post by: metaknecht on December 28, 2009, 06:37:26 PM
Have you tried programming the axon with a regular programmer?
If you can, try this as it will tell whether it is the usb or not...
I was hoping not to buy a programmer  :P
I've had this problem before...

What I did was relocate the whole project, or just the hex file and FBOOT17.EXE that often worked.

If not, then I created a whole new project and just copied my code from the old directory to the new one...compiled that code and tried again.

It has worked for me like that.

i'll try that
Title: Re: Axon cant upload hex
Post by: metaknecht on December 29, 2009, 03:41:38 AM
oh well, my bootloader might be broken... i guess i have to buy an avr programmer yea?

what about this programmer? will it work with the Axon?

http://www.pololu.com/catalog/product/1300 (http://www.pololu.com/catalog/product/1300)

Title: Re: Axon cant upload hex
Post by: SmAsH on December 29, 2009, 03:52:41 AM
what about this programmer? will it work with the Axon?
http://www.pololu.com/catalog/product/1300 (http://www.pololu.com/catalog/product/1300)
Yes.
Title: Re: Axon cant upload hex
Post by: Joker94 on December 29, 2009, 03:59:14 AM
Yeah that will be fine ;D