Skip to content

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

@LeSpocky

Description

@LeSpocky

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions