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