Part Number: MSP430F5438A
Hello,
Thank you @Brandon Fisher94 for your support , to set the electronic fuse for the MSP430F5438A mounted on a PCB (only JTAG accessible ) I have tried your suggestion by adding to the image file .txt :
The programming phase finished but the verification phase failed due to a mismatch of Values at address 0x017FC here an example of the batch file execution :
> dslite --mode flash -c user_files/configs/MSP430F5438A.ccxml -l user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "user_files/images/3000487280-R72-000-02.txt"
DSLite version 11.0.0.2538
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: MSP430
Executing Startup Scripts: MSP430
Connecting...
Loading Program: user_files/images/3000487280-R72-000-02.txt
Preparing ...
0 of 2048 at 0x1000
0 of 58 at 0x5c06
0 of 261736 at 0x5d98
32752 of 261736 at 0x5d98: 13%
65504 of 261736 at 0x5d98: 25%
98256 of 261736 at 0x5d98: 37%
131008 of 261736 at 0x5d98: 50%
163760 of 261736 at 0x5d98: 62%
196512 of 261736 at 0x5d98: 75%
229264 of 261736 at 0x5d98: 87%
0 of 344 at 0x5c40: 99%
0 of 2 at 0x182: 99%
0 of 4 at 0x17fc: 99%
Finished: 99%
Setting PC to entry point.: 99%
info: MSP430: There were 264192 bytes written.
Verifying Program: user_files/images/3000487280-R72-000-02.txt
Preparing ...
0 of 2048 at 0x1000
error: MSP430: File Loader: Verification failed: Values at address 0x017FC do not match Please verify target memory and memory map.
Finished
But after trying to program again the device is no longer accessible and it has been secured here an example :
> dslite --mode flash -c user_files/configs/MSP430F5438A.ccxml -l user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "user_files/images/3000487280-R72-000-02.txt"
DSLite version 11.0.0.2538
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: MSP430
Executing Startup Scripts: MSP430
Connecting...
error: MSP430: Error connecting to the target: The Debug Interface to the device has been secured
Should I disable verification after flashing and if so does that affect the program execution afterwards
Best Regards,
Nadhir Aouinti
