[En-Nut-Discussion] Writing code to FLASH in Ethernut 3
scostas
scostas at det.uvigo.es
Fri Apr 21 16:51:53 CEST 2006
scostas wrote:
Hi again:
>>Here's the problem. You need to create a different build
>>for flashed applications using at91_boot. See
>>http://www.ethernut.de/en/hardware/enut3/jtag.html
>>
Well, I tried it but still didn't work. I use:
arm-elf-gcc puerta.o rfid.o ezlcd.o discoflash.o lectura.o red.o
perifericos.o urom.o -mcpu=arm7tdmi -nostartfiles
-T/home/scostas/Projects/ethernut-4.0.3/arch/arm/ldscripts/at91_boot.ld
-Wl,-Map=puerta.map,--cref,--no-warn-mismatch
-L/home/scostas/Projects/ethernut-4.0.3/nutbld/lib
/home/scostas/Projects/ethernut-4.0.3/nutbld/lib/nutinit.o -lnutpro
-lnutfs -lnutarch -lnutnet -lnutos -lnutdev -lnutcrt -o puerta_burn.elf
arm-elf-objcopy -O ihex puerta_burn.elf puerta_burn.hex
arm-elf-objcopy -O binary puerta_burn.elf puerta_burn.bin
to create the puerta_burn.bin file, and
jtagomat -v -DDEVICE=0x1F0F0F0F -DIMAGE=./puerta_burn.bin BATCH
at91-upl.jom FLASH
to burn it to the Ethernut 3, but after doing it and reseting the board,
it doesn't work :(
But I can flash again the TFTP boot loader :?
I even tried with at91_rom.ld, from the bootloader, but still doesn't
work :?
What am I doing bad?
Thanks.
More information about the En-Nut-Discussion
mailing list