Question
STM32 chip keeps rebooting
Posted on December 11, 2015 at 02:00
Hi all,
it is really very weird. I am using stm32f411rct6,which has 256k program space and 128k ram. Very often the program is weird, keeps rebooting or dead at all. For example in a subroutine, when I delete 2 or 3 lines of code, it is working well. If I keep them, the chip keeps rebooting. I swear the lines I deleted have no any problem in logic. Adding code somewhere else may also have the similar problem. Sometime after I add the code, the chip is totally dead. No any response. Please give me some clue to debug: 1. limit of ram, overflow? Program Size: Code=28884 RO-data=456 RW-data=748 ZI-data=29364 I don't really use too much space. 2. when chip keeps rebooting, I measured the voltage. It is fluctuating. But I swear the code I added, which causes the problem, have nothing to do with the power. Please help.