Society of Robots - Robot Forum

Software => Software => Topic started by: pomprocker on April 12, 2008, 07:35:46 PM

Title: $50 robot bootloader error
Post by: pomprocker on April 12, 2008, 07:35:46 PM
I am getting this:

>fboot17.exe -b57600 -c3 -p50_robot_sharpIR.hex -v50_robot_sharpIR.hex
COM 3 at 57600 Baud: Connected
Bootloader V1.7
Target: 1E9307 ATmega8
Buffer: 960 Byte
Size available: 7680 Byte
File 50_robot_sharpIR.hex open failed !
Program-Error


I have followed the instructions on the website here, went through em twice.

I have the hex file in the proper folder.

Title: Re: $50 robot bootloader error
Post by: pomprocker on April 13, 2008, 07:56:42 PM
I changed the hex filename to ranger.hex and it worked. I bet its 8 characters or less for the filename.
Title: Re: $50 robot bootloader error
Post by: pomprocker on April 14, 2008, 01:17:17 AM
I've found that I can only program the robot once using fboot.exe. The second time around it won't even connect.

Its like it over writes the boot loader section of flash.

I have looked at the ATmega8 Datasheet and on page 212 it talks about BootLocks. I have programmed BootLock11 which is suppose to block SPM from being able to write to the bootloader flash.

That still didnt work. I think its still over writing the bootloader flash.
Title: Re: $50 robot bootloader error
Post by: pomprocker on April 15, 2008, 10:08:56 AM
ok Disregard that last post. I had the USB breakout board powered up wrong.
Title: Re: $50 robot bootloader error
Post by: Admin on April 24, 2008, 06:37:41 PM
funny thing, I recently had the exact same problems as you, and solved them in the same way :P

(Ill update the bootloader tutorial when I have time to address these issues)