-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pico_get_unique_board_id: Unique id is not always unique #1132
Comments
@ThinkTransit do you have any more detail here? Was this a flash binary or a no flash build? No flash binaries are not expected to have a unique ID. On RP2040 the unique ID comes from the flash chip. I assume they are not sharing the same flash chip? |
@liamfraser I flashed the boards with the Pimoroni micropython firmware. Boards aren't using the same flash chip. Looking through the micropython code it calls pico_get_unique_board_id(). I checked all my boards and it is only 2 boards that have the same unique_id so maybe it is a freak occurrence? |
I think this might just be a freak occurrence. Potentially we could mix in the WiFi mac address on Pico W @peterharperuk, although that would require initializing the wireless driver at start of day which is probably undesirable. |
@liamfraser thanks yes it must be, I haven't seen it happen with any other boards. Maybe I just won the UUID lottery. Will reopen it I come across it again. |
I bought 50 luatos-rp2040 boards 6 monthon ago for my project and find they return the same unique id. |
@Tonykids Any idea where I can get one of those boards for testing a fix for this? |
I have 2 Pico W boards that return the same unique id with pico_get_unique_board_id()
For Pico W devices this can be resolved by combining with the mac address to form a unique combination, not sure what options exist for non wireless version.
The text was updated successfully, but these errors were encountered: