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/TM4C1290NCPDT: How to migrate usbserialdevice_DK_TM4C129X_TI code to TM4C1290NCPDT

Part Number: TM4C1290NCPDT
Other Parts Discussed in Thread: TM4C129XNCZAD,

Tool/software: Code Composer Studio

I'm trying to start with the USB sample code listed in the header to my bespoke board.  In prior questions I posted I was told that this was the recommended way to proceed.  So I have a copy of the code in a project created for the TM4C1290NCPDT.  In targetConfigs/Tiva TM4C1290NCPDT.ccxml [Active] the processor and the Connection are correct.  In usbserialdevice.cfg [TI-RTOS] (in XDCtools) -> Program the Platform Information shows Device name = TM4C129XNCZAD.  If I go to Project -> RTSC Tools -> Platform -> Edit/View brings up the "activity spinner" but nothing ever happens and I have to kill CCS.

CCS 8.3.1.00004

XDCtools (I don't know which one is actually being used) 3.30.1.25, 3.51.1.18, 3.31.0.24, 3.32.2.25, 3.32.0.06 and IDE Tooling is 3.51.1.18

tirtos_cc13xx_cc26xx_2_21_00_06

tirtos_tivac_2_16_00_08

Any help on how I should proceed to do this migration would be greatly appreciated.

Thanks

P.S. I've contacted Mindshare Advantage to try to get some consulting help with this but have yet to hear back.  Recommendations for any other consultants would also be appreciated.

  • Hi Doug,

    Just to confirm I have things correct...

    1. You have a working example on TI's DK-TM4C129X board (which has the platform ti.platforms.tiva:TM4C129XNCZAD).

    2. You have a custom board that you'd like to move the example to and it is a TM4C1290NCPDT.

    You need to do the following things

    a. Make a back-up copy of the working DK-TM4C129X example...never hurts to do this:)

    b. Update the linker file memory map (if needed).

    c. Change the Project Properties->General->Products->Platform to TM4C1290NCPDT (see picture below as a reference).

    d. Change the Project Properties->Build->Arm Compiler-Predefined Symbols PART_TM4C129XNCZAD -> PART_TM4C1290NCPDT (see picture below as a reference).

    Todd

  • Hi Todd,

    Thanks so much for your response.

    1)  Yes, the USB example runs fine on my DK-TM4C129X board.

    2)  Yes.

    a)  Gotcha

    b)  Will do.

    c)  Ah, this I had not done, now fixed.

    d)  Symbol was already correctly set.

    However, when I open usbserialdevice.cfg [TI-RTOS], -> Program, the Platform Information still lists the Device as TM4C129XNCZAD and the Platform name as ti.platforms.tiva:TM4C129XNCZAD

    Regards,

    Doug

  • Did you rebuild also? When I open the .cfg in XGConf (the graphical tool) and look at Program, I see the new platform name. Can you include a snapshot of it?

    Note: also make sure you are not using peripherals that don't exist on the new device. For example, when I rebuilt my test app, I got the following error since it is not on the TM4C1290NCPDT device.

    "../DK_TM4C129X.c", line 243: error #20: identifier "GPIO_PF1_EN0LED2" is undefined

    Todd

  • Hi Todd,

    Yes, I did rebuild.  Attached are screenshots.

    Thanks

    DougPlatform Info 012220.pdf

  • Doug,

    Could you attach your *.cfg file here?

    Also if you look at Todd's first screen shot it tells you which XDCTools version the project is using and the target and platform its building against.
    Can you confirm that your project looks that same as that?

    Judah

  • Hello Judah,

    XDCtools version is 3.32.0.06_core.

    Attached is the .cfg file.

    Thanks

    Doug

    usbserialdevice.cfg

  • Doug,

    Doesn't look like the .cfg file has anything platform specific in it.

    It must be the platform field specified in the General->Product->Platform field that changes the platform as Todd has suggested.

    If you've already done that, then I'm not sure where the issue is.  I would suggest, create a new project using the correct platform
    and copy your source files over.

    Judah

  • In the “Getting Started with TI-RTOS” workshop video, and from several other places, I’ve been told to “Always start by copying an example”. But my multiple attempts to take one of the examples – one with a CPU in the same TM4C129 “family”, I’ve had no real success. The main problem I run into is that I am unable to change the project’s CPU from TM4C129X… to my TM4C1290…, and an E2E person has told me that it is not possible to change the CPU once the project has been created. My prior e-mails with you and communications on E2E are about this problem; in XDCtools -> Basic Options “ti.platform.tiva:TM4C129XNCZAD” even though everywhere else in the project it cpu is correctly listed as TM4C1290NCPDT – and no one has been able to tell me how to fix it. As far as I can get it is that I can control some LEDs but about ¼ of the time the (Serial USB example) seems to be running OK but the other ¾ of the time the LED’s will light but the program immediately exits.

    So I decided to start with a very simple RTOS project and build up from there. But I can’t ! If I create a project a project with Getting Started -> New Project -> SYS/BIOS -> TI Target Examples -> Typical, or with Getting Started -> New Project -> SYS/BIOS -> More Examples -> Search using Import Wizard -> typical, when I build I get “Build of Libraries failed”.

    I have created a set of board support files for my board: MV_TM4C1290.cmd, .c, and .h. When I go to Getting Started -> New Project -> Open Import Wizard and browse to the directory with my files no projects are discovered.

    So I’m still at my basic question that I’ve asked several times on E2E, “How do I create a simple TI-RTOS project for my board ?”

    Thanks

    Doug

  • I should also mention that I started with a fresh install of CCS 9.30

  • Note - this has Not been resolved.  How does one create a simple TI-RTOS application on a TM4C1290NCPDT?

  • I've decided to stop struggling with this and go a non-RTOS route.