User`s manual
VE - Verify S-Records Against Memory
3-230
3
This file is downloaded into memory at address $40000. The
program may be examined in memory using the MD command.
PPC1-Bug>MD 40000:5;DI <Return>
00040000 7C8402A6 MFSPR R4,4
00040004 90830000 STW R4,$0(R3) ($00041000)
00040008 7C8502A6 MFSPR R4,5
0004000C 90830004 STW R4,$4(R3) ($00041004)
00040010 4E800020 BCLR 20,0
PPC1-Bug>
Suppose you want to make sure that the program has not been
destroyed in memory. The VE command is used to perform a
verification.
PPC1-Bug>VE ,,-65000000;X=cat test.mx <Return>
cat test.mx
S325650400007C8402A6908300007C8502A6908300044E80002000000000650400006504002412
S30D65040020000000000000000069
S7056504000091
Verify passes.
PPC1-Bug>
The verification passes. The program stored in memory was the
same as that in the S-record file that had been downloaded.
Now change the program in memory and perform the verification
again.
PPC1-Bug>MM 40004;H <Return>
00040004 9083? 9082. <Return>
PPC1-Bug>
PPC1-Bug>VE ,,-65000000;X=cat test.mx <Return>
cat test.mx
S325650400007C8402A69083
S-RECORD Data Verification error:
Address =00040005
Expected data =83
Actual data =82
S-RECORD=
S325650400007C8402A69083
PPC1-Bug>
The byte which was changed in memory does not compare with the
corresponding byte in the S-record.