OS = Windows7 64-bit
CCS = UniFlash 3.1.0.00026 with XDS200 USB Emulator
Device = F28377D
I have been able to successfully lock CPU1 with the command line arguments below, but when I give similar arguments for CPU2 it fails. I'm wondering if this is a bug or if the order that I specify my parameters/operations matter?
CPU1 command:
uniflash -log myLog1.xml –ccxml myConfig.ccxml -core "C28xx_CPU1" –setOptions FlashCoreSelection="CPU1 (Master)" Z1PSWDLOCK=55555555 Z1CSMPSWD0=55555555 Z1CSMPSWD1=55555555 Z1CSMPSWD2=55555555 Z1CSMPSWD3=55555555 Z1LINKPOINTER1=FFFFFFFF Z1LINKPOINTER2=FFFFFFFF Z1LINKPOINTER3=FFFFFFFF Z1GRABSECT=15555555 Z1GRABRAM=10005555 –operationZ1LINKPOINTERProgram Z1GRABProgram Z1OTPSECCLOCKProgram Z1PasswordProgram Z1Lock
CPU2 command:
uniflash -log myLog2.xml –ccxml myConfig.ccxml -core "C28xx_CPU2" –setOptions FlashCoreSelection="CPU2 (Slave)" Z1PSWDLOCK=55555555 Z1CSMPSWD0=55555555 Z1CSMPSWD1=55555555 Z1CSMPSWD2=55555555 Z1CSMPSWD3=55555555 Z1LINKPOINTER1=FFFFFFFF Z1LINKPOINTER2=FFFFFFFF Z1LINKPOINTER3=FFFFFFFF Z1GRABSECT=15555555 Z1GRABRAM=10005555 –operationZ1LINKPOINTERProgram Z1GRABProgram Z1OTPSECCLOCKProgram Z1PasswordProgram Z1Lock
From the XML log, the error says:
C28xx_CPU2: Error performing current operation, the value specified (with property ID: Z1GRABRAM) needs to have a length of 8. Consider padding the value with Fs or 0s. Operation cancelled.\n
But from the XML a few lines above it has
ENTRY ID: Z1GRABRAM Value: 10005555