cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to load flash loader_ADC-DMA:STM3210B-Eval

abhishek2
Associate II
Posted on August 07, 2008 at 08:12

Failed to load flash loader_ADC-DMA:STM3210B-Eval

2 REPLIES 2
abhishek2
Associate II
Posted on May 17, 2011 at 12:41

Hello everyone

I have a very peculiar problem after programming (Flash) my STM3210B-Eval board. I first tried using an example program and it was programmed into the controller successfully (tried it many times with various modifications). I then tried programming the ADC-DMA functionality and for the ''first time'' the programming was successful, but after that, everytime when I try to debug any program (with/without ADC-DMA), I get this log - showing flash loader error

Thu Aug 07 13:02:11 2008: DLL version: V3.72a, compiled Jun 18 2007 18:58:11

Thu Aug 07 13:02:11 2008: Firmware: J-Link ARM V6 compiled Jun 14 2007 14:33:17

Thu Aug 07 13:02:11 2008: JTAG speed is initially set to: 32 kHz

Thu Aug 07 13:02:11 2008: Found Cortex-M3, Little endian.

Thu Aug 07 13:02:12 2008: TPIU fitted.

Thu Aug 07 13:02:12 2008: FPUnit: 6 code (BP) slots and 2 literal slots

Thu Aug 07 13:02:12 2008: Software reset was performed

Thu Aug 07 13:02:12 2008: Initial reset was performed

Thu Aug 07 13:02:12 2008: J-Link found 2 JTAG devices. ARM core Id: 3BA00477(Cortex M3), ARM core Id: 00000000(ARM9)

Thu Aug 07 13:02:12 2008: Device at TAP0 selected

Thu Aug 07 13:02:12 2008: 3518 bytes downloaded and verified (5.65 Kbytes/sec)

Thu Aug 07 13:02:12 2008: Warning:

Verify error at address 0x2000011C, target byte: 0xD4, byte in file: 0x00

Thu Aug 07 13:02:12 2008: Warning:

Verify error at address 0x2000011D, target byte: 0x08, byte in file: 0x68

Thu Aug 07 13:02:12 2008: There were warnings during download of FLASH loader, see Log Window

Thu Aug 07 13:02:15 2008: Failed to load flash loader: C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\arm\config\flashloader\ST\FlashSTM32F10x.d79

Additionally I tried to program another EVAL board with the example program (without ADC-DMA) and there are no errors. All that I have understood is there is some problem after programming the ADC functionality, but not able to resolve it. Kindly help me in this regard

Thanks

AR

jilisegiar
Associate II
Posted on May 17, 2011 at 12:41

Please try to boot from RAM then load any other example in order to erase the ADC-DMA example. After this you will be able to load again your application.

BTW you need to update the JLink driver: the current version is 3.88 which will fix your problem:

http://www.segger.com/download_jlink.html