Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- d:\Code\git_repo\github\pyOCD\test>python gdb_test.py
- INFO:root:new board id detected: 020002001312A2A569B26DD7
- 0 => MBED MBED CMSIS-DAP (0xd28, 0x204) [kl25z]
- DEBUG:root:init board <pyOCD.board.mbed_board.MbedBoard instance at 0x02128E68>
- INFO:root:DAP SWD MODE initialised
- INFO:root:IDCODE: 0xBC11477
- INFO:root:KL25Z not in secure state
- INFO:root:2 hardware breakpoints
- DEBUG:root:fpb has been disabled
- INFO:root:GDB server started
- INFO:root:One client connected!
- DEBUG:root:GDB received query: ['Supported', 'qRelocInsn+#9a']
- DEBUG:root:gdb client has ack!
- DEBUG:root:gdb client has ack!
- DEBUG:root:GDB received query: ['Xfer', 'features', 'read', 'target.xml', '0,7fb
- #4a']
- DEBUG:root:GDB query read_feature: offset: 0, size: 2043
- DEBUG:root:gdb client has ack!
- DEBUG:root:GDB lastSignal: 17
- DEBUG:root:gdb client has ack!
- DEBUG:root:gdb client has ack!
- DEBUG:root:GDB received query: ['C#b4']
- DEBUG:root:gdb client has ack!
- DEBUG:root:GDB received query: ['Attached#8f']
- DEBUG:root:gdb client has ack!
- DEBUG:root:GDB received query: ['Offsets#4b']
- DEBUG:root:gdb client has ack!
- DEBUG:root:GDB reg: 0 = 0x1
- DEBUG:root:GDB reg: 1 = 0x8A
- DEBUG:root:GDB reg: 2 = 0x40037000
- DEBUG:root:GDB reg: 3 = 0x1FFFF1D4
- DEBUG:root:GDB reg: 4 = 0x23AB22D
- DEBUG:root:GDB reg: 5 = 0x30D40
- DEBUG:root:GDB reg: 6 = 0xBF7FFFF2
- DEBUG:root:GDB reg: 7 = 0x0
- DEBUG:root:GDB reg: 8 = 0xBFFF7FBF
- DEBUG:root:GDB reg: 9 = 0xEF7FDD75
- DEBUG:root:GDB reg: 10 = 0x1FFF3000
- DEBUG:root:GDB reg: 11 = 0x0
- DEBUG:root:GDB reg: 12 = 0x0
- DEBUG:root:GDB reg: 13 = 0x20002FD8
- DEBUG:root:GDB reg: 14 = 0x6B3
- DEBUG:root:GDB reg: 15 = 0x8D8
- DEBUG:root:GDB reg: 16 = 0x21000000
- DEBUG:root:gdb client has ack!
- DEBUG:root:GDB received query: ['Xfer', 'memory-map', 'read', '', '0,7fb#e9']
- DEBUG:root:GDB query momery_map: offset: 0, size: 2043
- DEBUG:root:gdb client has ack!
- DEBUG:root:read blocks aligned at 0x8D8, size: 0x4
- DEBUG:root:gdb client has ack!
- DEBUG:root:read blocks aligned at 0x20002FC0, size: 0x40
- DEBUG:root:gdb client has ack!
- DEBUG:root:GDB received query: ['TStatus#49']
- DEBUG:root:gdb client has ack!
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x0
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x400
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x410
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0xbd0
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x1390
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x1b60
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x2320
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x2af0
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x32c0
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x3a90
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x4260
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x4a30
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x51f0
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x59c0
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x6190
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x6950
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x6c28
- DEBUG:root:gdb client has ack!
- DEBUG:root:flash write addr: 0x6c30
- DEBUG:root:gdb client has ack!
- INFO:root:flashing 27136 bytes
- DEBUG:root:write blocks aligned at 0x20002000, size: 0x400
- [ ] 0%DEBUG:root:write blocks aligned at 0x20002000, size: 0x
- 400
- [= ] 5%DEBUG:root:write blocks aligned at 0x20002000, size: 0x
- 400
- [== ] 10%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [=== ] 15%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [=== ] 15%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [==== ] 20%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [===== ] 25%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [====== ] 30%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [====== ] 30%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [======= ] 35%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [======== ] 40%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [========= ] 45%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [========= ] 45%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [========== ] 50%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [=========== ] 55%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [============ ] 60%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [============ ] 60%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [============= ] 65%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [============== ] 70%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [=============== ] 75%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [=============== ] 75%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [================ ] 80%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [================= ] 85%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [================== ] 90%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [================== ] 90%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x400
- [=================== ] 95%DEBUG:root:write blocks aligned at 0x20002000, size: 0
- x200
- [====================] 100%
- DEBUG:root:reset stop on Reset
- Exception in thread Thread-3:
- Traceback (most recent call last):
- File "C:\Python27\lib\threading.py", line 808, in __bootstrap_inner
- self.run()
- File "C:\Python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 169, i
- n run
- [resp, ack, detach] = self.handleMsg(data)
- File "C:\Python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 231, i
- n handleMsg
- return self.flashOp(msg[2:]), 1, 0
- File "C:\Python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 386, i
- n flashOp
- self.target.resetStopOnReset()
- File "C:\Python27\lib\site-packages\pyOCD\target\cortex_m.py", line 391, in re
- setStopOnReset
- self.halt()
- File "C:\Python27\lib\site-packages\pyOCD\target\cortex_m.py", line 360, in ha
- lt
- self.writeMemory(DHCSR, DBGKEY | C_DEBUGEN | C_HALT)
- File "C:\Python27\lib\site-packages\pyOCD\target\cortex_m.py", line 216, in wr
- iteMemory
- self.transport.writeMem(addr, value, transfer_size)
- File "C:\Python27\lib\site-packages\pyOCD\transport\cmsis_dap.py", line 133, i
- n writeMem
- [addr, data])
- File "C:\Python27\lib\site-packages\pyOCD\transport\cmsis_dap_core.py", line 2
- 07, in dapTransfer
- raise ValueError('SWD Fault')
- ValueError: SWD Fault
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement