AnsweredAssumed Answered

Wrong entry point

Question asked by mr on Sep 27, 2016
Latest reply on Sep 29, 2016 by Clive One
Hello,
I am using TrueStudio for STM32. My problem is, that when I start debugging the PC (program counter) shows an address of 0xf3af4804. As this address is somewhere in nomansland the Dissassembly shows  "Failed to execute MI command:
          -data-disassemble -s 4088350725 -e 4088350997 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0xf3af4804"
I entered the ENTRY to point to my reset-function in the linkerscript. Where does this 0xf3af4804 come from??? As soon as I want to step into the code the ST-Link crashes (as I would expect). I thought the ENTRY in the linker script is for exactly this purpose. But no matter what I put there the PC always starts at 0xf3af4804.
Anyone had this already? am thank full for any tip.
Failed to execute MI command:
         -data-disassemble -s 4088350725 -e 4088350997 -- 3
         Error message from debugger back end:
         Cannot access memory at address 0xf3af4804
Failed to execute MI command:
         -data-disassemble -s 4088350725 -e 4088350997 -- 3
         Error message from debugger back end:
         Cannot access memory at address 0xf3af4804

Outcomes