Using ESP32 H2 Super Mini

Just trying to get to the 'hello world' state with a ESP32-H2 Super Mini board. Seems to program up fine, but no output. Using 'ESP32H2 Dev Module' as the board selection.

void setup() 
{
  Serial.begin(9600);
}

void loop() 
{
  delay(2000);                       // wait for a second
  Serial.println("Hello");
}

Show us the error log in code tags

You have to give it some time for the serial terminal to become active --

void setup() 
{
  Serial.begin(9600);
  while(!Serial);
}

void loop() 
{
  Serial.println("Hello");
  delay(2000);
}

Try enabling 'USB CDC on boot' in the tools menu in the IDE.

This?

Sketch uses 256872 bytes (19%) of program storage space. Maximum is 1310720 bytes.
Global variables use 12712 bytes (3%) of dynamic memory, leaving 314968 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-H2 (revision v0.1)
Features: BLE
Crystal is 32MHz
MAC: 74:4d:bd:64:0d:8c:ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
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 0x00051fff...
Compressed 18464 bytes to 11869...
Writing at 0x00000000... (100 %)
Wrote 18464 bytes (11869 compressed) at 0x00000000 in 0.2 seconds (effective 657.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (effective 656.7 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 862.8 kbit/s)...
Hash of data verified.
Compressed 266960 bytes to 147237...
Writing at 0x00010000... (11 %)
Writing at 0x0001bd61... (22 %)
Writing at 0x00022c76... (33 %)
Writing at 0x00029b8b... (44 %)
Writing at 0x000301e4... (55 %)
Writing at 0x00036612... (66 %)
Writing at 0x0003c597... (77 %)
Writing at 0x000434f1... (88 %)
Writing at 0x0004a61d... (100 %)
Wrote 266960 bytes (147237 compressed) at 0x00010000 in 1.4 seconds (effective 1512.8 kbit/s)...
Hash of data verified.

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

Perfect! Thanks.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.