a625f09292cdea63c0439c2a7af35fd4c6b181c6
1 ./lpcisp /dev/ttyUSB1 -t -s read-uid sdfsdf ldsfgk
2 ./lpcisp /dev/ttyUSB1 -t -s read-uid sdfsdf ldsfgk -h
3 ./lpcisp /dev/ttyUSB1 -t -s
4 ./lpcisp /dev/ttyUSB1 -t read-uid sdfsdf ldsfg
5         UID: 0x0b0b134f - 0x53531b87 - 0x4d3ccb42 - 0xf5000000
6 ./lpcisp /dev/ttyUSB1 -t echo
7 ./lpcisp /dev/ttyUSB1 -t erase
8 ./lpcisp /dev/ttyUSB1 -t read-part-id
9         Part ID is 0x2540102b
10 ./lpcisp /dev/ttyUSB1 -t read-uid
11         UID: 0x0b0b134f - 0x53531b87 - 0x4d3ccb42 - 0xf5000000
12 ./lpcisp /dev/ttyUSB1 -t read-boot-version
13         Boot code version is 1.7
14 ./lpcisp /dev/ttyUSB1 read-boot-version
15 ./lpcisp /dev/ttyUSB1 read-part-id
16 ./lpcisp /dev/ttyUSB1 read-uid
17 ./lpcisp /dev/ttyUSB1 -s
18 ./lpcisp /dev/ttyUSB1 unlock
19 ./lpcisp /dev/ttyUSB1 --synchronize
20 ./lpcisp /dev/ttyUSB1 -t read-memory
21 ./lpcisp /dev/ttyUSB1 -t read-memory 0x15 1548
22 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 4
23 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 40
24 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 900
25 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 150
26 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 160
27 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 4 -
28 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 800 -
29 ./lpcisp /dev/ttyUSB1 read-memory 0x1000 800 -
30 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 800 dump01
31 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 805 ../dump01
32 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 804 ../dump01
33 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 808 ../dump01
34 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 1204 ../dump01
35 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 900 ../dump01
36 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 1840 ../dump01
37 ./lpcisp /dev/ttyUSB1 -t read-memory 0x1000 4 ../dump01
38 ./lpcisp /dev/ttyUSB1 read-memory 0x0000 1800 ../dump01
39 ./lpcisp /dev/ttyUSB1 read-memory 0x0000 600 ../dump01
40 ./lpcisp /dev/ttyUSB1 read-memory 0x0000 600 -
41 ./lpcisp /dev/ttyUSB1 -t unlock
42 ./lpcisp /dev/ttyUSB1 -t blank-check
43 ./lpcisp /dev/ttyUSB1 -t blank-check 1 3
44 ./lpcisp /dev/ttyUSB1 -t blank-check 0 3
45 ./lpcisp /dev/ttyUSB1 -t blank-check 4 3
46 ./lpcisp /dev/ttyUSB1 -t blank-check 4 4
47 ./lpcisp /dev/ttyUSB1 -t blank-check 3 4
48 ./lpcisp /dev/ttyUSB1 -t blank-check 4 6
49 ./lpcisp /dev/ttyUSB1 read-memory 0x4000 12 -
50 ./lpcisp /dev/ttyUSB1 -t blank-check 4 8
51 ./lpcisp /dev/ttyUSB1 -t blank-check 4 7
52 ./lpcisp /dev/ttyUSB1 blank-check 4 7
53 ./lpcisp /dev/ttyUSB1 blank-check 1 1
54 ./lpcisp /dev/ttyUSB1 read-memory 0x0000 0x4000 - > ../dump_full
55 ./lpcisp /dev/ttyUSB1 -s
56 ./lpcisp /dev/ttyUSB1 read-part-id
57 ./lpcisp /dev/ttyUSB1 read-boot-version
58 ./lpcisp /dev/ttyUSB1 compare 0x4000 0x5000 60
59 ./lpcisp /dev/ttyUSB1 compare 0x4000 0x5000 65
60 ./lpcisp /dev/ttyUSB1 compare 0x4000 0x5000 66
61 ./lpcisp /dev/ttyUSB1 compare 0x4000 0x5000 68
62 ./lpcisp /dev/ttyUSB1 compare 0x4000 0x5000 1000
63 ./lpcisp /dev/ttyUSB1 compare 0x1000 0x5000 1000
64 ./lpcisp /dev/ttyUSB1 compare 0x1000 0x5000 4
65 ./lpcisp /dev/ttyUSB1 compare 0x1BB0 0x1C80 4
66 ./lpcisp /dev/ttyUSB1 compare 0x1BB0 0x1BC8 4
67 ./lpcisp /dev/ttyUSB1 compare 0x1BB0 0x1C08 4
68 ./lpcisp /dev/ttyUSB1 go 512 toto
69 ./lpcisp /dev/ttyUSB1 go 512 arm
70 ./lpcisp /dev/ttyUSB1 go 512 thumb
71 ./lpcisp /dev/ttyUSB1 unlock
72 ./lpcisp /dev/ttyUSB1 go 512 thumb
73 ./lpcisp /dev/ttyUSB1 read-boot-version
74 ./lpcisp /dev/ttyUSB1 go 500 thumb
75 ./lpcisp /dev/ttyUSB1 go 0x5000 thumb
76 ./lpcisp /dev/ttyUSB1 -s
77 ./lpcisp /dev/ttyUSB1 read-boot-version
78 ./lpcisp /dev/ttyUSB1 read-boot-version
79 ./lpcisp /dev/ttyUSB1 unlock
80 ./lpcisp /dev/ttyUSB1 compare 0x1BB0 0x1C08 4
81 ./lpcisp /dev/ttyUSB1 prepare-for-write 6 6
82 ./lpcisp /dev/ttyUSB1 erase 6 6
83 ./lpcisp /dev/ttyUSB1 blank-check 6 6
84 ./lpcisp /dev/ttyUSB1 prepare-for-write 6 6
85 ./lpcisp /dev/ttyUSB1 copy-ram-to-flash 0x6000 0x10000800 0x400
86 ./lpcisp /dev/ttyUSB1 prepare-for-write 6 6
87 ./lpcisp /dev/ttyUSB1 copy-ram-to-flash 0x6400 0x10000C00 0x400
89 ./lpcisp /dev/ttyUSB1 read-memory 0x10000800 0x800 dumptest_ram
90 ./lpcisp /dev/ttyUSB1 read-memory 0x6000 0x800 dumptest_flash
91 diff dumptest_ram dumptest_flash
93 ./lpcisp /dev/ttyUSB1 -s
94 ./lpcisp /dev/ttyUSB1 unlock
95 ./lpcisp /dev/ttyUSB1 prepare-for-write 6 6
96 ./lpcisp /dev/ttyUSB1 erase 6 6
97 ./lpcisp /dev/ttyUSB1 blank-check 6 6
98 dd if=isp of=src bs=1024 count=1
99 ./lpcisp /dev/ttyUSB1 write-to-ram 0x10000800 src
100 ./lpcisp /dev/ttyUSB1 read-memory 0x10000800 0x400 reread
101 diff src reread
102 ./lpcisp /dev/ttyUSB1 prepare-for-write 6 6
103 ./lpcisp /dev/ttyUSB1 copy-ram-to-flash 0x6000 0x10000800 0x400
104 ./lpcisp /dev/ttyUSB1 read-memory 0x6000 0x400 reread_flash
105 diff reread_flash src