Skip to content

Possible isssue on ESP.getChipModel() with D0WDR2 #8054

Closed
@0x0fe

Description

@0x0fe

Board

ESP32D0WR2

Device Description

custom module with ESP32D0WDR2

Hardware Configuration

no relevant

Version

v2.0.7

IDE Name

arduino IDE

Operating System

windows 10

Flash frequency

80M

PSRAM enabled

yes

Upload speed

921600

Description

ESP.getChipModel() returns Unknown, but it should return ESP32-D0WDR2-V3
revision is returned correctly by ESP.getChipRevision() (3 in this case).

return "ESP32-D0WDR2-V3";

Sketch

uint32_t chipId = 0;
void get_chip_id(void){

  for(int i=0; i<17; i=i+8) {
    chipId |= ((ESP.getEfuseMac() >> (40 - i)) & 0xff) << i;
  }

  printf("ESP32 Chip model = %s Rev %d\n", ESP.getChipModel(), ESP.getChipRevision());
  printf("%d cores\n", ESP.getChipCores());
  Serial.print("Chip ID: "); Serial.println(chipId);
}


### Debug Message

ESP32 Chip model = Unknown Rev 3
2 cores
Chip ID: xxxxxxx

Other Steps to Reproduce

It works fine with other variants, like D0WDQ6 for example.

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions