[En-Nut-Discussion] Firmware >256K flash issue
Ulrich Prinz
uprinz2 at netscape.net
Sun Feb 28 22:39:43 CET 2010
Hi Mathieu,
my code not reached this size... I wonder what you did to the radio :)
I use openocd and EIR myself and you can send me the binary for testing
if you like.
Just for curiosity, is there anything in your code that might be
interesting for the EIR community? Sometimes it looks like I am the only
one who is developing for the nice piece of hardware.
Best regards, Ulrich
Am 28.02.2010 17:38, schrieb Mathieu SOULARD:
> Hi all,
>
> The binary file of my application has reached 256Ko today, and since I'm no
> more able to get my board working. It seems I get an exception at boot time.
>
> I'm using an EIR board, based on AT91SAM7SE512 including 512K of flash. I
> was suspecting a bank issue, but openocd tells that there is only one bank.
>
> I tried to flash using samba, the flash operation works like with openocd,
> but my application does not boot also...
>
> Does someone knows how to flash a firmware>256K with openocd?
>
> Thanks
> Regards
>
> Mathieu
>
>
> For information, here is my openocd log:
>
> Open On-Chip Debugger
>> version
> Open On-Chip Debugger 0.2.0-in-development (2009-05-09-21:00) svn:1606M
>> reset
> JTAG tap: sam7se512.cpu tap/device found: 0x3f0f0f0f (Manufacturer: 0x787,
> Part: 0xf0f0, Version: 0x3)
> JTAG tap: sam7se512.cpu got: 0x3f0f0f0f (mfg: 0x787, part:
> 0xf0f0, ver: 0x3)
> JTAG tap: sam7se512.cpu expected 1 of 1: 0xffffffff (mfg: 0x7ff, part:
> 0xffff, ver: 0xf)
> trying to validate configured JTAG chain anyway...
>> halt
> target state: halted
> target halted in ARM state due to debug-request, current mode: System
> cpsr: 0x6000001f pc: 0x000270cc
>> flash probe 0
> flash 'at91sam7' found at 0x00100000
>> flash info 0
> #0: at91sam7 at 0x00100000, size 0x00080000, buswidth 4, chipwidth 0
> # 0: 0x00000000 (0x40000 256kB) protection state unknown
> # 1: 0x00040000 (0x40000 256kB) protection state unknown
>
> at91sam7_old information: Chip is AT91SAM7SE512
> cidr: 0x272a0a40, arch: 0x0072, eproc: ARM7TDMI, version:0x000, flashsize:
> 0x00080000
> master clock(estimated): 53055kHz
> flashplanes: 2, pagesize: 256, lock regions: 32, pages in lock region: 64
> lockbits[0]: 0x0000, lockbits[1]: 0x0000, securitybit: 0, nvmbits(3): 0x4
>
>> flash write_bank 0
> D:\\Travail\\Projets\\mp3rd\\software\\ethernut-4.8.6\\workspace\\eirsw1\\eirsw1.bin
> 0
> wrote 263528 byte from file
> D:\Travail\Projets\mp3rd\software\ethernut-4.8.6\workspace\eirsw1\eirsw1.bin
> to flash bank 0 at offset 0x00000000 in 32.151657s (8.004302 kb/s)
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list