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 & Uniflash & POM fail

Other Parts Discussed in Thread: UNIFLASH

Hello,

We have problem to flash TMS570xxxxx (LS3137 and LC4357) with UniFlash tool. Problem is caused by POM unit (parameter overlay module).

POM is activated by SW and Uniflash didn't disable POM. With enabled POM it is not possible access/program flash memory at overlayed addresses. Therefore Uniflash fails with this messages:

[12:43:16] ERROR >> CortexR5: Error during Flash verification (Flash algorithm returned error condition). Operation cancelled.
[12:43:16] ERROR >> CortexR5: Flash verification returned error condition. Operation cancelled.
[12:43:16] ERROR >> CortexR5: GEL: File: abcdef.hex: Load failed.
[12:43:16] File: abcdef.hex: Load failed.

Is it some work-around to modify init before programming? It mean add sequence to disable POM?

Jiri Dobry

PS: messages are litle strange. It indicate problem on verify stage, but it fail during erase verification.

  • Hi Jiri,

    You could consider changing the configuration XML files in UniFlash, they are located in: C:\ti\uniflashv3\ccs_base\hercules\flash\configs
    There is a section for the configuration of the device, where you could add register settings to disable the POM:

    <CommonParameters>
    <Initialization>
    <InitRegisters Register="0xfffff538" Value="0x00000005" Comment="reset ESM"/>
    <InitRegisters Register="0xffffff50" Value="0x00000207" Comment="select clock source 7 for RTICLK (Disable DWD)"/>
    <InitRegisters Register="0xffffffd0" Value="0x01010000" Comment="Disable peripherals"/>
    <InitRegisters Register="0xffffffd0" Value="0x01010100" Comment="Enable peripherals"/>
    <InitRegisters Register="0xfffffa00" Value="0x00070085" Comment="disable RTP"/>
    <InitRegisters Register="0xfffff700" Value="0x00010005" Comment="disable DMM"/>
    <InitRegisters Register="0xfffff000" Value="0x00000000" Comment="disable DMA"/>

    Best Regards,
    Christian
  • Hi Christian
    Many thanks! This information is exactly what I need.
    Working line to disable POM is here (tested on TMP570LC4357):
    <InitRegisters Register="0xFFA04000" Value="0x60000505" Comment="disable POM"/>

    Could you add this into next UniFlash release/update?

    have a nice weekend :-)
    Jiri