2018-11-07 12:56 AM
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.
2018-11-07 04:26 AM
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?
2018-11-11 10:39 PM
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.
2018-11-11 10:53 PM
When failure, the following information is prompted.
Error:Mass erase operation failed. please verify flash protection
2018-11-11 11:53 PM
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