Comments (7)
unique id is the basic but necessary feature for all MCU ...
from pico-examples.
All RP2040s are identical, and there's no persistent state of any kind on-device, so there's no UID for RP2040s. Flash chips tend to have a unique identifier (usually the 4Bh command), so that would get you a per-board ID on Pico.
There's some careful footwork involved in sending serial commands to the flash chip, owing to the fact you are also executing code from it, so we can look at adding a general interface to the hardware_flash
library for posting commands and getting a response back.
from pico-examples.
unique id is the basic but necessary feature for all MCU ...
Yes, it's also a standard feature on the flash chips we boot from, which have a 1:1 association with the MCU.
Small OTP stores take up a lot of space on 40nm (it's the programming hardware, not the storage) so why make people pay for a duplicate feature on their silicon? We do need to add an example though, since as you say it needs to be something that's trivial to get at in user software. I'll get on that.
from pico-examples.
Is the serial number the device presents to the USB host when running the bootloader also coming from the flash?
usb 1-4: Product: RP2 Boot
usb 1-4: Manufacturer: Raspberry Pi
usb 1-4: SerialNumber: E0C912D24340
from pico-examples.
Is the serial number the device presents to the USB host when running the bootloader also coming from the flash?
usb 1-4: Product: RP2 Boot usb 1-4: Manufacturer: Raspberry Pi usb 1-4: SerialNumber: E0C912D24340
I have a same SerialNumber in my dmesg :(
from pico-examples.
usb 1-4: SerialNumber: E0C912D24340
This is the firmware revision number. It will be the same on all chips.
from pico-examples.
merged into develop
from pico-examples.
Related Issues (20)
- Include some description about RGBW vs RGB in ws2812 example
- Question about the LCD_1602_i2c HOT 1
- [Question] Basic gatt ble server on Pico W HOT 3
- LCD1602_I2C Example does not work HOT 26
- PicoW Peripheral Secure Connection HOT 7
- Make sure there's an example of using stdio_set_chars_available_callback HOT 2
- Flashing pico fails HOT 4
- Add example of using TinyUSB CDC with extra stdio_usb iface
- Modify the pio uart examples to use DMA HOT 1
- ping examples hardcode an IP address
- Recommended launch.json is slow to connect due to no "adapter speed" setting
- No key press detected for pending in [iperf server] example HOT 1
- stdio_usb input available callback can't call other stdio functions, and pico-examples iperf assumes it can. HOT 3
- UART RX Garbage data recived HOT 5
- Pico-W to Pico-W STALL while sending UDP HOT 2
- Bug in BME280 SPI example when reading compensation parameters for humidity HOT 3
- Out-of-Memory Errors When Publishing MQTT Messages HOT 1
- host_cdc_msc_hid: incorrect len parameter in tuh_hid_report_received_cb HOT 1
- Bug in pio/uart_rx /uart_rx_intr.c HOT 6
- ir_nec variable length commands HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pico-examples.