[En-Nut-Discussion] Cannot load Ethernut into Olimex sam7-ex256

Ivan Hamer ivanhamer at yahoo.com
Sun Feb 22 16:46:17 CET 2009


I am using:
 ethernut-4.6.4
 default olimex-sam7-ex256.conf
 yagarto toolchain
 ARM-USB-OCD programmer
 command to program:
 > load_image d:\ethernut-4.6.4\nutapp-sam7x-gcc\events\events.elf
   10832 byte written at address 0x00000000
   236 byte written at address 0x00002a50
   downloaded 11068 byte in 0.484375s

 My events.map file has: 

Name             Origin             Length             Attributes
rom              0x00000000         0x0003c000         xr
ram              0x00200000         0x00010000         rw
*default*        0x00000000         0xffffffff

  Is this correct for the rom setting (I thought this area started at 0x00100000)?

The flash info returned is:
#0: at91sam7 at 0x00100000, size 0x00040000, buswidth 4, chipwidth 0
        #0: 0x00000000 (0x40000 256kB) protection state unknown

at91sam7 information: Chip is AT91SAM7X256
cidr: 0x275b0940, arch: 0x0075, eproc: ARM7TDMI, version:0x000,  flashsize: 0x00040000
master clock(estimated): 53232kHz
pagesize: 256, lockbits: 16 0x0000, pages in lock region: 64
securitybit: 0,  nvmbits(3): 0x0

  I have tried SAM-PROG v2.4, but the flash button is always grayed out (even though SAM-BA v2.8 manages to connect).

  Does the communication go through DRXD/DTXD pair or RXD0/TXD0 pair? I tried both with events, and both are mute. (RXD0/TXD0 works with Lynche's UART example, and DRXD/DTXD works with SAM-BA).

  I am running out of ideas here and don't know what to try next... Any help is greatly appreciated.



      



More information about the En-Nut-Discussion mailing list