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.

用CCS6.0创建tm4c123gh6pmi的工程,板子是launchpad,驱动自动安装了最新,ccs也自动更新为最新,

Other Parts Discussed in Thread: TM4C123GH6PM, EK-TM4C123GXL, TM4C1294NCPDT

创建工程时发现,includes中缺少期望中的tm4c123gh6pmi.h   ,而g工程里多了一个tm4c123gh6pm.c。

编译空的main没有错误,Debug时提示:the project bai is not compatible with any CPU in the target configuration.

pm和pmi有本质区别吗,创建工程时没有pmi

芯片写的tm4c123gh6pmi板子上写的EK-tm4c123gxl,两者什么关系

  • 楼主用的是CCS吧。

    1.Debug的提示看起来工程中的target configuration file不对,这是设置MCU和仿真器类型的。

    2.tm4c123gh6pmi是芯片的型号。EK-tm4c123gxl是开发板的名字,这个板子用了这个芯片而已。


    建议楼主先熟悉一下TivaWare中建立好的工程,搞清楚源码,头文件,库文件,target configuration 文件,启动文件,link文件的相互关系,然后再创建自己的工程,就很顺利了。

    我们的wiki上也有很详细的创建工程的例子。

  • 看了一下网上的CCS5教程,要先建立target文件,于是就建立了,但是test时出现如下问题,显然缺少文件,我用的CCS6最新下的

    还有PM和PMI是通用的吗,因为建立的时候没找到PMI。缺的文件怎么找?

    [Start: Texas Instruments XDS100v2 USB Emulator_0]

    Execute the command:

    %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

    [Result]


    -----[Print the board config pathname(s)]------------------------------------

    C:\Users\ThinkPad\AppData\Local\TEXASI~1\
    CCS\ti\0\0\BrdDat\testBoard.dat

    -----[Print the reset-command software log-file]-----------------------------

    This utility has selected a 100- or 510-class product.
    This utility will load the adapter 'jioserdesusb.dll'.

    An error occurred while soft opening the controller.

    -----[An error has occurred and this utility has aborted]--------------------

    This error is generated by TI's USCIF driver or utilities.

    The value is '-600' (0xfffffda8).
    The title is 'SC_ERR_LIB_ANY_LOCATE'.

    The explanation is:
    A required dynamic library could not be located.
    The library isn't on the search path.

    [End: Texas Instruments XDS100v2 USB Emulator_0]

  • I代表的是工作温度范围。芯片信号就到PM就可以了。

    你这个测试的时候,芯片信号,仿真器型号设置的对吗,JTAG连接的对吗,目标板工作正常吗

  • 问题解决了,是没有找对仿真器,但还是不太懂仿真器明明和芯片同名,在CCS里却叫Stellaris In-Circuit Debug Interface.试了半天

  • 我们M4的开发板上集成的仿真器名字叫ICDI(In-Circuit Debug Interface)仿真器。这个仿真器的实现方式有好多种,老的开发板有用FTDI芯片做的,新的就是使用一颗M4做的。其实说白了就是USB转JTAG、串口等的功能。

    所以在TM4C123x的LaunchPad上你可以看到2个TM4C123GH6PM,一个是专门用来做ICDI仿真器的,另外一个才是你开发的目标MCU。

    对应的,如果是TM4C1294的LaunchPad的话,就是一个TM4C123GH6PM做仿真器,另外一个TM4C1294NCPDT是目标MCU了。