go_away

Author Topic: $50 robot bootloader error  (Read 3273 times)

0 Members and 1 Guest are viewing this topic.

Offline pomprockerTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
$50 robot bootloader error
« 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.


Offline pomprockerTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: $50 robot bootloader error
« Reply #1 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.

Offline pomprockerTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: $50 robot bootloader error
« Reply #2 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.

Offline pomprockerTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: $50 robot bootloader error
« Reply #3 on: April 15, 2008, 10:08:56 AM »
ok Disregard that last post. I had the USB breakout board powered up wrong.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,659
  • Helpful? 169
    • Society of Robots
Re: $50 robot bootloader error
« Reply #4 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)

 


Get Your Ad Here

data_list