Open kasohrab opened 2 years ago
Setting breakpoint @ address 0x08001DA8, Size = 2, BPHandle = 0x0002 Starting target CPU... ERROR: CPU is not halted ERROR: Cannot read register 15 (R15) while CPU is running Reading all registers ERROR: Cannot read register 0 (R0) while CPU is running ERROR: Cannot read register 1 (R1) while CPU is running ERROR: Cannot read register 2 (R2) while CPU is running ERROR: Cannot read register 3 (R3) while CPU is running ERROR: Cannot read register 4 (R4) while CPU is running ERROR: Cannot read register 5 (R5) while CPU is running ERROR: Cannot read register 6 (R6) while CPU is running ERROR: Cannot read register 7 (R7) while CPU is running ERROR: Cannot read register 8 (R8) while CPU is running ERROR: Cannot read register 9 (R9) while CPU is running ERROR: Cannot read register 10 (R10) while CPU is running ERROR: Cannot read register 11 (R11) while CPU is running ERROR: Cannot read register 12 (R12) while CPU is running ERROR: Cannot read register 13 (R13) while CPU is running ERROR: Cannot read register 14 (R14) while CPU is running ERROR: Cannot read register 15 (R15) while CPU is running ERROR: Cannot read register 16 (XPSR) while CPU is running ERROR: Cannot read register 17 (MSP) while CPU is running ERROR: Cannot read register 18 (PSP) while CPU is running ERROR: Cannot read register 24 (PRIMASK) while CPU is running ERROR: Cannot read register 25 (BASEPRI) while CPU is running ERROR: Cannot read register 26 (FAULTMASK) while CPU is running ERROR: Cannot read register 27 (CONTROL) while CPU is running ERROR: Cannot read register 32 (FPSCR) while CPU is running ERROR: Cannot read register 33 (FPS0) while CPU is running ERROR: Cannot read register 34 (FPS1) while CPU is running ERROR: Cannot read register 35 (FPS2) while CPU is running ERROR: Cannot read register 36 (FPS3) while CPU is running ERROR: Cannot read register 37 (FPS4) while CPU is running ERROR: Cannot read register 38 (FPS5) while CPU is running ERROR: Cannot read register 39 (FPS6) while CPU is running ERROR: Cannot read register 40 (FPS7) while CPU is running ERROR: Cannot read register 41 (FPS8) while CPU is running ERROR: Cannot read register 42 (FPS9) while CPU is running ERROR: Cannot read register 43 (FPS10) while CPU is running ERROR: Cannot read register 44 (FPS11) while CPU is running ERROR: Cannot read register 45 (FPS12) while CPU is running ERROR: Cannot read register 46 (FPS13) while CPU is running ERROR: Cannot read register 47 (FPS14) while CPU is running ERROR: Cannot read register 48 (FPS15) while CPU is running ERROR: Cannot read register 49 (FPS16) while CPU is running ERROR: Cannot read register 50 (FPS17) while CPU is running ERROR: Cannot read register 51 (FPS18) while CPU is running ERROR: Cannot read register 52 (FPS19) while CPU is running ERROR: Cannot read register 53 (FPS20) while CPU is running ERROR: Cannot read register 54 (FPS21) while CPU is running ERROR: Cannot read register 55 (FPS22) while CPU is running ERROR: Cannot read register 56 (FPS23) while CPU is running ERROR: Cannot read register 57 (FPS24) while CPU is running ERROR: Cannot read register 58 (FPS25) while CPU is running ERROR: Cannot read register 59 (FPS26) while CPU is running ERROR: Cannot read register 60 (FPS27) while CPU is running ERROR: Cannot read register 61 (FPS28) while CPU is running ERROR: Cannot read register 62 (FPS29) while CPU is running ERROR: Cannot read register 63 (FPS30) while CPU is running ERROR: Cannot read register 64 (FPS31) while CPU is running ERROR: Cannot read register 33 (FPS0) while CPU is running ERROR: Cannot read register 34 (FPS1) while CPU is running ERROR: Cannot read register 35 (FPS2) while CPU is running ERROR: Cannot read register 36 (FPS3) while CPU is running ERROR: Cannot read register 37 (FPS4) while CPU is running ERROR: Cannot read register 38 (FPS5) while CPU is running ERROR: Cannot read register 39 (FPS6) while CPU is running ERROR: Cannot read register 40 (FPS7) while CPU is running ERROR: Cannot read register 41 (FPS8) while CPU is running ERROR: Cannot read register 42 (FPS9) while CPU is running ERROR: Cannot read register 43 (FPS10) while CPU is running ERROR: Cannot read register 44 (FPS11) while CPU is running ERROR: Cannot read register 45 (FPS12) while CPU is running ERROR: Cannot read register 46 (FPS13) while CPU is running ERROR: Cannot read register 47 (FPS14) while CPU is running ERROR: Cannot read register 48 (FPS15) while CPU is running ERROR: Cannot read register 49 (FPS16) while CPU is running ERROR: Cannot read register 50 (FPS17) while CPU is running ERROR: Cannot read register 51 (FPS18) while CPU is running ERROR: Cannot read register 52 (FPS19) while CPU is running ERROR: Cannot read register 53 (FPS20) while CPU is running ERROR: Cannot read register 54 (FPS21) while CPU is running ERROR: Cannot read register 55 (FPS22) while CPU is running ERROR: Cannot read register 56 (FPS23) while CPU is running ERROR: Cannot read register 57 (FPS24) while CPU is running ERROR: Cannot read register 58 (FPS25) while CPU is running ERROR: Cannot read register 59 (FPS26) while CPU is running ERROR: Cannot read register 60 (FPS27) while CPU is running ERROR: Cannot read register 61 (FPS28) while CPU is running ERROR: Cannot read register 62 (FPS29) while CPU is running ERROR: Cannot read register 63 (FPS30) while CPU is running ERROR: Cannot read register 64 (FPS31) while CPU is running Removing breakpoint @ address 0x08001DA8, Size = 2 WARNING: Failed to read memory @ address 0xDEADBEEE WARNING: Failed to read memory @ address 0xDEADBEEA WARNING: Failed to read memory @ address 0xDEADBEEE WARNING: Failed to read memory @ address 0xDEADBEEA WARNING: Failed to read memory @ address 0xDEADBEEE WARNING: Failed to read memory @ address 0xDEADBEEC WARNING: Failed to read memory @ address 0xDEADBEEA WARNING: Failed to read memory @ address 0xDEADBEEE WARNING: Failed to read memory @ address 0xDEADBEEC WARNING: Failed to read memory @ address 0xDEADBEEA WARNING: Failed to read memory @ address 0xDEADBEEE WARNING: Failed to read memory @ address 0xDEADBEEA WARNING: Failed to read memory @ address 0xDEADBEEE WARNING: Failed to read memory @ address 0xDEADBEEA WARNING: Failed to read memory @ address 0xDEADBEEE WARNING: Failed to read memory @ address 0xDEADBEEE WARNING: Failed to read memory @ address 0xDEADBEEE
The docs mention how to run gdb server using jlink, but it doesn't fully work currently. Sometimes it kind of works, but other times once gdb leaves the boot loader and enters main.cpp it starts bugging out.
There may be an extra step or two missing from the docs or we may need to find a new method to connect to mTrain with gdb.Apparently this is a known issue since we started using FreeRTOS. That may help narrow down the problem.