-
Notifications
You must be signed in to change notification settings - Fork 0
/
PES_memtest_TT_Scrip_TestOutPut.log
534 lines (428 loc) · 17.5 KB
/
PES_memtest_TT_Scrip_TestOutPut.log
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
help
mem_test commands
help - this message
allocate <word> - allocate <words> of memory
free - free previously allocated memory
read <-i> <address> [<words>] -
read from <address> for one or <words> [<-i> immediate addressing]
write <-i> <address> <value>] -
write <value> to <address> [<-i> immediate addressing]
invert <-i> <address> <words>] -
invert bits starting from <address> for <words> [<-i> immediate addressing]
pattern <-i> <address> <words> [<seed>] -
write pseudorandom pattern at <address> for <words> using <seed> [<-i> immediate addressing]
verify <-i> <address> <words> [<seed>] -
verify pseudorandom pattern at <address> for <words> using <seed> [<-i> immediate addressing]
exit - exit the program
Note: Please enter hexadecimal numbers without '0x'
PES_Prj1 >> allocate 5
Memory block allocated.
Address: 0x1ffff4c8 size: 5 (20 Bytes)
Enter another command
PES_Prj1 >> read 0 5
Address Value Index
------------ ---------- ------
0x1ffff4c8 0x00000000 0
0x1ffff4cc 0x00000000 1
0x1ffff4d0 0x00000000 2
0x1ffff4d4 0x00000000 3
0x1ffff4d8 0x00000000 4
PES_Prj1 >> free
20 Bytes of heap released from address 0x1ffff4c8 to 0x1ffff4d8
Enter another command
PES_Prj1 >> allocate 2
Memory block allocated.
Address: 0x1ffff4d0 size: 2 (8 Bytes)
Enter another command
PES_Prj1 >> allocate 6
Memory is current allocated in address 0x0x1ffff4d0
Do you wish to override this data? (Y?)
PES_Prj1 >> Y
8 Bytes of heap released from address 0x1ffff4d0 to 0x1ffff4d4
Memory block allocated.
Address: 0x1ffff4e0 size: 6 (24 Bytes)
Enter another command
PES_Prj1 >> read 0 6
Address Value Index
------------ ---------- ------
0x1ffff4e0 0x00000000 0
0x1ffff4e4 0x00000000 1
0x1ffff4e8 0x00000000 2
0x1ffff4ec 0x00000000 3
0x1ffff4f0 0x00000000 4
0x1ffff4f4 0x00000000 5
PES_Prj1 >> write 0 1111ffff
Value: 1111ffff written at address: 0x1ffff4e0
PES_Prj1 >> write 1 2222dddd
Value: 2222dddd written at address: 0x1ffff4e4
PES_Prj1 >> write 3 3333eeee
Value: 3333eeee written at address: 0x1ffff4ec
PES_Prj1 >> write 6 bbbb7777
Please enter valid offset between 0 to 5
PES_Prj1 >> read 0 6
Address Value Index
------------ ---------- ------
0x1ffff4e0 0x1111ffff 0
0x1ffff4e4 0x2222dddd 1
0x1ffff4e8 0x00000000 2
0x1ffff4ec 0x3333eeee 3
0x1ffff4f0 0x00000000 4
0x1ffff4f4 0x00000000 5
PES_Prj1 >> invert 0 6
Invert function execution time is 111 microseconds
Enter another command
PES_Prj1 >> read 0 6
Address Value Index
------------ ---------- ------
0x1ffff4e0 0xeeee0000 0
0x1ffff4e4 0xdddd2222 1
0x1ffff4e8 0xffffffff 2
0x1ffff4ec 0xcccc1111 3
0x1ffff4f0 0xffffffff 4
0x1ffff4f4 0xffffffff 5
PES_Prj1 >> free
Null pointer was provided. Previous released memory:
24 Bytes of heap released from address 0x1ffff4e0 to 0x1ffff4f4
Enter another command
PES_Prj1 >> free
Memory is not allocated yet!
Enter another command
PES_Prj1 >> allocate 1
Memory block allocated.
Address: 0x1ffff4d8 size: 1 (4 Bytes)
Enter another command
PES_Prj1 >> allocate 5
Memory is current allocated in address 0x0x1ffff4d8
Do you wish to override this data? (Y?)
PES_Prj1 >> no
Memory allocated remains in address 0x0x1ffff4d8
Enter another command
PES_Prj1 >> free
4 Bytes of heap released from address 0x1ffff4d8 to 0x1ffff4d8
Enter another command
PES_Prj1 >> allocate 10
Memory block allocated.
Address: 0x1ffff500 size: 10 (40 Bytes)
Enter another command
PES_Prj1 >> read 0
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> read 0 20
Please enter valid length between 1 to 10
PES_Prj1 >> read -i
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> read -i 3
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> read -i value
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> read -i 1ffff50c 55
Please enter valid length between 1 to 7
PES_Prj1 >> read -i 1ffff1ff 5
Please enter the starting memory address between 0x1ffff500 and 0x1ffff524
PES_Prj1 >> read -i 1ffff50c 5
Address Value Index
------------ ---------- ------
0x1ffff50c 0x00000000 0
0x1ffff510 0x00000000 1
0x1ffff514 0x00000000 2
0x1ffff518 0x00000000 3
0x1ffff51c 0x00000000 4
PES_Prj1 >> write
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> write 2
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> write 2 3 aaabbb
Value: 3 written at address: 0x1ffff508
PES_Prj1 >> write 2 aaabbb
Value: aaabbb written at address: 0x1ffff508
PES_Prj1 >> write 5 ffffffff
Value: ffffffff written at address: 0x1ffff514
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x00000000 0
0x1ffff504 0x00000000 1
0x1ffff508 0x00aaabbb 2
0x1ffff50c 0x00000000 3
0x1ffff510 0x00000000 4
0x1ffff514 0xffffffff 5
0x1ffff518 0x00000000 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> write -i
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> write -i 1ffff50c
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> write -i 1ffff50c ffffffffffffff
Please enter a valid 32bit hex number for the value
PES_Prj1 >> write -i 1ffff50c 12345678
Value: 12345678 written at address: 0x1ffff50c
PES_Prj1 >> write -i 1ffff50c ffffffff
Value: ffffffff written at address: 0x1ffff50c
PES_Prj1 >> write -i 1ffff50d ffffffff
Invalid address, did you mean: 0x1ffff50c or 0x1ffff510 ?
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x00000000 0
0x1ffff504 0x00000000 1
0x1ffff508 0x00aaabbb 2
0x1ffff50c 0xffffffff 3
0x1ffff510 0x00000000 4
0x1ffff514 0xffffffff 5
0x1ffff518 0x00000000 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> invert
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> invert 2
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> invert 3 4
Invert function execution time is 74319 nanoseconds
Enter another command
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x00000000 0
0x1ffff504 0x00000000 1
0x1ffff508 0x00aaabbb 2
0x1ffff50c 0x00000000 3
0x1ffff510 0xffffffff 4
0x1ffff514 0x00000000 5
0x1ffff518 0xffffffff 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> invert 3 10
Please enter valid length between 1 to 7
PES_Prj1 >> invert 5
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> invert -i
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> invert -i 4554
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> invert -i 65468 3
Please enter a valid hex number for the memory address
PES_Prj1 >> invert 1ffff50c
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> invert -i 1ffff50c
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> invert -i 1ffff50c 10
Please enter valid length between 1 to 7
PES_Prj1 >> invert -i 1ffff50c 3
Invert function execution time is 55944 nanoseconds
Enter another command
PES_Prj1 >> invert -i 1ffff1cb 3
Please enter the starting memory address between 0x1ffff500 and 0x1ffff524
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x00000000 0
0x1ffff504 0x00000000 1
0x1ffff508 0x00aaabbb 2
0x1ffff50c 0xffffffff 3
0x1ffff510 0x00000000 4
0x1ffff514 0xffffffff 5
0x1ffff518 0xffffffff 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> allocate 10
Memory is current allocated in address 0x0x1ffff500
Do you wish to override this data? (Y?)
PES_Prj1 >> n
Memory allocated remains in address 0x0x1ffff500
Enter another command
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x00000000 0
0x1ffff504 0x00000000 1
0x1ffff508 0x00aaabbb 2
0x1ffff50c 0xffffffff 3
0x1ffff510 0x00000000 4
0x1ffff514 0xffffffff 5
0x1ffff518 0xffffffff 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> allocate 10
Memory is current allocated in address 0x0x1ffff500
Do you wish to override this data? (Y?)
PES_Prj1 >> y
40 Bytes of heap released from address 0x1ffff500 to 0x1ffff524
Memory block allocated.
Address: 0x1ffff500 size: 10 (40 Bytes)
Enter another command
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x00000000 0
0x1ffff504 0x00000000 1
0x1ffff508 0x00000000 2
0x1ffff50c 0x00000000 3
0x1ffff510 0x00000000 4
0x1ffff514 0x00000000 5
0x1ffff518 0x00000000 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> pattern
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> pattern 2
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> pattern 2 3
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> pattern 2 3 1
##########################
# Random numbers #
##########################
Address Value Index
------------ ---------- ------
0x1ffff508 0x3c88596c 0
0x1ffff50c 0x5e8885db 1
0x1ffff510 0x8116017e 2
PES_Prj1 >> Pattern function execution time is 27857 microseconds
Enter another command
PES_Prj1 >> pattern -i
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> pattern -i errg434
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> pattern -i 1ffff50c
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> pattern -i 1ffff1e0 10
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> pattern -i 1ffff1e0 10 1
Please enter the starting memory address between 0x1ffff500 and 0x1ffff524
PES_Prj1 >> pattern -i 1ffff1e0 3
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> pattern -i 1ffff1e0 3 1
Please enter the starting memory address between 0x1ffff500 and 0x1ffff524
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x00000000 0
0x1ffff504 0x00000000 1
0x1ffff508 0x3c88596c 2
0x1ffff50c 0x5e8885db 3
0x1ffff510 0x8116017e 4
0x1ffff514 0x00000000 5
0x1ffff518 0x00000000 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> free
40 Bytes of heap released from address 0x1ffff500 to 0x1ffff524
Enter another command
PES_Prj1 >> allocate 10
Memory block allocated.
Address: 0x1ffff500 size: 10 (40 Bytes)
Enter another command
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x00000000 0
0x1ffff504 0x00000000 1
0x1ffff508 0x00000000 2
0x1ffff50c 0x00000000 3
0x1ffff510 0x00000000 4
0x1ffff514 0x00000000 5
0x1ffff518 0x00000000 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> verify
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> verify 0
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> verify 0 3
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> verify 0 3 1
##########################
# Random numbers #
##########################
Address Value Index
------------ ---------- ------
0x1ffff500 0x3c88596c 0
0x1ffff504 0x5e8885db 1
0x1ffff508 0x8116017e 2
PES_Prj1 >> Verify function execution time is 4053 nanoseconds
The expected and actual values are identical!
Enter another command
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x3c88596c 0
0x1ffff504 0x5e8885db 1
0x1ffff508 0x8116017e 2
0x1ffff50c 0x00000000 3
0x1ffff510 0x00000000 4
0x1ffff514 0x00000000 5
0x1ffff518 0x00000000 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> verify -i
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> verify -i 455trg
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> verify -i 1ffff1d4
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> verify -i 1ffff1d4 12
Please enter sufficient parameters for this command, or <help> for details
PES_Prj1 >> verify -i 1ffff1d4 12 1
Please enter the starting memory address between 0x1ffff500 and 0x1ffff524
PES_Prj1 >> verify -i 1ffff1d4 3 2
Please enter the starting memory address between 0x1ffff500 and 0x1ffff524
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x3c88596c 0
0x1ffff504 0x5e8885db 1
0x1ffff508 0x8116017e 2
0x1ffff50c 0x00000000 3
0x1ffff510 0x00000000 4
0x1ffff514 0x00000000 5
0x1ffff518 0x00000000 6
0x1ffff51c 0x00000000 7
0x1ffff520 0x00000000 8
0x1ffff524 0x00000000 9
PES_Prj1 >> verify 0 10 5
##########################
# Random numbers #
##########################
Address Value Index
------------ ---------- ------
0x1ffff500 0x3cedf1a0 0
0x1ffff504 0xbb69f87f 1
0x1ffff508 0x3e3a2bd2 2
0x1ffff50c 0xda5ad909 3
0x1ffff510 0xb7668ed4 4
0x1ffff514 0x5c40ac23 5
0x1ffff518 0x7fb8a326 6
0x1ffff51c 0x3886604d 7
0x1ffff520 0x0d258548 8
0x1ffff524 0xde796807 9
PES_Prj1 >> Verify function execution time is 15078 nanoseconds
The expected and actual values are identical!
Enter another command
PES_Prj1 >> read 0 10
Address Value Index
------------ ---------- ------
0x1ffff500 0x3cedf1a0 0
0x1ffff504 0xbb69f87f 1
0x1ffff508 0x3e3a2bd2 2
0x1ffff50c 0xda5ad909 3
0x1ffff510 0xb7668ed4 4
0x1ffff514 0x5c40ac23 5
0x1ffff518 0x7fb8a326 6
0x1ffff51c 0x3886604d 7
0x1ffff520 0x0d258548 8
0x1ffff524 0xde796807 9
PES_Prj1 >> free
Null pointer was provided. Previous released memory:
40 Bytes of heap released from address 0x1ffff500 to 0x1ffff524
Enter another command
PES_Prj1 >> exit
Good Bye!