On 2010-09-12 15:04, Mahjoub Kamel wrote:
There are a syntax error in "flash bank" command, but i didn t know,
after many essays where is it exactly and how could i correct it?
Could you please help me on this question?
Instead of writing your own config, use existing ones and modify them
(if required).
in your cfg file write something like this:
---
source [find interface/parport.cfg]
source [find target/lpc2294.cfg]
init
# your runtime commands for flashing start here
# ...
---
The cfg file for lpc2294 will require some minor modifications, first of
all fix the chip ID (0xFFFFFFFF -> 0x4F1F0F0F) and the crystal frequency
+ flash size at the bottom ("flash bank $_FLASHNAME lpc2000 0x0 0x40000
0 0 $_TARGETNAME lpc2000_v1 14765 calc_checksum" = 14785kHz crystal,
0x40000 = flash size in bytes - set that to suit your configuration).
4\/3!!
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development