[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [uracoli-devel] Wireless Bootloader Hex Error
From: |
Daniel Thiele |
Subject: |
Re: [uracoli-devel] Wireless Bootloader Hex Error |
Date: |
Fri, 9 Aug 2013 12:00:34 +0200 |
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. ;-)