1, the project set up flash download did not check the reset and run, why the program will automatically run? There are no connection reset pin on the hardware,
2, online debugging reset happens, the program is no longer hardfault, therefore cannot be locator error by way of a breakpoint,
3, download the code is run flash burning algorithm, have been debug burning algorithm FLM file no problem, each interface function was tested and does not trigger hardfault
I via a serial port to abort the register values when printed, which is 0 ~ 0 x40000 flash address, sram address is 0 x20000000 ~ 0 x20020000,
R0 0 x00000000
R1 0 x00000003
R2 0 x50010000
R3 0 x04c11db7
R12 0 x61513ec0
Lr 0 x20000001
PC 0 x20000000
PSR 0 x41000000
Keil download code is put burning Algorithm program running in an sram, and modify the size of the RAM for Algorithm distribution, no effect
You have encountered such a problem? How to solve? Digital design cannot build platform validation positioning problem, confusing way, this problem is really bizarre
CodePudding user response:
Online orientation method is a method for on-line debugging, but my program debugging and running won't enter the online hardware error interrupted, strange point is why download code to automatically run the programCodePudding user response:
Use keil4CodePudding user response:
Is a set in configuration problem?CodePudding user response:
Will flash download check the reset and run, see also won't appear hardware error?