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.

UCD3138: Code conversion from UCD3138064 to UCD3138128

Part Number: UCD3138

Tool/software:

I need for "checksum" code conversion from UCD3138064 to UCD3138128. 
May I ask if there are any relevant documents that I can refer to?

  • Hello Chieh-Yu,

    The UCD3xxx Device GUI has a built in migration tool between UCD devices. You can go to Utilities --> Firmware Migration Tool.

    Regards,

    Jonathan Wong

  • Firmware Migration Tool.

    Are there any instructions for use?
    There were a lot of errors there.

    EX: 

    Message
    Fusion version: 3.0.81.0
    Source directory is invalid. Make sure directory exists.

    EX:

    Overview
    --------

    Application: Fusion Tool Launcher 3.0.81.0
    Operating System: Microsoft Windows NT 6.2.9200.0
    .NET Runtime: 4.0.30319.42000
    Memory Used: 169.00 MB

    Exception
    ---------

    TIDP.TIException: No *.project file found in original project location.
    於 TIDP.PMBus.CodeMigrationDeviceToDevice.Project_Name_In_Dot_Project(String source_folder_path)
    於 TIDP.PMBus.Forms.CodeMigrationDeviceToDeviceForm.s(Object A_0, EventArgs A_1)
    於 System.Windows.Forms.Control.OnClick(EventArgs e)
    於 DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
    於 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    於 System.Windows.Forms.Control.WndProc(Message& m)
    於 DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
    於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Loaded Assemblies
    -----------------

    DevExpress.Data.v6.2
    Version: 6.2.10.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/DevExpress.Data.v6.2.DLL
    Public Key Token: 79868B8147B5EAE4
    DevExpress.Utils.v6.2
    Version: 6.2.10.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/DevExpress.Utils.v6.2.DLL
    Public Key Token: 79868B8147B5EAE4
    DevExpress.XtraBars.v6.2
    Version: 6.2.10.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/DevExpress.XtraBars.v6.2.DLL
    Public Key Token: 79868B8147B5EAE4
    DevExpress.XtraEditors.v6.2
    Version: 6.2.10.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/DevExpress.XtraEditors.v6.2.DLL
    Public Key Token: 79868B8147B5EAE4
    DevExpress.XtraGrid.v6.2
    Version: 6.2.10.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/DevExpress.XtraGrid.v6.2.DLL
    Public Key Token: 79868B8147B5EAE4
    Free.CommandLine
    Version: 3.0.8.33049
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/Free.CommandLine.DLL
    Public Key Token:
    Free.Hid
    Version: 3.0.8.33049
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/Free.Hid.DLL
    Public Key Token:
    Free.Misc
    Version: 3.0.8.33049
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/Free.Misc.DLL
    Public Key Token:
    Free.WinForms.Misc
    Version: 2.0.88.33051
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/Free.WinForms.Misc.DLL
    Public Key Token:
    Fusion Tool Launcher
    Version: 3.0.81.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/Fusion Tool Launcher.exe
    Public Key Token:
    Microsoft.GeneratedCode
    Version: 1.0.0.0
    Info Version:
    <empty>
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Public Key Token:
    Microsoft.mshtml
    Version: 7.0.3300.0
    Info Version:
    <empty>
    Location: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
    Public Key Token: B03F5F7F11D50A3A
    mscorlib
    Version: 4.0.0.0
    Info Version:
    4.8.9261.0
    Location: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    Public Key Token: B77A5C561934E089
    mscorlib.resources
    Version: 4.0.0.0
    Info Version:
    <empty>
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/mscorlib.resources.dll
    Public Key Token: B77A5C561934E089
    PresentationCore
    Version: 4.0.0.0
    Info Version:
    4.0.30319.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
    Public Key Token: 31BF3856AD364E35
    PresentationFramework-SystemDrawing
    Version: 4.0.0.0
    Info Version:
    4.8.9032.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemDrawing/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemDrawing.dll
    Public Key Token: B77A5C561934E089
    System
    Version: 4.0.0.0
    Info Version:
    4.8.9261.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    Public Key Token: B77A5C561934E089
    System.Configuration
    Version: 4.0.0.0
    Info Version:
    4.8.9032.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    Public Key Token: B03F5F7F11D50A3A
    System.Core
    Version: 4.0.0.0
    Info Version:
    4.8.9261.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    Public Key Token: B77A5C561934E089
    System.Data
    Version: 4.0.0.0
    Info Version:
    4.8.9214.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    Public Key Token: B77A5C561934E089
    System.Drawing
    Version: 4.0.0.0
    Info Version:
    4.8.9032.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    Public Key Token: B03F5F7F11D50A3A
    System.resources
    Version: 4.0.0.0
    Info Version:
    <empty>
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/System.resources.dll
    Public Key Token: B77A5C561934E089
    System.Windows.Forms
    Version: 4.0.0.0
    Info Version:
    4.8.9251.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    Public Key Token: B77A5C561934E089
    System.Windows.Forms.resources
    Version: 4.0.0.0
    Info Version:
    <empty>
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/System.Windows.Forms.resources.dll
    Public Key Token: B77A5C561934E089
    System.Xml
    Version: 4.0.0.0
    Info Version:
    4.8.9032.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Public Key Token: B77A5C561934E089
    TIDP.DevEx.Skin1
    Version: 1.0.0.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.DevEx.Skin1.DLL
    Public Key Token: 95FC6C5621878F0A
    TIDP.Misc
    Version: 3.0.8.33055
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.Misc.DLL
    Public Key Token:
    TIDP.Net.ProxyPrefs
    Version: 1.4.0.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.Net.ProxyPrefs.DLL
    Public Key Token:
    TIDP.PMBus
    Version: 3.0.8.33067
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.PMBus.DLL
    Public Key Token:
    TIDP.PMBus.DeviceGUI.UCD3000
    Version: 1.9.63.33450
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.PMBus.DeviceGUI.UCD3000.DLL
    Public Key Token:
    TIDP.PMBus.WinForms
    Version: 2.0.88.33445
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.PMBus.WinForms.DLL
    Public Key Token:
    TIDP.SAA
    Version: 3.0.8.33058
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.SAA.DLL
    Public Key Token:
    TIDP.SAA.WinForms.Misc
    Version: 2.0.88.33256
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.SAA.WinForms.Misc.DLL
    Public Key Token:
    TIDP.WinForms.Apps.DPGUI
    Version: 1.9.63.33454
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.WinForms.Apps.DPGUI.DLL
    Public Key Token:
    TIDP.WinForms.Apps.DPGUI.DPGUITools
    Version: 1.0.0.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.WinForms.Apps.DPGUI.DPGUITools.DLL
    Public Key Token:
    TIDP.WinForms.Apps.DPGUI.HelpCenter
    Version: 1.9.63.33100
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.WinForms.Apps.DPGUI.HelpCenter.DLL
    Public Key Token:
    TIDP.WinForms.Misc
    Version: 2.0.88.33069
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.WinForms.Misc.DLL
    Public Key Token:
    TIDP.WinForms.Util
    Version: 3.0.8.33057
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/TIDP.WinForms.Util.DLL
    Public Key Token:
    WindowsBase
    Version: 4.0.0.0
    Info Version:
    4.8.9261.0
    Location: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
    Public Key Token: 31BF3856AD364E35
    XtraDataTempAssembly
    Version: 0.0.0.0
    Info Version:
    <empty>
    Location: file:///C:/Program Files (x86)/Texas Instruments/Fusion Digital Power Studio/bin/DevExpress.Data.v6.2.dll
    Public Key Token:

  • My code here does not have the subtitle .cproject

  • Hello Chieh-Yu,

    Are you developing your UCD3138 code using Code Composer Studio? How have you been compiling your project? CCS is an Eclipse-based IDE and the .cproject files are part of the CDT (C/C++ plugin). The Fusion GUI migration tool may need the .cproject file for proper linking and build configurations. 

    Regards,

    Jonathan Wong

  • Hello Jonathan Wong,

    We are using .pjt files for over five years, but this tool only allows us to select .cproject files.

  • Hello Chieh-Yu,

    What version of CCS are you using? Is this a custom version of CCS?

    Can you try taking an existing .cproject file from another UCD firmware and pasting it into your directory? Since you are using a PSFB, I would copy the .cproject file from the UCD3138FW-PSFB

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/.cproject

    Regards,

    Jonathan Wong

  • Hello Jonathan Wong,

    I am using version 3.3 of CCS.

    Where can I download UCD firmware?

    Thanks.

  • Hello Chieh-Yu,

    I shared the link above but I will share the link again: https://www.ti.com/tool/UCD3138FW-PSFB

    I also sent you the direct .cproject file that comes with the UCD3138FW-PSFB.

    Regards,

    Jonathan Wong

  • Hi Joanthan,

    I downloaded the files from this link a few days ago, but it seems that version 3.3 of CCS can only open .pjt files.

    I am unable to open .cproject files, and I also cannot open the .pjt file from the link.

    Or perhaps the method of copying doesn't require opening the file with CCS, but rather starting and copying directly using a .txt format.

    Are there any steps or precautions for file copying? Is there a place to reference?

    Thanks.

  • Hello Chieh-Yu,

    Thanks for letting me know that you are using CCS v3.3. That is a very old CCS version. Have you considered upgrading to a newer version of CCS? I currently use CCS v12 but I also know CCS v6 works too.

    Also, do you have Arm Compiler v5.2.4 installed as outlined in this E2E post: https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/611874/ucd3138-changing-ccs-arm-compiler-version-to-5-2-4? That may be the reason why your .cproject files are not being generated.

    You can just directly download the .cproject file and paste it into your directory. I do not think you can open the .cproject file with CCS but you can open the .cproject file using a text editor like Notepad++. I do not think you need to worry about any precautions unless you receive build errors after copying the .cproject file into your directory.

    Regards,

    Jonathan Wong

  • Hello Jonsthan,

    We previously attempted upgrading from v3.3 to v6, but encountered too many errors that couldn’t be fixed properly, so we decided to stick with the original version.

    The current issue I’m facing is when converting from UCD3138064 to UCD3138128: if I choose "Do not write program checksum (Stay in ROM)," the programming is successful.

    However, when I choose "Write program checksum," the programming fails and causes UCD3138128 to lock up.

    I suspect that the checksum calculation method in my firmware hasn’t been updated, which leads to the failure when writing the checksum.

    My current firmware modifications are based on the information provided in this document: https://www.ti.com/lit/ug/sluub54b/sluub54b.pdf.

    However, the checksum part is quite complex, and I’d like to ask if there is any more detailed code or method available.

    Thanks.

  • Hello Chieh-yu,

    I will check to see if there is more detailed code available. Can you please elaborate on the programming failure when you choose "Write program checksum"?

    Regards,

    Jonathan Wong

  • Hello Jonathan,

    I made a mistake. The programming was successful, but the device cannot be found after the programming.

    My guess is that the checksum was written incorrectly, leading to a read failure.

    Thanks.

  • Hello Chieh-yu,

    Please accept my friend request so I can send a direct message.

    Regards,

    Jonathan Wong