Firmware Update = "FAIL: lost synchronisation with the bootloader"

Playing with the 3DR modems I thought I'd get the firmware updated.  I got a few error messages though.

System is connected to the internet.  Both the ground and air radios give the same problem.  Trying 1.3->1.5 upgrade.  Mission Planner is updated using the auto update.

.

Is there a stand-alone firmware updater?  Tying the updater into Mission Planner and doing autoupdates is NOT a good method.  For a dev unit like this we really need more control and less ties to other potential problems.

Error log from Mission Planner console...

---------------------------------------------------------------------

Trying Bootloader Mode

FAIL: lost synchronisation with the bootloader
FAIL: lost synchronisation with the bootloader
FAIL: lost synchronisation with the bootloader
FAIL: lost synchronisation with the bootloader
FAIL: could not synchronise with the bootloader

Trying Firmware ModeConnect btr 4
baud 57600
Connect first responce OK
4
Doing Command ATI
cmd ATI echo ATI

responce 0 SiK 1.3 on HM-TRP


Connect Version: SiK 1.3 on HM-TRP
INFO ArdupilotMega.Common - getFilefromNet(): System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at ArdupilotMega.Common.getFilefromNet(String url, String saveto)

Views: 677

Reply to This

Replies to This Discussion

Hi Jake,

The SiK git tree has a bunch of python tools for loading firmware, testing the radios etc. That is what I use to develop the radio firmware. Have a look in the Firmware/tools/ directory.

You can also force the radio into bootloader mode by shorting CTS and ground while powering on. I'll add something to the wiki on how to do that.

Cheers, Tridge

I'm thinking this error indicates that the new firmware isn't where it's expected to be.

getFilefromNet(): System.Net.WebException: The remote server returned an error: (404) Not Found.

.

I shorted CTS during power up and got the red light.  So the bootloader mode seems to be working.  However, I got this error instead...

Trying Bootloader Modeconnected to bootloader

In Bootloader ModeINFO ArdupilotMega.Common - getFilefromNet(): System.Net.WebEx
ception: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at ArdupilotMega.Common.getFilefromNet(String url, String saveto)


I'll try compiling the firmware.  But I'm not too clear on how to upload it.  Do I need to worry about the vector table?  I don't want to overwrite the bootloader and brick my unit.

So I did...

git clone https://github.com/tridge/SiK.git

Then...

make all

and got...

include/rules.mk:64: *** Could not find SDCC on your path - cannot build.  Stop.

So I tried...

sudo apt-get install SDCC

Which could not locate package "SDCC".  So I did....

sudo apt-get install sdcc
Which worked.  Then I tried making the firmware again and got...

make all
% build bootloader for hm_trp
make[1]: Entering directory `/home/jake/SiK/Firmware'
AS bootloader/crtstart.asm
make[1]: sdas8051: Command not found
make[1]: *** [obj/hm_trp/bootloader.hm_trp/crtstart.rel] Error 127
make[1]: Leaving directory `/home/jake/SiK/Firmware'
make: *** [build.bootloader.hm_trp] Error 2

.

I tried a few things, but made no progress and I'm out of time for the moment.  Any help would be appreciated!

Jake, what version planner are you using?

the root cause of this problem looks likke the 404 error, a while ago the location of the firmware changed. make sure you have the latest planner.

Looks like 1.1.48.  I've just been assuming that the auto update is keeping things current.

Should I try reinstalling?  Uninstall->install or just reinstall over the old version?

latest version is 1.1.78

Thanks!  I download the newest version and got the radio firmware upgraded without any major problems.

I guess the auto updating system must only do minor updates?  I saw that it was downloading and updating things occasionally and just assumed I was current.

make[1]: sdas8051: Command not found

this is the 8051 assembler. You can get it by building sdcc 3.1 yourself from source. It doesn't seem to be packaged as part of sdcc on Ubuntu, although perhaps it is in later versions (my Ubuntu oneiric release only has sdcc 2.9, which is why I built it myself).

Cheers, Tridge

Could you give me a little guidance on doing that?  I can run sdcc and get the command line options.  I'm just not sure where the sdcc source is located and what make command to run.  I've been looking through the docs, but just can't seem to find the info.

I looked in /usr/share/sdcc and couldn't find any makefiles.

I'm too spoiled by eclipse and visual studio, so my linux is very rusty.  But I'm trying to document everything so I can add it to the wiki.

Looks like a lot of cool things are happening very quickly on the git repository BTW!  I'm excited to get involved, but don't want to brick my units.  I'll probably order a few hope modules so I can have spares to solder in if things go south.

HI

we have the same error to update air module from 1.3 >> 1.5

On the module we have only de red led on

Some idea ?

hello

I have solved my error

In the system propertie of the com port we change de speed from 9600  to 57600




RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service