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.

TM4C123GH6PM: TM4C123GH6PM Bin file request

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: SEGGER

Hello, 

I have been working with the TM4C123GH6PM on an evaluation board, I have created my own board with this chip on there and looking for a bin file to load on the chip but not entire sure where to find that 

could someone point me in the correct direction to find the bin file for this chip. I been using J-Link lite to flash it but don't have the correct file to have the Debugger seen by the PC

Thanks 

  • Hello Navdeep,

    A bin file would just be the firmware to flash onto the device.

    From your second paragraph, it sounds like the core issue here is that either the debugger is not seen by the PC, or the debugger is not seeing the TM4C device. Neither of these would be solved by a .bin file.

    If you are not seeing the debugger on the PC, then you should go to Seggar’s website and find the drivers for the debugger.

    If the J-Link is not seeing the TM4C then we may need to review the schematic. For your information, here is our JTAG documentation to compare your schematic to: http://www.ti.com/lit/an/spma075/spma075.pdf

  • Hi Ralph,

    The Im able to view the Memeroy Of the board using Jlink -Mem so i know that i can see it thought the JTAG, and i have all the segger drivers installed When i plug the board into the PC after flashing the bin that i have, It shows up in device manager but as an Unknown USB Device( Device Descriptor request failed). I was using an Evaluation board before and that works fine being seen by the PC. Hopefully that makes sense 

  • Hello Navdeep,

    Okay that is a different situation then. If your board is meant to be a USB device and it is not enumerating, that means that Windows does not recognize the PID/VID being used as one that has registered software drivers with Windows. The application board and our example codes have a dedicated TI VID/PID for the TM4C EVM's that allow them to be enumerated.

    You might be interested in this though: https://e2e.ti.com/support/microcontrollers/other/f/908/t/396596

  • Hi Ralph,

    I have gotten VID/PID number for the board. What do i do with the number after i have gotten it. Not much on what to do with it after online

    Thanks 

    Nav

  • Hello Navdeep,

    Do you mean how to set it up so that the board reports the numbers you have to Windows via the USB descriptors, or do you mean how to get your VID/PID numbers registered with Windows?

  • Hi Ralph,

    I think i would like to know both of those things. I have the number from the link you provided but not sure what to do with it. Im still new to this process so the more  information you have the better 

    Thanks 

    Nav

  • Hello Navdeep,

    If you got the numbers from the link that I provided then I think those would already be registered in Windows.

    Is the VID 0x1cbe? If so that would be registered already.

    At that point you just need to make sure the descriptors are setup right though if you didn't change anything then I wouldn't see why there would be a problem as the default USB Library setup is for that VID.

    You can find the VID and PID's in usb-ids.h in the usblib folder.

    The descriptors are setup in usb_structs.c:

    tUSBDCDCDevice g_sCDCDevice =
    {
        USB_VID_TI_1CBE,
        USB_PID_SERIAL,
        0,
        USB_CONF_ATTR_SELF_PWR,
    	ControlHandler,
        (void *)&g_sCDCDevice,
        USBBufferEventCallback,
        (void *)&g_sRxBuffer,
        USBBufferEventCallback,
        (void *)&g_sTxBuffer,
    	g_pui8StringDescriptors,
        NUM_STRING_DESCRIPTORS
    };

  • Hi Ralph,

    Yes the VID i got was 0x1cbe, Im a little lost as to where this should go. Right now i can only access the board VIA a J Tag port and the J Link flash lite. Is this something i would add during that process or would i have to add this number another way.

    When i look in device manager i see no VID or PIN is assigned to it. Not sure how i can do that.

    Thanks 

    Nav

  • Hello Navdeep,

    The VID and PID are going to be included as part of the program, so they are set at compile time based on your code configuration. If the VID/PID are the same on the example board and that enumerates, then I would imagine from a code perspective it should be fine.

    Have you looked at the schematics for your USB interface? Might be worth double checking this portion. Also I'd like to know if you are have VBUS and the USB0ID pins connected to the IC or not. If not, you may need to use an additional API.

    Potential hardware issue aside, honestly it's quite likely you are going to need to get a USB analyzer to see what your board is send (or not sending) to the Windows PC in order to understand what the root cause is here.