AnsweredAssumed Answered


Question asked by paveglio.giovani.002 on Apr 4, 2017
Latest reply on Apr 4, 2017 by paveglio.giovani.002

I am facing a very strange problem, we first assemble 3 prototype boards of a project that uses the STM32F407IGT6 everything worked perfectly, we have developed 3 firmware for this project:

1 - Bootloader: Checks if necessary to update the application firmware jumps to firmware 2 or else jumps to firmware application
2 - Update Application: updates the application firmware
3 - Application

After all the tests and the approved project we realized the purchase of a small batch of our supplier (50 units).

To our surprise when we were to write the firmware many does not boot the firmware of the application or better loads the bootloader makes the jump to the application, but there is an error (stackoverflow) when it will execute the following in the last line:
LDR R0, = SystemInit
LDR R0, = __ main
I could not find what is causing this error, we decided to replace the STM32F407 with one that we bought from Digikey, to our surprise it worked and we did it in 10 more equipments all worked.

Someone could help us, because I can not understand what is happening and now that it should be a line product we can not have to be replacing the microcontroller of all equipment.

I wonder if you have a solution for this or if someone has already had this kind of problem?

Thank you,