Compiling and programming are successful, but program does not run at all

Hello all,

I am a electronic developer. Now i have a problem. I am using uvision 5 and ST link for SW development, debugging and programming.

the program can be successfully compiled, and to Flash in target programming. But the program does not run at all, either after programming or power off and on.

But the program can be run in debugging session without any problems, all desired functionalities are realized. I have no idea what the problem is.

Could you please help me?

thank you very much in advance

Ying

Parents
  • by the way I am using STM32F765, and STlink, The problem is still there. the program is running well with debugger in debug session, but it does not run at all after power off and on. Ich have checked the heap size, even with big size, it does not help. and i have checked the boot0, and it is connected to ground. the address of target is set: IROM1 start: 0x8000000 size: 0x100000, IRAM1: 0x20020000, 0x60000. which correspond to the setting in Linker and Ultilities in the option for target. I seems the program does not even reach main(), could some one please kindly help?

Reply
  • by the way I am using STM32F765, and STlink, The problem is still there. the program is running well with debugger in debug session, but it does not run at all after power off and on. Ich have checked the heap size, even with big size, it does not help. and i have checked the boot0, and it is connected to ground. the address of target is set: IROM1 start: 0x8000000 size: 0x100000, IRAM1: 0x20020000, 0x60000. which correspond to the setting in Linker and Ultilities in the option for target. I seems the program does not even reach main(), could some one please kindly help?

Children
More questions in this forum