fpgapad
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
fpgapad [2025/01/22 17:25] – arisotura | fpgapad [2025/03/19 22:59] (current) – arisotura | ||
---|---|---|---|
Line 34: | Line 34: | ||
[[https:// | [[https:// | ||
- | The codebase is a bit of a mess. I had started adding support for write commands, but there are still issues with it as of now. | + | The codebase is a bit of a mess. |
Line 69: | Line 69: | ||
Write data to SDRAM. | Write data to SDRAM. | ||
- | This command takes 4 parameter bytes: 3 for the address (MSb's first), 1 for the length to read. Address and length are expressed in 8-byte chunks. | + | This command takes 4 parameter bytes: 3 for the address (MSb's first), 1 for the length to write. Address and length are expressed in 8-byte chunks. |
- | After the parameter bytes are sent, data bytes should be sent to be written to memory. | + | After the parameter bytes are sent, data bytes should be sent to be written to memory. A 0x01 byte is returned when the write has completed. |
**Debug output** | **Debug output** | ||
Line 88: | Line 88: | ||
^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
- | | 0x02 | Page program | + | | 0x02 | Page program | |
| 0x03 | Read | | | 0x03 | Read | | ||
| 0x04 | Write disable | | | 0x04 | Write disable | | ||
| 0x05 | Read status (basic status bits supported) | | | 0x05 | Read status (basic status bits supported) | | ||
| 0x06 | Write enable | | | 0x06 | Write enable | | ||
- | | 0x20 | Subsector erase (experimental) | + | | 0x20 | Subsector erase | |
| 0x9E/0x9F | Read chip ID (fixed 20, | | 0x9E/0x9F | Read chip ID (fixed 20, | ||
| 0xB7 | Enter 4-byte address mode | | | 0xB7 | Enter 4-byte address mode | | ||
- | | 0xD8 | Sector erase (experimental) | + | | 0xD8 | Sector erase | |
| 0xE9 | Leave 4-byte address mode | | | 0xE9 | Leave 4-byte address mode | | ||
| 0xF2 | Debug | | | 0xF2 | Debug | |
fpgapad.1737566730.txt.gz · Last modified: 2025/01/22 17:25 by arisotura