SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By Skinoren
#189779
Hello. Sorry for my English. I am trying to program external flash on Hitex LPC4350 board. As I understand I need to enable the CFI mode on flash memory. Please help me to configure the *cfg file.

set CHIPNAME LPC4350
source [find interface/jlink.cfg]
source [find target/lpc4350.cfg]
# I forgot this line in another cfg file.
flash bank $_CHIPNAME.nor cfi 0x1C000000 0x00400000 2 2 $_CHIPNAME.m4


I know that I need to enable external memory bus, by using mww commands. Please help me to type this code. And I'd read in datasheet that I need to write ID 0x98 in 0x555 addres to enable CFI. Please explain to me how to do it.