Is there a serial number or unique ID in the chip
-
- Posts: 3
- Joined: Wed Oct 28, 2015 1:40 pm
Is there a serial number or unique ID in the chip
Postby xixixihaha » Wed Oct 28, 2015 1:43 pm
Is there a serial number or unique ID in the chip for me to identify the chip?
Thanks
-
- Posts: 140
- Joined: Mon Oct 27, 2014 10:40 am
Re: Is there a serial number or unique ID in the chip
Postby Espressif_Kelly » Wed Oct 28, 2015 7:26 pm
CHIP_ID can not be used to uniquely indicate of ESP8266EX, because the chip_id of chips for the same batch is same.
You can use MAC address as the identifier. MAC address is pre-burned in the chip by efuse before delivery and MAC address of each chip are different.
Any more questions, please let us know.
Thanks.
Re: Is there a serial number or unique ID in the chip
Postby rudi » Thu Oct 29, 2015 6:10 am
Espressif_Kelly wrote:
CHIP_ID can not be used to uniquely indicate of ESP8266EX, because the chip_id of chips for the same batch is same.
mhm... CHIP ID is not UID ?
ups ...
why ?
...

i have think this - that the chip id can not be an uid of ESP8266ex time ago..
i work with CHIP ID but i use UID from Flash too for signing - ( MAC too )
because there is only "Chip_id" command and not a "Chip_uid" command in the api.
...
But thank you that yóu clear this now -
Chip Id is no UID.
..
Espressif_Kelly wrote:
You can use MAC address as the identifier. MAC address is pre-burned in the chip by efuse before delivery and MAC address of each chip are different.
mac is ok for validate boot code -
but ..because mac can be change by user too ( in bootloader code / after boot ) so there is no realy UID there after booting - you can use the uid from flash - this is the only UID in the system that is an UID - 64 BIT and can not be change.
viewtopic.php?f=7&t=982&p=3790#p3790
there is no api command for this in the sdk -
but you can read it by using right command bit for your connected mode.
see the flowchart.
history:
viewtopic.php?f=7&t=111&p=3775#p379

i am happy to used this just in time

and build the pcb as base of this

best wishes
rudi

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
-
- Posts: 4
- Joined: Tue Nov 10, 2015 4:00 am
Re: Is there a serial number or unique ID in the chip
Postby jgustavoam » Tue Dec 22, 2015 6:37 pm
Sector :User param
definition: Store user parameter(4 x 4KB)
region: 240KB~256KB
size:16KB
Reference : 99C-ESP8266__OTA_Upgrade__EN_v1.6.pdf
ESP8266 firmware upgrade through Wi-Fi
Re: Is there a serial number or unique ID in the chip
Postby jfollas » Fri Jan 01, 2016 12:34 pm
Espressif_Kelly wrote:Dear Sir,
CHIP_ID can not be used to uniquely indicate of ESP8266EX, because the chip_id of chips for the same batch is same.
You can use MAC address as the identifier. MAC address is pre-burned in the chip by efuse before delivery and MAC address of each chip are different.
This does not sound right. The output of SDK function system_get_chip_id() matches the low bytes of my MAC address.
Are you saying that all chips from the same batch will have the same MAC address? Or at least the same low bytes of the MAC address?
Example from my chip:
Chip ID: 0x062853
Station MAC Address: 5c:cf:7f:06:28:53
AP MAC Address: 5e:cf:7f:06:28:53
-
- Posts: 140
- Joined: Mon Oct 27, 2014 10:40 am
Re: Is there a serial number or unique ID in the chip
Postby Espressif_Kelly » Wed Feb 03, 2016 10:44 am
Sorry for the mistake.
Chip id is is the original MAC address.
We have provided api that can be used to modify mac address, but chip id won't be changed.
Thanks.
Re: Is there a serial number or unique ID in the chip
Postby jassi007 » Mon Mar 26, 2018 10:33 am
blubb wrote:Chip id is only 24 bit, so if more than 16.8 million chips have been manufactured, it cannot be unique.
The Chip ID is 32 bit. Check the return value of system_get_chip_id() function.
Re: Is there a serial number or unique ID in the chip
Postby jassi007 » Mon Mar 26, 2018 10:39 am
Hence, around 4.3 billion different Chip IDs.
And with Espressif claiming to have shipped 100 million chips as of January 2018, I believe the chip ID is unique so far.
Who is online
Users browsing this forum: No registered users and 65 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.