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.

TMS320F28033: OTP Variables programmed inconsistent

Part Number: TMS320F28033

Firstly, I used the flashing LED to flash example. When I power cycled the 28035, it immediately started flashing LEDs - Yeah!!

While trying to get my 28035 to be bootable to CAN bus, I updated the OTP Key and BMode  in the following fashion:

In file DSP2803x_Headers_nonBIOS.cmd, I added the following:
PAGE 1 section
OTPKEY : origin = 0x3D7BFE, length = 0x000001 /* Bootloader GetMode key */
OTPBMODE : origin = 0x3D7BFF, length = 0x000001 /* Bootloader BMode key - Set to CAN*/
SECTIONS section
/*** Setup for CAN Bootloader ***/
OtpKeyVar : > OTPKEY, PAGE = 1
OtpBMode : > OTPBMODE, PAGE = 1
Created an OTP,asm file with the following:
;/***********************************************************************/
.sect "OtpKeyVar"
.int 0x55AA ; One-Time Programmable for CAN BMode
;/***********************************************************************/
.sect "OtpBMode"
.int 0x0007 ; CAN BMode
;/***********************************************************************/
.end
It showed up in the .map file as:
OTPKEY 003d7bfe 00000001 00000001 00000000 RWIX
OTPBMODE 003d7bff 00000001 00000001 00000000 RWIX

I then power cycled and my flashing LEDs were missing as expected, so I am thinking the 28035 is waiting for CAN data. OK

So then I went back to the flashing LEDs example and had to create the same files only with the following so as to take it out of CAN boot:
Created an OTP,asm file with the following:
;/***********************************************************************/
.sect "OtpKeyVar"
.int 0x0000 ; One-Time Programmable for Flash mode - incorrect value
;/***********************************************************************/
.sect "OtpBMode"
.int 0x0000 ; Flash
;/***********************************************************************/
.end

Now my flashing program went back into flash - Yeah!

I did this a couple times to ensure things were going as expected. My next move was to connect the CAN bus and try to send the 0x08AA and see it it was recognized.

However, I can no longer write OtpKeyVar of 0x55AA as I get the following error:

C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: C:\Users\jmasse\workspace_v10\f2803x_can_flash_kernel\Debug\f2803x_can_flash_kernel.out: Load failed.

I can write the OtpKeyVar of 0x0000 and flash will program but anything other than 0x0000 I get the programming error.

Thoughts? Can I provide any data files for review?