Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ruby programmer/flash.rb name=buspirate:dev=/dev/buspirate kiibohd_bootloader.bin 0
- Attaching debugger...
- PHYS: initializing bus pirate
- PHYS: setting binary mode
- PHYS: waiting for BBIO1
- PHYS: data: BBIO1
- PHYS: setting raw mode
- PHYS: waiting for RAW1
- PHYS: data: BBIO1RAW1
- PHYS: configuring lines
- PHYS: flush 8a 63 48
- PHYS: swd raw: 11111111111111111111111111111111111111111111111111111111
- PHYS: swd raw: 1001111011100111
- PHYS: swd raw: 11111111111111111111111111111111111111111111111111111111
- PHYS: swd raw: 00000000
- PHYS: flush 16 ff ff ff ff ff ff ff 11 9e e7 16 ff ff ff ff ff ff ff 10 00
- PHYS: transact 10100101
- PHYS: flush 10 a5 07 07 07
- PHYS: expecting 29 = 26 ack + 3 data bytes
- PHYS: skipping 26 acks: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: flush 06 06 06 06 07
- PHYS: expecting 5 = 0 ack + 5 data bytes
- PHYS: skipping 0 acks:
- PHYS: read: 77 14 a0 2b 00
- PHYS: read word: 2ba01477, parity 0
- SWD: write dp 0 = 0000001e
- SWD: SWD transaction dp out 0, try 1
- PHYS: transact 10000001
- PHYS: turning out
- PHYS: flush 21 10 81 07 07 07
- PHYS: expecting 6 = 3 ack + 3 data bytes
- PHYS: skipping 3 acks: 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: turning out
- SWD: write dp 8 = 00000000
- SWD: SWD transaction dp out 8, try 1
- PHYS: transact 10110001
- PHYS: flush 21 13 1e 00 00 00 30 00 10 b1 07 07 07
- PHYS: expecting 13 = 10 ack + 3 data bytes
- PHYS: skipping 10 acks: 01 01 01 01 01 01 01 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: turning out
- PHYS: flush 21 13 00 00 00 00 30 00
- REG: writing #<Peripheral::CachingProxy:0x0000000213a928> @ 0x00000004 backing Adiv5::DP::CTRLSTAT = 0000000000
- REG: reading #<Peripheral::CachingProxy:0x0000000213a928> @ 0x00000004 backing Adiv5::DP::CTRLSTAT = 0000000000
- REG: writing Adiv5::DP::CTRLSTAT.CDBGPWRUPREQ = 0x00000001
- REG: writing #<Peripheral::CachingProxy:0x0000000213a928> @ 0x00000004 backing Adiv5::DP::CTRLSTAT = 0x10000000
- REG: reading #<Peripheral::CachingProxy:0x0000000213a928> @ 0x00000004 backing Adiv5::DP::CTRLSTAT = 0x10000000
- REG: writing Adiv5::DP::CTRLSTAT.CSYSPWRUPREQ = 0x00000001
- REG: writing #<Peripheral::CachingProxy:0x0000000213a928> @ 0x00000004 backing Adiv5::DP::CTRLSTAT = 0x50000000
- DP: write dp 00000004 = 50000000
- SWD: write dp 4 = 50000000
- SWD: SWD transaction dp out 4, try 1
- PHYS: transact 10101001
- PHYS: flush 10 a9 07 07 07
- PHYS: expecting 13 = 10 ack + 3 data bytes
- PHYS: skipping 10 acks: 01 01 01 01 01 01 01 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: turning out
- SWD: read dp 4 (1 words)...
- SWD: SWD transaction dp in 4, try 1
- PHYS: transact 10001101
- PHYS: flush 21 13 00 00 00 50 30 00 10 8d 07 07 07
- PHYS: expecting 13 = 10 ack + 3 data bytes
- PHYS: skipping 10 acks: 01 01 01 01 01 01 01 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: flush 06 06 06 06 07
- PHYS: expecting 5 = 0 ack + 5 data bytes
- PHYS: skipping 0 acks:
- PHYS: read: 00 00 00 f0 00
- PHYS: read word: f0000000, parity 0
- SWD: read dp 4 < f0000000
- DP: read dp 00000004 < f0000000
- REG: reading #<Peripheral::BackingProxy:0x00000002142ce0> @ 0x00000004 backing Adiv5::DP::CTRLSTAT = 0xf0000000
- REG: reading #<Peripheral::CachingProxy:0x00000002147150> @ 0x00000004 backing Adiv5::DP::CTRLSTAT = 0xf0000000
- REG: reading Adiv5::DP::CTRLSTAT.CDBGPWRUPACK = 0x00000001
- REG: reading #<Peripheral::CachingProxy:0x00000002147150> @ 0x00000004 backing Adiv5::DP::CTRLSTAT = 0xf0000000
- REG: reading Adiv5::DP::CTRLSTAT.CSYSPWRUPACK = 0x00000001
- AP: all systems up
- DEVICE: detecting device
- DP: selecting 0:f
- REG: writing #<Peripheral::CachingProxy:0x00000002145800> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: reading #<Peripheral::CachingProxy:0x00000002145800> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: writing Adiv5::DP::SELECT.APSEL = 0000000000
- REG: writing #<Peripheral::CachingProxy:0x00000002145800> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: reading #<Peripheral::CachingProxy:0x00000002145800> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: writing Adiv5::DP::SELECT.APBANKSEL = 0x0000000f
- REG: writing #<Peripheral::CachingProxy:0x00000002145800> @ 0x00000008 backing Adiv5::DP::SELECT = 0x000000f0
- DP: write dp 00000008 = 000000f0
- SWD: write dp 8 = 000000f0
- SWD: SWD transaction dp out 8, try 1
- PHYS: transact 10110001
- PHYS: turning out
- PHYS: flush 21 10 b1 07 07 07
- PHYS: expecting 6 = 3 ack + 3 data bytes
- PHYS: skipping 3 acks: 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: turning out
- SWD: read ap c (1 words)...
- SWD: SWD transaction ap in 12, try 1
- PHYS: transact 10011111
- PHYS: flush 21 13 f0 00 00 00 30 00 10 9f 07 07 07
- PHYS: expecting 13 = 10 ack + 3 data bytes
- PHYS: skipping 10 acks: 01 01 01 01 01 01 01 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: flush 06 06 06 06 07
- PHYS: expecting 5 = 0 ack + 5 data bytes
- PHYS: skipping 0 acks:
- PHYS: read: 00 00 00 00 00
- PHYS: read word: 00000000, parity 0
- SWD: SWD transaction dp in 12, try 1
- PHYS: transact 10111101
- PHYS: turning out
- PHYS: flush 21 10 bd 07 07 07
- PHYS: expecting 6 = 3 ack + 3 data bytes
- PHYS: skipping 3 acks: 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: flush 06 06 06 06 07
- PHYS: expecting 5 = 0 ack + 5 data bytes
- PHYS: skipping 0 acks:
- PHYS: read: 11 00 77 24 00
- PHYS: read word: 24770011, parity 0
- SWD: read ap c < 24770011
- DP: read ap 0000000c < 24770011
- AP: 0 read 000000fc < 24770011
- REG: reading #<Peripheral::BackingProxy:0x00000002145d78> @ 0x000000fc backing Adiv5::AP::IDR = 0x24770011
- SWD: read ap c (1 words)...
- SWD: SWD transaction ap in 12, try 1
- PHYS: transact 10011111
- PHYS: turning out
- PHYS: flush 21 10 9f 07 07 07
- PHYS: expecting 6 = 3 ack + 3 data bytes
- PHYS: skipping 3 acks: 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: flush 06 06 06 06 07
- PHYS: expecting 5 = 0 ack + 5 data bytes
- PHYS: skipping 0 acks:
- PHYS: read: 11 00 77 24 00
- PHYS: read word: 24770011, parity 0
- SWD: SWD transaction dp in 12, try 1
- PHYS: transact 10111101
- PHYS: turning out
- PHYS: flush 21 10 bd 07 07 07
- PHYS: expecting 6 = 3 ack + 3 data bytes
- PHYS: skipping 3 acks: 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: flush 06 06 06 06 07
- PHYS: expecting 5 = 0 ack + 5 data bytes
- PHYS: skipping 0 acks:
- PHYS: read: 11 00 77 24 00
- PHYS: read word: 24770011, parity 0
- SWD: read ap c < 24770011
- DP: read ap 0000000c < 24770011
- AP: 0 read 000000fc < 24770011
- REG: reading #<Peripheral::BackingProxy:0x000000021558b8> @ 0x000000fc backing Adiv5::AP::IDR = 0x24770011
- REG: reading Adiv5::AP::IDR.mem? = 0x00000001
- AP: initializing memap 0
- DP: selecting 0:0
- REG: writing #<Peripheral::CachingProxy:0x00000001c8a0e0> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: reading #<Peripheral::CachingProxy:0x00000001c8a0e0> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: writing Adiv5::DP::SELECT.APSEL = 0000000000
- REG: writing #<Peripheral::CachingProxy:0x00000001c8a0e0> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: reading #<Peripheral::CachingProxy:0x00000001c8a0e0> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: writing Adiv5::DP::SELECT.APBANKSEL = 0000000000
- REG: writing #<Peripheral::CachingProxy:0x00000001c8a0e0> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- DP: write dp 00000008 = 00000000
- SWD: write dp 8 = 00000000
- SWD: SWD transaction dp out 8, try 1
- PHYS: transact 10110001
- PHYS: turning out
- PHYS: flush 21 10 b1 07 07 07
- PHYS: expecting 6 = 3 ack + 3 data bytes
- PHYS: skipping 3 acks: 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: turning out
- SWD: read ap 0 (1 words)...
- SWD: SWD transaction ap in 0, try 1
- PHYS: transact 10000111
- PHYS: flush 21 13 00 00 00 00 30 00 10 87 07 07 07
- PHYS: expecting 13 = 10 ack + 3 data bytes
- PHYS: skipping 10 acks: 01 01 01 01 01 01 01 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: flush 06 06 06 06 07
- PHYS: expecting 5 = 0 ack + 5 data bytes
- PHYS: skipping 0 acks:
- PHYS: read: 11 00 77 24 00
- PHYS: read word: 24770011, parity 0
- SWD: SWD transaction dp in 12, try 1
- PHYS: transact 10111101
- PHYS: turning out
- PHYS: flush 21 10 bd 07 07 07
- PHYS: expecting 6 = 3 ack + 3 data bytes
- PHYS: skipping 3 acks: 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: flush 06 06 06 06 07
- PHYS: expecting 5 = 0 ack + 5 data bytes
- PHYS: skipping 0 acks:
- PHYS: read: 00 00 00 23 01
- PHYS: read word: 23000000, parity 1
- SWD: read ap 0 < 23000000
- DP: read ap 00000000 < 23000000
- AP: 0 read 00000000 < 23000000
- REG: reading #<Peripheral::CachingProxy:0x00000001c8a7c0> @ 0000000000 backing Adiv5::MemAP::CSW = 0x23000000
- REG: writing Adiv5::MemAP::CSW.Size = 0x00000002
- REG: writing #<Peripheral::CachingProxy:0x00000001c8a7c0> @ 0000000000 backing Adiv5::MemAP::CSW = 0x23000002
- REG: reading #<Peripheral::CachingProxy:0x00000001c8a7c0> @ 0000000000 backing Adiv5::MemAP::CSW = 0x23000002
- REG: writing Adiv5::MemAP::CSW.AddrInc = 0x00000001
- REG: writing #<Peripheral::CachingProxy:0x00000001c8a7c0> @ 0000000000 backing Adiv5::MemAP::CSW = 0x23000012
- REG: reading #<Peripheral::CachingProxy:0x00000001c8a7c0> @ 0000000000 backing Adiv5::MemAP::CSW = 0x23000012
- REG: writing Adiv5::MemAP::CSW.Mode = 0000000000
- REG: writing #<Peripheral::CachingProxy:0x00000001c8a7c0> @ 0000000000 backing Adiv5::MemAP::CSW = 0x23000012
- AP: 0 write 00000000 = 23000012
- DP: write ap 00000000 = 23000012
- SWD: write ap 0 = 23000012
- SWD: SWD transaction ap out 0, try 1
- PHYS: transact 10100011
- PHYS: turning out
- PHYS: flush 21 10 a3 07 07 07
- PHYS: expecting 6 = 3 ack + 3 data bytes
- PHYS: skipping 3 acks: 01 01 01
- PHYS: read: 01 00 00
- PHYS: read ack: 1
- PHYS: turning out
- DP: selecting 0:f
- REG: writing #<Peripheral::CachingProxy:0x00000002170230> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: reading #<Peripheral::CachingProxy:0x00000002170230> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: writing Adiv5::DP::SELECT.APSEL = 0000000000
- REG: writing #<Peripheral::CachingProxy:0x00000002170230> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: reading #<Peripheral::CachingProxy:0x00000002170230> @ 0x00000008 backing Adiv5::DP::SELECT = 0000000000
- REG: writing Adiv5::DP::SELECT.APBANKSEL = 0x0000000f
- REG: writing #<Peripheral::CachingProxy:0x00000002170230> @ 0x00000008 backing Adiv5::DP::SELECT = 0x000000f0
- DP: write dp 00000008 = 000000f0
- SWD: write dp 8 = 000000f0
- SWD: SWD transaction dp out 8, try 1
- PHYS: transact 10110001
- PHYS: flush 21 13 12 00 00 23 30 80 10 b1 07 07 07
- PHYS: expecting 13 = 10 ack + 3 data bytes
- PHYS: skipping 10 acks: 01 01 01 01 01 01 01 01 01 01
- PHYS: read: 01 00 01
- PHYS: read ack: 5
- PROTOCOL ERROR (raise Adiv5Swd::ProtocolError)
Advertisement
Add Comment
Please, Sign In to add comment