Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE, UNIFLASH
Tool/software: Code Composer Studio
Hi All,
I've a customer board with a TMS320F280049C device, developed for our customer.
I'm using DCSM feature to protect our SW, and, starting from examples found on c2000ware library and from TI forum, I've configured DCSM directly in my .out file.
So I would like to connect CCS or Uniflash to this device to debug or eventually overwrite the protected memory.
We implemented the standard boot configuration i.e. BOOT1=BOOT0=1, so booting from flash.
So, as suggested in 3.13.1.2 of TRM, I've modified the BOOT1 pin to 0 to set the boot of the devcie in wait mode and to allow the debugger to work properly.
After this modification I'm able to connect to the device using CCS and XDS jtag debugger and implementing in the gel file the PMF sequence I can read the protected flash content.
I'm attaching the OTP bank1 dump (I've intentionally removed the registers CSMPSWDx content), and the DCSM regs. content after PMF.
The main problem is that even if I'm able to unsecure the device just after the connection, at the execution of any program command it seems that the Boot rom makes the device secure again and the operation fail.
So in this scenario i don't know how to allow CCS or uniflash to unsecure and program the device again.
Thank you.
/cfs-file/__key/communityserver-discussions-components-files/171/USER_5F00_OTP_5F00_Bank1.dat
/cfs-file/__key/communityserver-discussions-components-files/171/dcsm_5F00_reg_5F00_dump.dat