카테고리 없음

ULINK2: Cannot Load Flash Device Description 에러

풀등 2015. 1. 9. 10:11

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:

  1. Open the dialog Project — Options — Utilities.
  2. Select ULINK ARM Debugger and click Settings to open the Flash Download Setup dialog.
  3. In the Flash Download Setup dialog use the button Add and select the programming algorithm LPC2000 256KB Flash.
  4. Specify under RAM for Algorihtm Start: 0x40000000 and Size: 0x0800 since this is the valid address range for the RAM.

uVision5에서는
 Use Target Driver for Flash Programming선택후
    Use Debug Driver 와 Update Target before Debugging에 체크한후
 Settings버튼을 클릭하여  하단의 Add를 클릭하여 
stm32f103vet6에 해당하는 ...STM32F10x High-density Flah를 선택하여 Add한다.








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:

  1. Open the dialog Project — Options — Utilities.
  2. Select ULINK ARM Debugger and click Settings to open the Flash Download Setup dialog.
  3. In the Flash Download Setup dialog use the button Add and select the programming algorithm LPC2000 256KB Flash.
  4. 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

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last