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.

TMS570 - Flashing of OTP with nowFlash fails

Other Parts Discussed in Thread: TMS570LS0432, UNIFLASH

Hello!

I tried to write DATA to the OTP Area (incl. ECC)  of the TMS570. The attached HEX-File (DATA.HEX) should be flashed via the Tool nowFlash.
This flash procedure fails (see nowFlash log output below). Further the reading of the OTP ECC range is not possible.

Command Line Parameters:   -pr -ve H:\DATA.HEX -otp -append -d -o 160 -emu TIXDS100V2 -p 000 -cpu CORTEX_RXX -targets 1

my setup:

  • TMS570LS31x
  • XDS100v2 (http://www.blackhawk-dsp.com/support/xds100/Default.aspx#USB100v2D)
  • nowFlash v3.42

My Questions:

  • Is it possible to Flash the OTP area with the XDS100v2?
  • Are there any special methods/switches I missed?
  • Is it possible to flash application and the OTP area with a single HEX file or is a distinct call needed with the option "-otp"

Thank you for me out here!

Erich E.

nowFlash Log Output:

Errorlevel=151      
nowFlash version 3.42  Build  (OFFICIAL)
Config file C:\ti\nowFlash\v3.42\nowFlash.cfg Revision: 0
Accessing device 0 through port 0x000
User specified emulator type TIXDS100V2.
Using board configuration file C:\ti\nowFlash\v3.42\brddat\board_tixds100v2_v3_cortex_rxx.dat
Port driver "C:\ti\nowFlash\v3.42\drivers\tixds510cortexR.dvr" ... LOADED
Port address 0x000 target..initialize..connect..reset..halt..complete
Device ID value read=0x802AAD05 on port 0x000
Device is Hercules type  with ECC, Unique ID=0x802AAD05, Minor Revision 0.
Device Identification=TMS570LS31xx_3MB.0
  Engineering Row ID=77152901
   Lot Number  =62719
   Flow Check  =0x7e48
   Wafer Number=7
   Die Location: X=16, Y=11
Target Frequency 160.00 MHz
Configuration file: v3.42 , file rev: 0
Algorithm library: F021_R4_BE.x70, Version 1.51
Writing 0x20046300 to DUT address 0xFFFFFF70 to configure PLL1
Writing 0x3FC0023D to DUT address 0xFFFFFF74 to configure PLL2
Measured Internal Frequency = 158.00 MHz
Command: -pr -ve H:\DATA.HEX -otp -append -d -o 160 -emu TIXDS100V2 -p 000 -cpu CORTEX_RXX -targets 1
    Programming from 0xF0002800 to 0xF000281F
        Max pulses 0 - Program fail @ address 0xF0002800: expected 0x34333231, actual 0x08001B00
Error 151 - Program routine failed.