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.

DK-TM4C129X: Unable to Find Option TM4c1230C3PM in IAR

Part Number: DK-TM4C129X

Hello 

After installed TivaWare_C_Series-2.2.0.295 for DK-TM4C129x eval board, I loaded dk-tm4c129x.eww in IAR 6.21. Following messages pop up. Sound like uP specific .h file missing. 

WTD: Unavailable option selection: 'TexasInstruments TM4C1230C3PM'.

When compile driverlib, following error message shows. 

Error[Og006]: Syntax error in inline assembly: "Error[446]: The selected cpu/core does not support this status register" C:\ti\TivaWare_C_Series-2.2.0.295\driverlib\cpu.c 81

Can you point to me where to get inc file for TM4C129x eval board.

Thanks,

Yang

  • Hi Yang,

      Which TivaWare package did you download? Can you download the complete TivaWare package again? See below highlighted in yellow. This is the complete TivaWare library which will support DK board and others. 

  • Hi Charles,

    Now I see "tm4c129encpdt.h" under Tivaware folder:

    C:\ti\TivaWare_C_Series-2.2.0.295\inc

    However, when IAR loads dk-tm4c129x.eww, it looks for header files in its own inc folder which is under

    C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\inc

    I guess this is dummy question. How do you allow IAR looking headers at a different folder?

    Thanks,

    Yang

  • Hi Yang,

      I'm not familiar with IAR tool. You will need to specify the search paths in order for the tool to find them. For CCS, below is the #include search path. 

  • Hi Charles,

    The problem is not only path not included. I follow the instruction in the in your PDF, but compile fails. Now I am communicating IAR for TM4C129x device definition file. They claim they have one for TM4C129x in IAR 6.5 or later. I believe you have one in IAR5.4 kick start version. If you can find it, please send to me. Otherwise, I will go to IAR and we can close the case. 

    TivaTm for C Series Development and Evaluation Kits for IAR Embedded Workbench®

    Thanks,

    Yang

  • Hi Yang,

      Can you please tell me which exact file(s) you are looking for?

      You should be able find examples for dk-tm4c129x board in C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\dk-tm4c129x directory. 

       Take the hello example for example, the binary, project file, startup file specific to IAR are provided. 

  • Hi Charles,

    I wish I know exactly the file name. It is important device option for driverlib. This is copy from driverlib.ewp.

    <option>
    <name>OGChipSelectEditMenu</name>
    <state>TM4C1230C3PM TexasInstruments TM4C1230C3PM</state>
    </option>

    When ewp loaded, TM4C1230C3PM device cannot be found in the IAR device list and set device to None, rather than TM4C1230C3PM. Device should be part of IAR installation. According to IAR, the IAR5.4 and 6.2 I am using does not included this device. It is available after 6.5.

    Interestingly according to your PDF, your IAR 5.4 startkick version on TI USB drive has the device. I think it must be a special IAR 5.4 version for TI.  Unfortunately the TM4C129x eval kit I get from Digikey does not have TI USB drive. Don't know why. I have to download all the file from your web. If you can find it in the original USB drive for dkTM4c129x, that is what I need.  

     

    Thanks,

    Yang

  • I installed IAR 8.3 which contains the TM4C series processor device definition file. It is compiled successfully. Thanks. 

  • Hi Yang,

      Sorry, I hit the wrong button. I don't know if mis-click any button to make this post resolved. Did you click to resolve? Or it was my mistake. 

    When ewp loaded, TM4C1230C3PM device cannot be found in the IAR device list and set device to None, rather than TM4C1230C3PM.

      I'm a bit confused. You are working on the DK-TM4C129x board. This is a development board for TM4C129x MCU. I don't understand why TM4C1230C3PM comes into the picture. TM4C1230C3PM is part of the TM4C123 family of MCU. It is a different MCU. Shouldn't you be looking for device part numbers like e.g. TM4C129XNCZAD which is the MCU on the DK-TM4C129x. If you cannot find these parts, it is possible that the IAR version that you are using are missing them. I will suggest you contact IAR on how to install them. 

      I think below is a similar option page in CCS where you can see you can specify 

     Device should be part of IAR installation. According to IAR, the IAR5.4 and 6.2 I am using does not included this device. It is available after 6.5.

    If the later versions of IAR support TM4C, can you try the latest version like 6.5 or later?

    Interestingly according to your PDF, your IAR 5.4 startkick version on TI USB drive has the device. I think it must be a special IAR 5.4 version for TI.

    Sorry, I really don't know anything about a TI USB drive for this development kit. Let's make sure we are talking about the same development board. Is below the development board you are using? Per product page on ti.com, it does not come with a USB drive. Perhaps, at one point of time in the very beginning when this kit was produced, it might have come with some type of USB drive. However, I have not seen one myself. I really don't have any history as to a custom IAR version for TI. I also suppose IAR 5.4 is a very old version. If you are using IAR, I will recommend you migrate to the latest version. I think IAR will also make the same recommendation.