Hello,
I have a project that is using a LPC2294 microcontroller as well as four AT29LV040A external memory chips. I have been using Rowley CrossStudio with a J-Link adapter to program the chips, but I'd like to use the J-Link ARm Flash programmer in the future. I've been trying to get this to work, but I haven't had much luck.
I set the project to the LPC2294_PhyCORE project that uses external flash, and then changed the external flash to the AT29LV040A chips. When I try to connect, though, I get the following error:
One thing I noticed is that the Project settings for the AT29LV040A list the size at 512KB and the sectors as 512, but in the datasheet for the device, it is listed as being a 4MB chip with 2048 sectors of 256 bytes.
Can anyone offer any suggestions?
Also, somewhat unrelated, but is it possible to use the J-Link ARM Flash program to load both internal and external flash with the same project?
Thanks,
Andy
I have a project that is using a LPC2294 microcontroller as well as four AT29LV040A external memory chips. I have been using Rowley CrossStudio with a J-Link adapter to program the chips, but I'd like to use the J-Link ARm Flash programmer in the future. I've been trying to get this to work, but I haven't had much luck.
I set the project to the LPC2294_PhyCORE project that uses external flash, and then changed the external flash to the AT29LV040A chips. When I try to connect, though, I get the following error:
Source Code
- - Connecting via USB to J-Link device 0
- - J-Link firmware: V1.20 (J-Link ARM V6 compiled Aug 28 2007 19:22:02)
- - Using adaptive clocking instead of fixed JTAG speed
- - Initializing CPU core (Init sequence) ...
- - Initialized successfully
- - Using adaptive clocking instead of fixed JTAG speed
- - J-Link found 1 JTAG device. Core ID: 0x4F1F0F0F (ARM7)
- - ERROR: Identify: Unsupported flash type / bus width (140800). Please contact info@segger.com
- - ERROR: Unable to identify Flash
- - ERROR: Failed to connect
One thing I noticed is that the Project settings for the AT29LV040A list the size at 512KB and the sectors as 512, but in the datasheet for the device, it is listed as being a 4MB chip with 2048 sectors of 256 bytes.
Can anyone offer any suggestions?
Also, somewhat unrelated, but is it possible to use the J-Link ARM Flash program to load both internal and external flash with the same project?
Thanks,
Andy