AnsweredAssumed Answered

Problem about STM32F301  IAP.

Question asked by kang hu on Apr 4, 2018
Latest reply on Apr 7, 2018 by Clive One

Hi,I encountered a strange problem in my iap bootloader project.

There are two project for my application, the first is for ota. the second is for the universal task.

when the board is powered. The first project is active. I read the flash to decide whether to jump to the second project.

In the Keil v5. I set the ROM addr as 0X08000000  size 0x5800 for the first project, and set the ROM addr 0X08005800 size 0XA800.

I found the static volatile int variable in first project configed as 0 was changed to 256 by the second project sometimes.

Strangely, The problem became in 4 boards of 100 randomly.

 

I tryed to set different ram area for the two projects. But, it‘s not ok.

 

Would you help me to analyze the strange problem?

 

Best Wishes,

Kang Hu

Outcomes