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.

How to Load .Bin file to TM4C1230D5PMI using J-Link

Other Parts Discussed in Thread: SEGGER

Hi,

We need to send .Bin file to customer and customer is having J-Link,

How to program .Bin file through J-link, any help on .flash or settings for same

Device is  TM4C1230D5PMI

and LM Flash programer doesnt support J-link

Regards

Paddy

  • Hi Paddy,

    I don't believe that any of our utilities officially support J-Link emulators but Segger makes a flash utility for J-Link debuggers called J-Flash.

    http://www.segger.com/jflash.html

  • PADMANABHAM HAMSA said:

    We need to send .Bin file to customer - and they have J-Link,

    W/in IAR - Under Project > Options > Output Converter...

    Beyond requested binary - Motorola, Intel Extended, and Simple (don't ask) are offered.  (via listbox)

    Note that both J-Link and TI Stellaris may serve as delivery vehicles...

  • Hi

    Thanks a lot for your support,

    I have done Programming through Jlink

    Below is snap, and attached is .jflash file

      AppVersion = 45800
    [GENERAL]
      ConnectMode = 0
      CurrentFile = "C:\Users\padmanabham\Desktop\20_07_13.bin"
      DataFileSAddr = 0x00000000
      GUIMode = 0
      HostName = ""
      TargetIF = 0
      USBPort = 0
      USBSerialNo = 0x00000000
    [JTAG]
      Device0_ID = 0x4BA00477
      Device0_IRLen = 0x00000004
      Device0_Name = "CoreSight JTAG-DP"
      IRLen = 0
      MultipleTargets = 2
      NumDevices = 1
      Speed0 = 12000
      Speed1 = 12000
      TAP_Number = 0
      UseAdaptive0 = 0
      UseAdaptive1 = 0
      UseMaxSpeed0 = 0
      UseMaxSpeed1 = 0
    [CPU]
      CheckCoreID = 1
      ChipName = "TI LM4F130E5QR"
      ClockSpeed = 0x00F42400
      Core = 0x030000FF
      CoreID = 0x4BA00477
      CoreIDMask = 0xFFFFFFFF
      DeviceFamily = 0x00000003
      EndianMode = 0
      HasInternalFlash = 1
      InitStep0_Action = "Reset"
      InitStep0_Comment = "Reset and halt target"
      InitStep0_Value0 = 0x00000000
      InitStep0_Value1 = 0x00000000
      NumExitSteps = 0
      NumInitSteps = 1
      RAMAddr = 0x20000000
      RAMSize = 0x00008000
      ScriptFile = ""
      UseAutoSpeed = 0x00000000
      UseRAM = 1
      UseScriptFile = 0
    [FLASH]
      aSectorSel[128] = 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
      AutoDetect = 0
      BankName = ""
      BankSelMode = 1
      BaseAddr = 0x00000000
      CheckId = 0
      CustomRAMCode = ""
      DeviceName = "LM4F1xxE internal"
      EndBank = 127
      NumBanks = 1
      OrgNumBits = 32
      OrgNumChips = 1
      StartBank = 0
      UseCustomRAMCode = 0
    [PRODUCTION]
      AutoPerformsErase = 1
      AutoPerformsHardLock = 0
      AutoPerformsHardUnlock = 0
      AutoPerformsProgram = 1
      AutoPerformsSecure = 0
      AutoPerformsSoftLock = 0
      AutoPerformsSoftUnlock = 1
      AutoPerformsStartApp = 0
      AutoPerformsUnsecure = 0
      AutoPerformsVerify = 1
      EnableProductionMode = 0
      EnableTargetPower = 1
      EraseType = 2
      ProductionDelay = 0x000001F4
      ProductionThreshold = 0x00000BB8
      ProgramSN = 0
      SerialFile = ""
      SNAddr = 0x00000000
      SNInc = 0x00000001
      SNLen = 0x00000008
      SNListFile = ""
      SNValue = 0x00000001
      TargetPowerDelay = 0x00000014
      VerifyType = 1
    

    remove .txt extension to use with Segger J-Flash

    Regards

    Paddy

  • Your method will work - but is far from quick/efficient/seamless. 

    Should IAR be available/in use @ customer site - the process you requested is "automatic" - and enables quick/eased/on-site source code updates. 

    IAR usage (as earlier post high-lighted) requires no other program or file modification to flash code into the MCU.  (but does require the presence of source code)

    While your opening post did not so state - should customer not have IAR/use experience - or should you/your group be supplying private "code" (non-source) - the method you outline  should work providing customer properly powers/connects target board & has suitable J-Link drivers installed... 

    Proper board handling procedures - with emphasis upon ESD safeguards - should also be included with code delivery...

     

  • Hi CB1,

     

    Thanks,

    We will not share source code, we will send only .bin file to customer and customer will program at their end using J-Link, 

    So only I was searching for too which can do just programming job of .bin file into MCU,

    I heard IAR EW  flash loder (30days eval version) also can do same (Programming .BIN to MCU) But I am not aware of procedure.

    will see if any one can help on this.

     

    Regards

    Paddy