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

MDK(Keil) SPI Flash Programming Algorithm

STM32F207 + S25FL128P(SPI Flash)
I found a similar demo in folder C:\Keil_v5\ARM\Flash\STM32F10x_M25P64
with this kind of Flash Programming Algorithm, can i flash other files like photo/fpga data( not the code data) into the SPI flash ? how ? thanks

Parents
  • Ok, i'm sorry to bother u again...
    Actually, i failed the first step, i can't flash the common program data into the SPI-Flash with the newly created algorithm.
    I wonder if i miss the Pre-download scripts, i didn't add one, it always prompt:
    Erase Failed!
    Error: Flash Download failed - "Cortex-M3"

    As to STM32F207, when i use the SPI-Flash Programming Algorithm, how to write the Init File? what commands should be done before the program is flashed? Can u provide something? Thanks so much!

Reply
  • Ok, i'm sorry to bother u again...
    Actually, i failed the first step, i can't flash the common program data into the SPI-Flash with the newly created algorithm.
    I wonder if i miss the Pre-download scripts, i didn't add one, it always prompt:
    Erase Failed!
    Error: Flash Download failed - "Cortex-M3"

    As to STM32F207, when i use the SPI-Flash Programming Algorithm, how to write the Init File? what commands should be done before the program is flashed? Can u provide something? Thanks so much!

Children
No data