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.

TMS320F28388D: Serial Flash Programmer .HEX file DCSM Password lock problem

Part Number: TMS320F28388D
Other Parts Discussed in Thread: UNIFLASH

We are currently trying to implement the Serial Flash Programmer functionality in production. However, we are having difficulty uploading the production version of the firmware to the processor.

When we include the functionality to set the DCSM Password in the output HEX file. We get either a checksum error or a blank error (If the processor was preprogrammed). Here is the file we are including (in addition to the password file itself), We can't seem to find anything specific to cause the problems. If we compile to an .OUT file and use UniFlash to send it to the processor everything works properly.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* this linker command file is to be included if user wants to use the DCSM feature on the device
* DCSM means Dual Zone Code Security Module.
* This linker command file works as an addendum ot the already existing Flash/RAM linker command file
* that the project has.
* The sections in the *_ZoneSelectBlock.asm source file is linked as per the commands given in the file
* NOTE - please note fill=0xFFFF, this helps if users include this file in the project by mistake and
* doesn't provide the needed proper *_ZoneSelectBlock.asm sources .
* Please refer to the Blinky DCSM example in the controlsuite examples for proper usage of this.
*
* Once users are confident that they want to program the passwords in OTP, the DSECT section type can be removed.
*
*/
MEMORY
{
PAGE 0 : /* Program Memory */
/* Z1 OTP. LinkPointers */
DCSM_OTP_Z1_LINKPOINTER : origin = 0x78000, length = 0x00000C
/* Z1 OTP. PSWDLOCK/RESERVED */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Are there any ideas as to what could be causing the problem. We've been able to overcome everything else so far including the (Align 8) issue.

Ben