Hello,
I'm wondering, is it possible to read some identification details from the MCU through a sketch?
I have a board that is labelled "ESP32-WROOM-32" but I can't perform a Wi-Fi scan.
I'm assuming that I haven't selected the correct board in the Arduino IDE.
But which one is the correct one?
I'm desperate at the moment.
Thanks for any help.
Is it possible to read tech details from the MCU?
-
fphilip.On
- Posts: 6
- Joined: Sun Apr 20, 2025 5:07 pm
-
lbernstone
- Posts: 1132
- Joined: Mon Jul 22, 2019 3:20 pm
Re: Is it possible to read tech details from the MCU?
Certainly. You can see how arduino-esp32 does it using esp_chip_info.h in ESP.getChipModel(). Esptool can also show you this info, and won't let you upload code written for a different variant onto a device.
-
fphilip.On
- Posts: 6
- Joined: Sun Apr 20, 2025 5:07 pm
Re: Is it possible to read tech details from the MCU?
That is very interesting - TY.
Sounds worth looking into it.
Is it advisable to add the ESP-IDF extension to my Code/PlatformIO and test it there?
(I think the extension is very space hungry)
Sounds worth looking into it.
Is it advisable to add the ESP-IDF extension to my Code/PlatformIO and test it there?
(I think the extension is very space hungry)
-
fphilip.On
- Posts: 6
- Joined: Sun Apr 20, 2025 5:07 pm
Re: Is it possible to read tech details from the MCU?
-> Ibernstone: Is there perhaps an example somewhere of the use of "esp.getchipmodule()" which could clone?
-
fphilip.On
- Posts: 6
- Joined: Sun Apr 20, 2025 5:07 pm
Re: Is it possible to read tech details from the MCU?
I installed the esptool on Linuix Mint through
After the installation was complete, I tried to get some information from the ESP; but wasn't able to get anything.
e.g. or .
Every time I get an explanation message how to use esptool.
I following the online documentation https://docs.espressif.com/projects/esp ... index.html without any success.
Am I too stupid to use this tool?
Code: Select all
sudo apt install esptoole.g.
Code: Select all
esptool -p /dev/ttyUSB0 flash-idCode: Select all
esptool -p /dev/ttyUSB0 chip-idEvery time I get an explanation message how to use esptool.
I following the online documentation https://docs.espressif.com/projects/esp ... index.html without any success.
Am I too stupid to use this tool?
Last edited by fphilip.On on Tue Apr 22, 2025 5:04 pm, edited 1 time in total.
Re: Is it possible to read tech details from the MCU?
The commands are flash_id and chip_id, so with an underscore rather than a minus.
Who is online
Users browsing this forum: No registered users and 1 guest
