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/UCD3138: ucd3138RHAT只能烧写一次

Part Number: UCD3138

Tool/software: Code Composer Studio

图片所示烧写成果一次后显示界面,是配置问题还是软件问题求解!!!!!急急急急急

  • It looks like the device cannot be detected in ROM or Program mode.

    Hello please try the latest GUI here:

    www.ti.com/.../fusion-digital-power-studio

  • 您好! 

    我们试了一下还是不行检测不到设备。   芯片第一次烧写是可以的,烧写成功之后就会出现上图的情况。

  • Hello,
    This might happen when GUI cannot normally communicate with UCD device. To confirm it, you can use Device GUI to find device before download the code. UCD should be found in either ROM or flash if hardware connection and firmware is correct.
    If not, please check your hardware connection from UCD to adaptor and from adaptor to computer USB at first.
    If it is not the case, it should be a firmware issue. The bug in firmware prevent PMBUS communication function properly executing. If you had enabled JTAG in the firmware you can try to use JTAG tool to clear checksum. If not, you have to change device and download a correct code. Pay attention, before you confirm the checksum can be normally erased in your code, the checksum should not be automatically written when you download the code.

    Below is way verifying weather checksum can be properly erased.
    a. Download the program without writing checksum, run it, and send the Command Program to Jump to ROM command from the GUI
    b. Use the memory debugger to go and look at the location of the checksum. If the program works correctly, the 4 or 8 bytes of the checksum should all be zeroes. If they are, great. If they are FFFFFs, then the program isn't clearing the checksum. Fix it before you write the checksum.

    BR
    Frank
  • 下面应该怎么做?

  • Hi Sean Yin,

    I understand that you already have established a JTAG connection with your target.
    If not please let me know and I will provide you with the JTAG manual.

    Otherwise, here is the procedure to clear checksum in UCD3138 through JTAG:
    -------------------------------------------------------------------------------------------------------------
        Set the value of FLASHILOCK(INTERLOCK_KEY) at address FFFFFE98 to 0x42DC157E.
        Set the value of  checksum at address 0x7FFC to 0x00000000.
        Reset, or power cycle the device.
        You should be now in ROM mode.

    Please note above is for UCD3138 (32K bytes of flash) and not for the other members of the UCD family.
    If you are dealing with a different device the addresses or key mentioned above may be different (Look at the relevant manual/TRM).

     

    Regards,

    Yitzhak Bolurian

  • 第一个问题:FLASHILOCK经过查找发现是一个寄存器,需要在程序中加入一段代码将0xFFFFFE98处的FLASHILOCK(INTERLOCK_KEY)的值设置为0x42DC157E吗?

    第二个问题:将地址0x7FFC处的校验和的值设置为0x00000000,如下图所示点CLEAR就可以了吗?

  • It may relate to your code that couldn't be able to erase flash checksum.

    You can refer to this docs of implementing a correct clear checksum code to your project. This is in mandanrin version, hope it could help you.
    www.ti.com.cn/.../zhca646.pdf