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.

TM4C1294NCPDT: TM4C1294NCPDT

Part Number: TM4C1294NCPDT

Tool/software:

Hi Team,

I am trying to generate the Hex file from blinky project for TM4C1294NCPDT via LM Flash (ICDI), but the generated Hex is not working can you please help me to resolve the issue,
PFA of the Hex file and setting screenshots

%4E6D980000000000B5C7C3C5C5C500000000C5C500C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5
%4E648800000080C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5
%4E60E800000100C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C50000C5C5C5C500C5C5C5C5C5
%4E649800000180C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5C5
%4E6AC8000002002D845654580998000103040FC40EABC4C4412BC40853DC0B00CC93DC0B04CCD3
%4E62C800000280DC0B08CC13DC0B18CC03459D52DC0A3CCC7ADC0A0CCCBADC0A10CCFADC0A14CC
%4E68F8000003003ADC0A1CCC00A5B8DC084417CC1940DC884019280128CCBD0000007C20490000
%4E6258000003801130850030000084302A8200ED40F840EB0C00800CC00100A1D27E4141410101
%4E6E580000040070000BC00100A1D27E41018000700053D00B009200D011200120080808700000
%326068000004800073000088380C08AF21FF3821FF7070FEFE
%0E831800000469

  • Hi,

      Sorry, I'm currently on vacation for the entire week. I will look into your problem when I come back next week. Please expect delays in my response.

  • Hi,

      I think you need to use --romwidth 32 and --memwidth 32 flags so only one hex file is merged and produced. Refer to TI Arm Assembler user's guide for details. If this does not solve your problem, I will forward your question to our toolchain experts. Also refer to this post. https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1427759/tm4c1290ncpdt-tm4c1290ncpdt/5472646?tisearch=e2e-sitesearch&keymatch=romwidth#5472646

  • Hi Charles below is my hex file need to flash via ethernet through TCP code 
    can you please me how to parse this hex file to exactly flash the hex file and make it work

    :020000040002F8
    :2000000000020020B5040200C7040200C3040200C5040200C5040200C5040200000000000C
    :20002000000000000000000000000000C5040200C504020000000000C5040200C504020094
    :20004000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C504020048
    :20006000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C504020028
    :20008000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C504020008
    :2000A000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C5040200E8
    :2000C000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C5040200C8
    :2000E000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C5040200A8
    :20010000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C504020087
    :20012000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C504020067
    :20014000C5040200C5040200C5040200C50402000000000000000000C5040200C5040200DD
    :20016000C5040200C504020000000000C5040200C5040200C5040200C5040200C5040200F2
    :20018000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C504020007
    :2001A000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C5040200E7
    :2001C000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C5040200C7
    :2001E000C5040200C5040200C5040200C5040200C5040200C5040200C5040200C5040200A7
    :200200002DE9F04784461F465648DFF85491DFF85881036809EA030398451BD000244FF0C9
    :20022000010A4FF0030E0AFA04F319420FD0DCF8C43F66000EFA06F5AB43CCF8C43FDCF865
    :20024000C45FC2F34113B3402B43CCF8C43F641C082CE8DB530827BFDCF800350B43DCF867
    :2002600000358B43CCF80035930827BFDCF804350B43DCF804358B43CCF80435D30827BF0D
    :20028000DCF808350B43DCF808358B43CCF80835130927BFDCF818350B43DCF818358B43BF
    :2002A000CCF8183503684C46454623409D4209D0520927BFDCF83C250A43DCF83C258A43C5
    :2002C000CCF83C257A0827BFDCF80C250A43DCF80C258A43CCF80C25BA0827BFDCF81025C7
    :2002E0000A43DCF810258A43CCF81025FA0827BFDCF814250A43DCF814258A43CCF81425C9
    :200300003A0927BFDCF81C250A43DCF81C258A43CCF81C2500680440A54214D0B80A27BF4C
    :20032000DCF844050843DCF84405884317F4407FCCF8440519BFDCF840050843DCF8400541
    :200340008843CCF84005002F19BFDCF8280520EA0101DCF828050143CCF82815BDE8F08753
    :200360000000FF7000E00F40000005107CB5154C204600F049F8204600F02AF80028FAD037
    :20038000114E0121304600F085F8104C0025012130460A4600F08BF80095009884420CD846
    :2003A000304601212A4600F082F8009500988442EDD90098401C0090F8E70098401C00902B
    :2003C000EBE7C0460C0800F000400640A08601000C4AC108C0F3072301F4FF5100F0FF0064
    :2003E000A1F53031D21821F07E41120F41EA027141EA800141F000700168002001B10120E4
    :200400007047C04600EA0F400B4AC108C0F3072301F4FF5100F0FF00A1F55031D21821F0A5
    :200420007E41120F41EA0271012241EA800141F0007002607047C04600E60F40530827BF39
    :20044000D0F800340B43D0F800348B439208C0F8003427BFD0F820241143D0F8202422EAA4
    :200460000101C0F820147047084880F308880849086840F47000086000BF00BF00F01DF834
    :200480000020FFF773FF012000F019F80002002088ED00E038B501220C4605460823FFF76D
    :2004A000AFFE012221462846FFF7C8FF38BD40F821207047FFF7D8BF70470120704700BFDA
    :0804C000FEE7FEE7FEE7FEE7A0
    :00000001FF
    

    Please help me to parse this hex file correctly and how to flash this ? 

  • Hi Bala,

      Please refer to https://en.wikipedia.org/wiki/Intel_HEX on how to interpret hex. Hex is not tied to a specific MCU platform. I'm not sure why you want to use HEX. Why don't you just use binary? If you follow the stock TivaWare bootloader example, you would specify the binary .bin file. Using hex file means you need to remove the headers in the hex file. 

  • Hi Charles ,

    I need to encrypt the firmware upgrade file by AES 128 bit encryption, so only i need .HEX file which can be easily encrypted and decrypted