How to make a Release configuration?
Hi Igor,
>> Hi tarek,
>> Core State: Halted
>> PC: 0x1FF002EC
This is abnormal !
>> All registers except R13 are zeroes.
yes R13(=Stack Pointer) value should be in RAM range (0x20xxxxxx)
>> If click on System or Core reset and read Core registers after that it stops somewhere else. But program does do, what it supposed to.
If PC is value is ~0x08xxxxxx this is quite normal
Let me resume, if after reset, you connect your stlink in hotplog mode:
then you press Core Reset if PC value is in Flash Range (0x08xxxxxx) then you press Run and PC value become outside flash (e. 0x1FF002EC). we can deduce that your program is running is standalone mode but there is fault in your program. (bus fault, hard fault, ...)
Just a final question, are you using semihosting in your application ??