Skip to main content
Visitor II
March 20, 2011
Question

Failed to load FLASH loader

  • March 20, 2011
  • 1 reply
  • 1236 views
Posted on March 20, 2011 at 16:20

Hi, I have problem with IAR and Downloading files to FLASH memory. Yesterday was everything allright but today when I wanted download my code to FLASH, it was impossible and still is...

This is in my debug log:

Sun Mar 20 15:57:50 2011: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\config\flashloader\ATMEL\resources\

FlashAT91SAM7Sxx.mac

Sun Mar 20 15:57:50 2011: Sign on message from :

Remote Debugging Interface for JTAG in-circuit debugging

Sun Mar 20 15:57:50 2011:  ---------------------------------------- FLASH Download V1.3

Sun Mar 20 15:57:50 2011:  ---------------------------------------- 14/November/2005

Sun Mar 20 15:57:50 2011:  ---------------------------------------- PLL Enable 

Sun Mar 20 15:57:50 2011: -------------------------------Set CPSR  ----------------------------------

Sun Mar 20 15:57:50 2011: CPSR     000000D3

Sun Mar 20 15:57:50 2011:  ---------------------------------------- PLL Enable 

Sun Mar 20 15:57:50 2011: ------------------------------- The Remap is NOT -----------------------------------------

Sun Mar 20 15:57:50 2011:  ---------------------------------------- Chip ID   0xFFFFFFFF

Sun Mar 20 15:57:50 2011:  ---------------------------------------- Extention 0xFFFFFFFF

Sun Mar 20 15:57:50 2011:  ---------------------------------------- Flash Version 0xFFFFFFFF

Sun Mar 20 15:57:50 2011: -------------------------------Set PC ----------------------------------------

Sun Mar 20 15:57:51 2011: 6656 bytes downloaded and verified (6.94 Kbytes/sec)

Sun Mar 20 15:57:51 2011: Warning: Target inconsistency detected in Memory range 0x00000000-0x000019FF

Sun Mar 20 15:58:05 2011: Fatal error: There were warnings during download of FLASH loader, see Log Window   Session aborted!

Sun Mar 20 15:58:05 2011: Failed to load flash loader: C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\config\flashloader\ATMEL\

AT91SAM7S64-EK\internalflash-sam7s64.out

Sun Mar 20 15:58:05 2011: Failed to load flash loader: C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\config\flashloader\Atmel\

AT91SAM7S64-EK\flash-at91sam7s64.flash

Pls, what can I do ?

Thanks for helps.

P.

    This topic has been closed for replies.

    1 reply

    Graduate II
    March 28, 2011
    Posted on March 28, 2011 at 20:03

    Sun Mar 20 15:57:50 2011: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\config\flashloader\ATMEL\resources\

     

    FlashAT91SAM7Sxx.mac

     

    Yeah, well using a ATMEL flash template is a sure fire way to fail on an STMicro part. Make sure you're picking the right target CPU, and have the right flash memory setup.