SPI> A 0; A 1
IO0 set to OUTPUT: 1
IO1 set to OUTPUT: 1
SPI> (1)
Probing:
Resume ID (0xAB): 14
REMS ID (0x90): Manufacturer ID: 85, Device ID: 14
Read ID (0x9f): Manufacturer ID: 85, Type: 60, Capacity: 15
Read SFDP (0x5a): found 0x50444653
Version: 1.0
Number of headers: 2
Param Table 0
Type: manufacturer (00)
Version: 1.0
Length: 36 bytes
Address: 0x000030
Fetching table…
e5 20 f1 ff ff ff ff 00 44 eb 08 6b 08 3b 80 bb ee ff ff ff ff ff 00 ff ff ff 00 ff 0c 20 0f 52 10 d8 08 81
Block/sector 4K erase: 1
4K erase instruction: 20
Address bytes: 0
Density: 16777215
1-1-2 fast read: 1
1-1-2 fast read instruction: 3b
1-2-2 fast read: 1
1-2-2 fast read instruction: bb
1-4-4 fast read: 1
1-4-4 fast read instruction: eb
1-1-4 fast read: 1
1-1-4 fast read instruction: 6b
2-2-2 fast read: 0
4-4-4 fast read: 0
Erase 1 size: 12
Erase 1 instruction: 20
Erase 2 size: 15
Erase 2 instruction: 52
Erase 3 size: 16
Erase 3 instruction: d8
Erase 4 size: 8
Erase 4 instruction: 81
Param Table 1
Type: manufacturer (85)
Version: 1.0
Length: 12 bytes
Address: 0x000060
Fetching table…
00 36 50 16 9e f9 77 64 fc cb ff ff
Vcc: max 3600mV, min 1650mV
HW pins: #Reset 0, #Hold 1
Deep Power Down (DPDM): 1
SW reset: 1, opcode 99
Suspend/Resume: Program 1, Erase 1
Wrap Read mode: 1, opcode 77, length 64
Individual block lock: 0, nonvolatile 0, opcode ff, volatile default UNprotected 0
Secured OTP: 1
Read lock: 0
Permanent lock: 0
That’s a lot of info! The values are not correct yet, it displays raw values instead of the calculated values.
While I was looking for an open source struct for the PTP table, I can across a universal flash write/read script at github that looks like a good candidate to add. (I still had to write my own struct)
This will be SPI mode macro (1)
in the latest firmware.