Skip to content
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

sam9x60-curiosity: Parsing hardware information from EEPROM fails #169

Open
LeSpocky opened this issue Aug 10, 2023 · 0 comments
Open

sam9x60-curiosity: Parsing hardware information from EEPROM fails #169

LeSpocky opened this issue Aug 10, 2023 · 0 comments
Assignees

Comments

@LeSpocky
Copy link
Contributor

After fixing the twi assignment in the config I get the following debug (loud) output:

EEPROM: Loading AT24xx information ...
EEPROM: BoardName | [Revid] | VendorName
EEPROM Buff:
@address: 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf
0x304ad4: 0x20 0x4d 0x43 0x48 0x49 0x50 0x20 0x52 0x44 0x43 0x15 0x31 0x44 0x44 0x34 0x0         MCHIP RDC.1DD4.
0x304ae4: 0x0 0x0 0x53 0x41 0x4d 0x39 0x58 0x36 0x30 0x43 0x55 0x52 0x20 0x34 0x0 0x0   ..SAM9X60CUR 4..
Failed to parse the board name: D4

EEPROM: Using default information

This does not match the struct hw_info_map very well, but it would match the struct hw_info_alt_map. However the field revision_mapping at offset 0x30 which seems to encode this is 0x0 in this dump. Not sure if this is a problem of this board only or some more generic problem?

@gehariprasath gehariprasath self-assigned this Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants