Is there a serial number or unique ID in the chip

xixixihaha
Posts: 2
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

Dear,
Is there a serial number or unique ID in the chip for me to identify the chip?

Thanks

Espressif_Kelly
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

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.

Any more questions, please let us know.

Thanks.

User avatar
rudi
Posts: 197
Joined: Fri Oct 24, 2014 7:55 pm

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.
-------------------------------------
問候飛出去的朋友遍全球魯迪

jgustavoam
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

My suggestion - write your ID Code in Flash Memory (user parameter area) .

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

jfollas
Posts: 9
Joined: Sun Oct 18, 2015 1:23 pm

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

Espressif_Kelly
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

Hi,

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.

DarkSide
Posts: 29
Joined: Mon Apr 06, 2015 6:51 pm

Re: Is there a serial number or unique ID in the chip

Postby DarkSide » Fri Jun 16, 2017 1:59 am

I'm totally confused with this thread. So, is the value returned by system_get_chip_id() is unique for each ESP8266 chip or not?

blubb
Posts: 86
Joined: Mon Jun 22, 2015 5:35 am

Re: Is there a serial number or unique ID in the chip

Postby blubb » Mon Oct 16, 2017 4:56 am

Chip id is only 24 bit, so if more than 16.8 million chips have been manufactured, it cannot be unique. ;)

Who is online

Users browsing this forum: No registered users and 2 guests