This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi expert:
when i used syscfg tools,how to changed the csm_otp_z1_linkpointer ?as follow:
.sect "dcsm_otp_z1_linkpointer"
.retain
.long 0x00003FFF
.long 0x00003FFF
.long 0x00003FFF
I want to changed the linkpointer value ,whih place can set in syscfg tool?
sect "dcsm_otp_z1_linkpointer"
.retain
.long 0x00003FFE
.long 0x00003FFE
.long 0x00003FFE
thanks.
ok,i find the setting.
but i have some quetions.
I do not enable PSWDLOCK,when i used jtag ,some error as follows,which the reaon
C28xx_CPU1: Warning: Failed unlocking device (zone 1) after reset.
C28xx_CPU1: Error during Flash Programming. Address 0x00078000, FMSTAT (STATCMD on some devices) 0x00000041
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: D:\tidm_02010_dmpfc_0013x\HVAC_REV3P2_3SC_LIB\tidm_02010_dmpfc_0013x_pmsm.out: Load failed.
Hi Youjun,
Here's what I think is happening.
Can you try disabling the "reset target before flash programming operations" option and unlock the DCSM zone before programming and try again?
Thank you,
Luke
Can you try disabling the "reset target before flash programming operations" option and unlock the DCSM zone before programming and try again?
how to disabe the option?
Hi Youjun,
This is a checkbox in the CCS On-Chip flash tool and/or Uniflash that is checked by default. Are you using Uniflash or the CCS On-Chip flash tool or Uniflash?
Thank you,
Luke
Hi Luke:
I have a question.
I have a empty MCU,download the hex(have dcsm start setting) file by uniflash,when power on ,after the mcu reset,at the beginning of main(),read the 128-bits of the CSM password.
the password is default value or setting value?what is timing of the dcsm working?
Hi Youjun,
I'm not sure whether OTP settings can be programmed via a hex file. Can you check the memory browser at address 0x78040 after programming?
What do you mean by "what is the timing of the dcsm working?"
Thank you,
Luke
I'm not sure whether OTP settings can be programmed via a hex file
Q:when build the project,output a .out or hex file,i used the uniflash,download to a empty mcu.
What do you mean by "what is the timing of the dcsm working?"
Q:1) when download to a empty mcu.after the mcu reset,in init function ,i read the 128-bits of the CSM password.the password is default value or setting value?
Hi Youjun,
If you've programmed a .out or .hex that includes your OTP settings / CSM passwords, you should see your custom/setting value in the memory browser.
Thank you,
Luke