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