Author Topic: Read Serial Number from command line on a LPC1114  (Read 4436 times)


  • Jr. Member
  • **
  • Posts: 1
    • View Profile
    • Email
Read Serial Number from command line on a LPC1114
« on: May 04, 2016, 02:23:16 pm »
Dear guys,

I tried to write a command line with FlashMagic to read the serial number of the LPC1114. I use a serial interface to connect the computer to the uC.

First in the spec the device should be selected like this DEVICE(lpcxxx,speedInMhz), but I had to add another parameter to pass the comman correctly DEVICE(LPC1114/302,12,0) , I don't know why but it works only with this third parameter.

Second one on the GUI when I read the device signature I get the serial number in the same time. With the command line I get only the device ID, here the response I got :

C:\Documents and Settings\user>FM.exe COM(6,115200) DEVICE(LPC1114/302,12,100) INTERFACE(FDIUSBICPLPC2K) HARDWARE(BOOTEXEC,300,300) READSIGNATURE
Flash Magic Version 9.73.4146
8051/XA Driver Version 3.50.3965
ARM UART Driver Version 5.00.3965
ARM Cortex UART Driver Version 7.13.4146
ARM Ethernet Driver Version 2.21.3980
ARM Cortex Ethernet Driver Version 2.60.3885
ARM CAN Driver Version 2.25.3660
(C) Embedded Systems Academy 2000-2016 All rights reserved
Device selected
Device ID: 624955435

My question is : is there a way to get the seral number of the chip ? Which command should be sent ? I tried READSERIAL READSERIALNUMBER but I was not able to find the correct command.

Thank you very much for your help.


Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Read Serial Number from command line on a LPC1114
« Reply #1 on: May 09, 2016, 01:36:42 am »

Page 61 of the manual describes the DEVICE command and shows all three parameters with a description for each. Where are you seeing it described with two parameters?

Reading of the serial number from the command line has been added in version 9.75.

Embedded Systems Academy, Inc.
support at esacademy dot com