TI E2E Community
Hercules™ Safety Microcontrollers
Hercules™ Safety Microcontrollers Forum
TMS570 - Flashing of OTP with nowFlash fails
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
Thank you for me out here!
nowFlash Log Output:
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.
Engineering Row ID=77152901
Lot Number =62719
Flow Check =0x7e48
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.
It seem the file attachments did not work. Second Try. The file Data.zip contain the Intel HEX file DATA.HEX as described in the first post.
Any hints on this?
Has someone already successfully flashed the OTP area of the TMS570?
I have forwarded your questions to our nowFlash support team. We will get back to you.
Regards,TI Forum Support
Thanks for pointing this out. Our nowFlash expert is already in contact with you.We will post the resolution in the forum once complete.
When is the release of an updated version of nowflash planned?
Progress on this issue?
Well, seems to be solved with the current update.
Can you let me know how to get the nowFlash UPDATE in order to READ OTP and WRITE Once OTP?
Either use the check for updates using the "Check for nowFlash Updates" shortcut in the start menu or download the latest release from the tools page http://www.ti.com/tool/nowflash
MCU Safety & Security Software
If my reply answers your question please click on the green button "Verify Answer"
I am using TMS570LS04x device [spns186.pdf is the datasheet].
I am unable to read OTP at all.
I am able to program Flash without any problem.
Can you please let me know if nowFlash can read OTP for the above mentioned device?
We are looking into this and let you know what we find.
The nowFlash.cfg file has incorrect size information for the OTP on the LS04x device. Until I can release an updated config file, there are 2 workarounds. First is to use the range option specifying for Bank 0 0xF0000000-0xF00007FF and Bank 7 0xF000E000-0xF000E3FF in the nowFlash GUI.
Second is to modify the LS04x configuration for OTP sizes in the nowFlash.cfg replacing these lines:
Type: OTP Start: 0xF0000000 Length: 0x00001000 Control: 0xfff87000 Core: 0x00 Sector: 0x00
Type: OTP Start: 0xF000E000 Length: 0x00001000 Control: 0xfff87000 Core: 0x07 Sector: 0x00
Type: OTPECC Start: 0xF0040000 Length: 0x00000200 Control: 0xfff87000 Core: 0x00 Sector: 0x00
Type: OTPECC Start: 0xF0041C00 Length: 0x00000200 Control: 0xfff87000 Core: 0x07 Sector: 0x00
Type: OTP Start: 0xF0000000 Length: 0x00000800 Control: 0xfff87000 Core: 0x00 Sector: 0x00
Type: OTP Start: 0xF000E000 Length: 0x00000400 Control: 0xfff87000 Core: 0x07 Sector: 0x00
Type: OTPECC Start: 0xF0040000 Length: 0x00000100 Control: 0xfff87000 Core: 0x00 Sector: 0x00
Type: OTPECC Start: 0xF0041C00 Length: 0x00000080 Control: 0xfff87000 Core: 0x07 Sector: 0x00
Some progress is made. OTP ECC Area is failing still as shown below :
nowFlash version 3.42 Build (OFFICIAL)Config file C:\ti\nowFlash\v3.42.03\nowFlash.cfg Revision: 3Port address 0x510 target..initialize..connect..reset..halt..completeDevice ID value read=0x8048AD05 on port 0x510Device is Hercules type with ECC, Unique ID=0x8048AD05, Minor Revision 0.Device Identification=TMS570LS0432.0Target Frequency 80.00 MHzConfiguration file: v3.42 , file rev: 3Algorithm library: F021_R4_BE.x70, Version 1.60Command: -si C:\temp\CCMHOMEW\ccm_wa\tcb_css\temp\Customer_OTP_Corona.hex -otp -q -emu SDXDS510USB -p 510 -cpu CORTEX_RXX_NODAP -targets 1 OTP reading from 0xF0000000 to 0xF00007FF OTP reading from 0xF000E000 to 0xF000E3FF OTP reading from 0xF0040000 to 0xF00400FFError 135 - Algorithm has timed out, unable to complete.Try increasing the time allowed for algo execution using -w option Press Enter to exit
Please let me know.
There is a bug in the .x70 file used by that device that affects only reading the OTP ECC region. There is no work around until I am able to release a new revision of nowFlash. I currently do not have a date for this release.
Any update on the new Bug Fix Release of Flash API issue as mentioned by you?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.