After switching to Eclipse Mars i noticed that the restart button in the Debug perspective stopped working. I can see in the log-window that "something" is happening (see log below). But the processor doesn't start over. It seems, that the processor just starts running where it was stopped.
The failing system is:
Eclipse: Version: Mars.1 Release (4.5.1) Build id: 20150924-1200
CDT: 8.8.0.201509131935
Gnu Arm Eclipse: 3.2.1.201511061603
Win 7 Pro 64 bit, but same behaviour in Linux Mint 17.1 64 bit under Virtual Box
ToolChain: GNU Tools ARM Embedded\4.9 2015q1 and also GNU Tools ARM Embedded\4.9 2015q2
The working system is:
Eclipse: Version: Luna Service Release 2 (4.4.2) Build id: 20150219-0600
CDT: 8.6.0.201502131403
Gnu Arm Eclipse: 3.2.1.201504061754
Win 7 Pro 64 bit
ToolChain: GNU Tools ARM Embedded\4.9 2015q1 and also GNU Tools ARM Embedded\4.9 2015q2
I tried it with Segger-Jlink Software V4.98e and V5.02g. Both behave the same under Luna and Mars, So this doesn't seem to be the culprit.
This is the log of the failing setup (Mars) after the processor was already halted:
Read 2 bytes @ address 0x08006A2A (Data = 0xF7FF)
Read 2 bytes @ address 0x08006A2A (Data = 0xF7FF)
Read 2 bytes @ address 0x08006A2A (Data = 0xF7FF)
R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 20000BA0
R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000
R12= 00000000, R13= 20000B98, MSP= 20003FA8, PSP= 20000B98
R14(LR) = 080030B5, R15(PC) = 08006CEA
XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000
CFBP 02000000, CONTROL 2000000, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0x08006CEA (Data = 0x46BDAF00)
Setting breakpoint @ address 0x08006A2A, Size = 2, BPHandle = 0x0006
Starting target CPU...
And this is the log of the working setup (Luna) after the processor was already halted:
Resetting target
Halting target CPU...
...Target halted (PC = 0x080001DC)
Read 2 bytes @ address 0x0800189A (Data = 0xF7FF)
Read 2 bytes @ address 0x0800189A (Data = 0xF7FF)
Read 2 bytes @ address 0x08001898 (Data = 0xB508)
R0 = FFFFFFFF, R1 = FFFFFFFF, R2 = FFFFFFFF, R3 = FFFFFFFF
R4 = FFFFFFFF, R5 = FFFFFFFF, R6 = FFFFFFFF, R7 = FFFFFFFF
R8 = FFFFFFFF, R9 = FFFFFFFF, R10= FFFFFFFF, R11= FFFFFFFF
R12= FFFFFFFF, R13= 20002000, MSP= 20002000, PSP= FFFFFFFC
R14(LR) = FFFFFFFF, R15(PC) = 080001DC
XPSR C1000000, APSR C0000000, EPSR 01000000, IPSR 00000000
CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0x080001DC (Data = 0xF7FFB508)
Setting breakpoint @ address 0x08001898, Size = 2, BPHandle = 0x0002
Starting target CPU...
...Breakpoint reached @ address 0x08001898
Reading all registers
Read 4 bytes @ address 0x08001898 (Data = 0xF7FFB508)
Removing breakpoint @ address 0x08001898, Size = 2
I don't have any clue how to search further. Any hint?
Regards,
Martin