Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pikaelec

Pages: [1]
1
ARM Cortex / 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
NON PRODUCTION USE ONLY
Connected
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.

Guillaume



Pages: [1]