Part Number: F28M35H52C
Other Parts Discussed in Thread: UNIFLASH
Tool/software:
Hello,
Could you please guide me on how to program Zone 1 settings using the dslite command line?
It works perfectly when I manually click the button in the Uniflash GUI, but it doesn't seem to apply when I use the command line.
GUI version : 8.7.0
DsLite version : 12.7.0.3382
I have created a `generated.ufsettings` file in which I selected the option to erase the entire flash. I am using this file, along with the `.ccxml`, as parameters in the DSLite command.
Here is my DSLite command line:
dslite --mode flash -c user_files/configs/f28m35h52c1.ccxml -s FlashM3Z1CSMKEY0=abcd1234 -b Z1PasswordProgram -l user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "user_files/images/Image.out"
Here is the command line output
DSLite version 12.7.0.3382
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: IcePick_C_0
Executing Startup Scripts: IcePick_C_0
Initializing: CS_DAP_0
Executing Startup Scripts: CS_DAP_0
Initializing: Cortex_M3_0
Executing Startup Scripts: Cortex_M3_0
Cortex_M3_0: GEL Output: Memory Map Initialization Complete
Initializing: C28xx_0
Executing Startup Scripts: C28xx_0
Connecting...
Cortex_M3_0: GEL Output: Watchdog Timers Enabled
Cortex_M3_0: GEL Output: UARTs Enabled
info: Cortex_M3_0: Performing Security Operation...
info: Cortex_M3_0: Operation completed successfully.
Loading Program: user_files/images/Image.out
Preparing ...
.text: 0 of 42824 at 0x200030
Erasing Flash
Erasing Bank 0, Sector N
Erasing Bank 0, Sector M: 6%
Erasing Bank 0, Sector L: 13%
Erasing Bank 0, Sector K: 20%
Erasing Bank 0, Sector J: 26%
Erasing Bank 0, Sector I: 33%
Erasing Bank 0, Sector H: 40%
Erasing Bank 0, Sector G: 46%
Erasing Bank 0, Sector F: 53%
Erasing Bank 0, Sector E: 60%
Erasing Bank 0, Sector D: 66%
Erasing Bank 0, Sector C: 73%
Erasing Bank 0, Sector B: 80%
Erasing Bank 0, Sector A: 86%
.text: 32752 of 42824 at 0x200030: 57%
.text: 0 of 4896 at 0x20a778: 74%
.data: 0 of 8856 at 0x20ba98: 83%
.text: 0 of 60 at 0x20dd30: 98%
.data: 0 of 528 at 0x20dd70: 99%
Finished: 99%
Setting PC to entry point.: 99%
Verifying Program: user_files/images/Image.out
Preparing ...
.text: 0 of 42824 at 0x200030
.text: 32752 of 42824 at 0x200030: 57%
.data: 0 of 8856 at 0x20ba98: 74%
.text: 0 of 60 at 0x20dd30: 90%
.data: 0 of 528 at 0x20dd70: 90%
Finished: 90%
info: Cortex_M3_0: Program verification successful for user_files/images/Image.out
Success
Thank you,
Satish