AnsweredAssumed Answered

LPC54114 flash programming using UART(ISP Mode)

Question asked by Senthil Kumaresan on Jan 22, 2019
Latest reply on Feb 11, 2019 by Alice_Yang

Step 1 : 

---------

I have OM13089 LPCeXPRESSO 5411X Rev B. Using MCUXpresso IDE, developed small LED code to glow LED as RED P_0_29. Verified that code in IDE and generated the bin file using the below command in IDE. 

 

arm-none-eabi-size "${BuildArtifactFileName}"
arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"
checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"
arm-none-eabi-objcopy -I binary -O ihex "${BuildArtifactFileBaseName}.bin" "${BuildArtifactFileBaseName}.hex"

 

Step 2 :

---------

      - Connected LPC5411x UART pin with USB-TTL. From my PC, opened the COM port using RealTerm serial application and sent the following sequence.

 

- Put the LPC in ISP mode

- Sent "?\r\n" -> Received "Synchronized"

- Sent "Synchronized" -> Received "Ok"

- Sent "J\r\n" -> Received the proper Device ID. 

- Copied the generated .bin file MCUXpress to my PC local directory. 

- Sent "W 536870912 14224" -> Write at RAM address 0x2000 0000(SRAM0 - start address) bytes - 14224. 

         -> Received "0"

-> Uploaded the bin file 

-> Sent "R 536870912 14224" -> Able to read the content that i have uploaded. 

-> Sent "U 23130" -> Received "0"

-> Sent "G 536870912 A" -> No response and the code is not getting executed. 

 

I tried with SRAM1 start address as well. Same observation. 

 

The same code is working in MCUXpress. Am i missing somethings? Please share your thoughts/inputs. 

Outcomes