This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bootloader: Flash Download Failed

HI All,

I compile the DFU example from ST using Keil MDK and try to download it into Bank 1. I always get a error: Flash Download failed -- ARM966E-S(I am using STR912FAW44). The following is what I do:

I setup the uVISION IDE the same as the thread http://www.keil.com/support/docs/3347.htm

Setup FMI in str91x.s


FMI_SETUP       EQU     1
FMI_CR_Val      EQU     0x00000018
FMI_BBSR_Val    EQU     0x00000000
FMI_BBADR_Val   EQU     0x00000000
FMI_NBBSR_Val   EQU     0x00000006
FMI_NBBADR_Val  EQU     0x00400000
FLASH_CFG_Val   EQU     0x00000000

Setup STR91xCFG.s


CFG             EQU     1
CFG_W0          EQU     0x00000000
CFG_W1          EQU     0x00010000

What am I missing in my project setting?

Thanks

Lillian

Parents
  • Hi Stuart,

    Thank you for your kind help. I try your file and still get the programming failed. I check the chip version in my MCBSTR9 board is G. Also, could you please do me a favour to take a look at my STR91x flash file and see why i get the warning message. I find it cannot attatch file here. Could you please sene me the email lillian201151@hotmail.com so I can send you my design file?

    Thanks a lot

    Lillian

Reply
  • Hi Stuart,

    Thank you for your kind help. I try your file and still get the programming failed. I check the chip version in my MCBSTR9 board is G. Also, could you please do me a favour to take a look at my STR91x flash file and see why i get the warning message. I find it cannot attatch file here. Could you please sene me the email lillian201151@hotmail.com so I can send you my design file?

    Thanks a lot

    Lillian

Children