ULINK2: Cannot Load Flash Device Description 에러
stm32f103vet6에서 spi1에 Serial flash 읽고 쓰기에서 ULINK2로 다운로드시 에러발생.
해결방법
The programming algorithm depends on the device. For example, when you are using the MCB2100 board with the Philips LPC2129 device, you need to select the algorithm as described below:
- Open the dialog Project — Options — Utilities.
- Select ULINK ARM Debugger and click Settings to open the Flash Download Setup dialog.
- In the Flash Download Setup dialog use the button Add and select the programming algorithm LPC2000 256KB Flash.
- Specify under RAM for Algorihtm Start: 0x40000000 and Size: 0x0800 since this is the valid address range for the RAM.
http://www.keil.com/support/docs/2747.htm
ULINK: CANNOT LOAD FLASH PROGRAMMING ALGORITHM
Information in this article applies to:
- ULINK USB-JTAG Adapter
- ULINK2 USB-JTAG Adapter
- Development Tools for ARM Version 2 or higher
SYMPTOM
Downloading to on-chip Flash on an LPC2000 device results in the following error messages:
Can't Load Flash Programming Algorithm!"
and
Can't Write to RAM for Flash Algorithms! Erase Failed!
The Debug and Flash Target driver is the ULINK ARM Debugger and the Programming Algorithm settings appear to be correct.
CAUSE
The ULINK ARM Debugger needs to access RAM for loading the Flash programming algorithms to the device.
RESOLUTION
The programming algorithm depends on the device. For example, when you are using the MCB2100 board with the Philips LPC2129 device, you need to select the algorithm as described below:
- Open the dialog Project — Options — Utilities.
- Select ULINK ARM Debugger and click Settings to open the Flash Download Setup dialog.
- In the Flash Download Setup dialog use the button Add and select the programming algorithm LPC2000 256KB Flash.
- Specify under RAM for Algorihtm Start: 0x40000000 and Size: 0x0800 since this is the valid address range for the RAM.
It is important that you setup the RAM for Algorithm to an available on-chip RAM space. The area shown above is correct for the Philips LPC2000 devices but it may be different for other devices.
MORE INFORMATION
- Getting Started User's Guide (on-line version, GSA.CHM), Flash Programming
- Refer to ULINK USB-JTAG Adapter in the MCB2100 User's Guide.
- Refer to RAM for Algorithm in the ULINK User's Guide.
SEE ALSO
FORUM THREADS
The following Discussion Forum threads may provide information related to this topic.
- Error related to Firmware download
- CANNOT LOAD FLASH PROGRAMMING ALGORITHM AGAIN!!! PLEASE HELP ME
- Flash Download Problem
- Problem with flashing LPC2294
- ARM TOOLS QUIRKINESS
Last