Skip to main content
chong1
Associate
November 7, 2018
Question

STM32CubeProgrammer downloading the defects of SPI flash

  • November 7, 2018
  • 3 replies
  • 1004 views

I use STM32CubeProgrammer software to download SPI FLASH.If there is a program in FLASH of stm32 mcu, the download will fail. If I erase the internal program of stm32 mcu, the download will succeed.

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    November 7, 2018

    Is this for a loader you wrote yourself?

    I'd guess you have some IRQ or SysTick dependency.

    What board, chip and STM32 involved here?​

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    chong1
    chong1Author
    Associate
    November 12, 2018

    I wrote it loader myself.

    mcu is STM32F429IIT6.There is only one GPIO function inside mcu, without any interruption.It is generated by STM32CUBEMX.

    If there is a program in FLASH of stm32 mcu, the download will fail. If I erase the internal program of stm32 mcu, the download will succeed.

    I don't know why.I suspect that stm32cubeprogrammer is defective.

    When failure, the following information is prompted.

    Error:Mass erase operation failed. please verify flash protection​

    chong1
    chong1Author
    Associate
    November 12, 2018

    I wrote it loader myself.

    mcu is STM32F429IIT6.There is only one GPIO function inside mcu, without any interruption.It is generated by STM32CUBEMX.

    If there is a program in FLASH of stm32 mcu, the download will fail. If I erase the internal program of stm32 mcu, the download will succeed.

    I don't know why.I suspect that stm32cubeprogrammer is defective.

    chong1
    chong1Author
    Associate
    November 12, 2018

    When failure, the following information is prompted.

    Error:Mass erase operation failed. please verify flash protection​