Need Help, ESP32H2 can be upload in Arduino IDE but Unable to used

lor_pig2
Posts: 2
Joined: Tue Oct 22, 2024 6:35 am

Need Help, ESP32H2 can be upload in Arduino IDE but Unable to used

Postby lor_pig2 » Fri Nov 15, 2024 3:11 am

ESP32H2 can be upload in Arduino IDE but Unable to find in the BLE Scanner,I use the official routine(up-to-date),
1.png
1.png (413.97 KiB) Viewed 602 times
my settings are as follows
2.png
2.png (281.16 KiB) Viewed 602 times
the upload result is as follows:

Sketch uses 1192317 bytes (90%) of program storage space. Maximum is 1310720 bytes.
Global variables use 38960 bytes (11%) of dynamic memory, leaving 288720 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\48813\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.8.1/esptool.exe" --chip esp32h2 --port "COM10" --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode keep --flash_freq keep --flash_size keep 0x0 "C:\Users\48813\AppData\Local\Temp\arduino\sketches\FCE59D270669D43BE1C66F6F7FED8BCD/BLE_notify.ino.bootloader.bin" 0x8000 "C:\Users\48813\AppData\Local\Temp\arduino\sketches\FCE59D270669D43BE1C66F6F7FED8BCD/BLE_notify.ino.partitions.bin" 0xe000 "C:\Users\48813\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC2/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\48813\AppData\Local\Temp\arduino\sketches\FCE59D270669D43BE1C66F6F7FED8BCD/BLE_notify.ino.bin"
esptool.py v4.8.1
Serial port COM10
Connecting...
Chip is ESP32-H2 (revision v0.1)
Features: BLE, IEEE802.15.4
Crystal is 32MHz
MAC: 74:4d:bd:ff:fe:60:df:1f
BASE MAC: 74:4d:bd:60:df:1f
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00138fff...
Compressed 19616 bytes to 12518...
Writing at 0x00000000... (100 %)
Wrote 19616 bytes (12518 compressed) at 0x00000000 in 0.4 seconds (effective 398.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 411.6 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 586.1 kbit/s)...
Hash of data verified.
Compressed 1215888 bytes to 678977...
Writing at 0x00010000... (2 %)
Writing at 0x0001cd83... (4 %)
Writing at 0x0002cd8c... (7 %)
Writing at 0x000384d8... (9 %)
Writing at 0x0003e9b8... (11 %)
Writing at 0x000447ee... (14 %)
Writing at 0x0004c6bc... (16 %)
Writing at 0x00052830... (19 %)
Writing at 0x00059406... (21 %)
Writing at 0x0005f6ba... (23 %)
Writing at 0x000663a4... (26 %)
Writing at 0x0006c941... (28 %)
Writing at 0x000741e4... (30 %)
Writing at 0x0007a7c7... (33 %)
Writing at 0x00081718... (35 %)
Writing at 0x00087950... (38 %)
Writing at 0x0008e118... (40 %)
Writing at 0x00094a91... (42 %)
Writing at 0x0009bc32... (45 %)
Writing at 0x000a2bea... (47 %)
Writing at 0x000aa952... (50 %)
Writing at 0x000b1045... (52 %)
Writing at 0x000b7e51... (54 %)
Writing at 0x000bf9a5... (57 %)
Writing at 0x000c8c5a... (59 %)
Writing at 0x000d067a... (61 %)
Writing at 0x000d719c... (64 %)
Writing at 0x000dd4fc... (66 %)
Writing at 0x000e35c3... (69 %)
Writing at 0x000e98b8... (71 %)
Writing at 0x000efb92... (73 %)
Writing at 0x000f5e1b... (76 %)
Writing at 0x000fbd62... (78 %)
Writing at 0x0010228f... (80 %)
Writing at 0x0010861b... (83 %)
Writing at 0x0010e562... (85 %)
Writing at 0x0011478c... (88 %)
Writing at 0x0011a1de... (90 %)
Writing at 0x0012061c... (92 %)
Writing at 0x0012907e... (95 %)
Writing at 0x0012ed39... (97 %)
Writing at 0x0013504e... (100 %)
Wrote 1215888 bytes (678977 compressed) at 0x00010000 in 11.6 seconds (effective 841.1 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
================================================

but I cannot find in the BLE Scanner ,Did I miss a crucial step?

lbernstone
Posts: 829
Joined: Mon Jul 22, 2019 3:20 pm

Re: Need Help, ESP32H2 can be upload in Arduino IDE but Unable to used

Postby lbernstone » Sun Nov 17, 2024 9:25 am

Make sure you are using the latest version (3.0.7) and using the matching Scan sketch.
I'd also recommend you use the NimBLE library rather than the included bluedroid.
If you need additional help, you will need to access the serial log, and set core debug level to verbose. It is difficult to troubleshoot without some output.

Who is online

Users browsing this forum: brebisson and 35 guests