Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
0x0fe opened this issue Apr 9, 2023 · 4 comments
Closed
1 task done

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

0x0fe opened this issue Apr 9, 2023 · 4 comments
Labels
Status: Pending Merge Pull Request is ready to be merged

Comments

@0x0fe
Copy link

0x0fe commented Apr 9, 2023

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.
@0x0fe 0x0fe added the Status: Awaiting triage Issue is waiting for triage label Apr 9, 2023
@mrengineer7777
Copy link
Collaborator

Likely resolved by pr #7958

@0x0fe
Copy link
Author

0x0fe commented Apr 10, 2023

this commit was merged into 2.0.7?

@me-no-dev
Copy link
Member

not part of 2.0.7, but will be of 2.0.8

@mrengineer7777 mrengineer7777 added Status: Pending Merge Pull Request is ready to be merged and removed Status: Awaiting triage Issue is waiting for triage labels Apr 10, 2023
@0x0fe
Copy link
Author

0x0fe commented Apr 10, 2023

alright, well noted, i will modify my local version for now.

@0x0fe 0x0fe closed this as completed Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Merge Pull Request is ready to be merged
Projects
None yet
Development

No branches or pull requests

3 participants