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.

CCS/UCD3138A: Load program error when attempting to connect with USB Interface adapter over PMBus

Part Number: UCD3138A
Other Parts Discussed in Thread: UCD3138

Tool/software: Code Composer Studio

I am attempting to program a UCD3138A on my target PCB.  When I compile the project and attempt to connect to the target with the TI USB Interface Adapter over PMBus, I get the following messages. 

The memory map I am working through now, but more concerning to me is the "Trouble Reading Memory Block at 0x20 on Page 0 of Length 0x4: An error occurred accessing memory" error.  I have the PMBus instrumented so that I can observe activity on the PMBus with an oscilloscope, but no activity occurs. 

Do I need to use a JTAG adapter in place of the PMBus adapter for this type of debugging/programming?

 

 

ARM7_0: GEL Output: /nMemory Map Initialization Complete/nARM7_0: GEL Output: /tMemory Map Setup for Flash at Address 0x0ARM7_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.

ARM7_0: Trouble Reading Memory Block at 0x20 on Page 0 of Length 0x4: An error occurred accessing memory

ARM7_0: File Loader: Verification failed: Target failed to read 0x00000020

ARM7_0: GEL: File: C:\DigitalPower\PSFBFirmware-1.1\PSFBFirmware-1.1\PSFB_PCM\UCD3138A\UCD3138_PSFB_PCM.out: Load failed.

  • Hi Jason,
    You are getting a type of data verification error. That error is described in good detail in the link below:
    processors.wiki.ti.com/.../Troubleshooting_CCS_-_Data_Verification_Errors

    Hope this helps
    ki
  • How do I select a particular linker command file to be used with my processor? The UCD3138A has a cyclone_A.cmd file which looks like it defines the memory structure correctly, but I am unsure how to tell CCS that I wish to use this command file.

    On a separate note, if I have told CCS that I wish to use the UCD3138A, why does CCS not automatically use the correct linker command file?
    thank you,
    Jason
  • Jason Beens said:
    How do I select a particular linker command file to be used with my processor? The UCD3138A has a cyclone_A.cmd file which looks like it defines the memory structure correctly, but I am unsure how to tell CCS that I wish to use this command file.

    You can specify linker command files in the project properties

    Also note that you can simply manually remove the old cmd file from your project and add the valid one as if it was a source file. The linker will automatically use any cmd file that is part of the project. If there are multiple cmd files, the linker will try to use them all but it can cause conflicts for obvious reasons (such as sections being multiply defined, etc)

    Jason Beens said:
    On a separate note, if I have told CCS that I wish to use the UCD3138A, why does CCS not automatically use the correct linker command file?

    CCS will default to a cmd file. The default file is determined by xml files supplied by the device support people who determine which file gets used. If the default is incorrect, then the xml files need to be updated.


    Thanks

    ki