Output useful values for Memory Type / Memory Size #1

Closed
opened 2018-12-18 23:57:17 +00:00 by mithro · 1 comment

Currently it just does;

Memory type: 86
Memory size: 01
Currently it just does; ``` Memory type: 86 Memory size: 01 ```
Owner

We now do this, but it's based on a lookup table. If we don't recognize a part, it prints out "unknown".

pi@raspberrypi:~/fomu-flash $ sudo ./fomu-flash -i
Manufacturer ID: Adesto (1f)
Memory model: AT25SF161 (86)
Memory size: 16 Mbit (01)
Device ID: 14
Serial number: ff ff ff ff
SR1: 02
SR2: 00
SR3: ff
We now do this, but it's based on a lookup table. If we don't recognize a part, it prints out "unknown". ```sh pi@raspberrypi:~/fomu-flash $ sudo ./fomu-flash -i Manufacturer ID: Adesto (1f) Memory model: AT25SF161 (86) Memory size: 16 Mbit (01) Device ID: 14 Serial number: ff ff ff ff SR1: 02 SR2: 00 SR3: ff ```
xobs closed this issue 2018-12-19 04:41:31 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xobs/fomu-flash#1
No description provided.