SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By x86processor
#18465
Hi,

I am using the LN2410SBC board from littlechips.com. I am using OpenOCD version 86 with the JTAG cable (similar to triton type) provided by littlechips.

I am able to read/write to SDRAM from the openocd prompt. So, JTAG works.

I am now trying to do read/writes to flash, and I get these messages in openocd log:
Error: cfi.c:1203 cfi_info(): cfi primary command set 2 unsupported
Error: cfi.c:422 cfi_erase(): cfi primary command set 2 unsupported
Error: cfi.c:982 cfi_probe(): cfi primary command set 2 unsupported
Error: cfi.c:1147 cfi_protect_check(): cfi primary command set 2 unsupported
The flash is 2 MB Spansion from AMD/Fujitsu (Am29LV160D):

http://www.littlechips.com/downloads/cu ... 2358b5.pdf

Appreciate any help,

Thanks,

SK
By Dominic
#18486
CFI compatible flashes using the AMD/Spansion/... commandset are currently not supported. There are some patches floating around, but none of them claims to support all, or at least a substantial part of the command set 0x2 flashes. I don't have an AMD compatible flash myself to test with, so I don't know what's working and what is not. There's a thread in this forum about how people got the OpenOCD to work with their AMD flash, and I'd appreciate any feedback on this topic.

Regards,

Dominic