uracoli-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [uracoli-devel] Wireless Bootloader Hex Error


From: Brad Brooks
Subject: Re: [uracoli-devel] Wireless Bootloader Hex Error
Date: Mon, 12 Aug 2013 16:39:19 -0500

Using the -O 0x1FFEF worked.  I used -O option because without using it, I would get an error message.


Thanks to everyone who replied,
Brad



On Fri, Aug 9, 2013 at 5:00 AM, Daniel Thiele <address@hidden> wrote:
Hi Brad,

What the script is doing is to attach a record at the end of flash containing address information. It is 16 Bytes long. The offset to use is FLASHEND - 16 Bytes, in case of ATmega128RFA1: 0x1FFFF-0x10 = 0x1FFEF

Using -O 0x1FFEF should work, or better: let the script calc as Jörg suggested.

Best
Daniel

-----Ursprüngliche Nachricht----- From: Joerg Wunsch
Sent: Friday, August 09, 2013 8:44 AM
To: address@hidden
Cc: Brad Brooks
Subject: Re: [uracoli-devel] Wireless Bootloader Hex Error


As Brad Brooks wrote:

I create the wibohost hex file using the following:
D:\uracoli\uracoli-devel\install>python wibo/nodeaddr.py -B brooks128rfa1
-M atmega128rfa1 -c 17 -a 1 -A 0x001c2c00004c6000 -p 0xcafe -O 0x1ffff -f
bin/wibohost_brooks128rfa1.hex -o 0001.hex

If you are going to put the data at address 0x1FFFF, and the data
are (obviously) more than one byte long, this must overflow the
flash size.

Solution: don't use -O, and let the script calculate the correct
offset by itself.
--
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]