mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_FlashIface: add comment on alternate byte usage with fast read
This commit is contained in:
parent
c7bd87ce33
commit
820f3b81d1
@ -930,7 +930,7 @@ bool AP_FlashIface_JEDEC::start_xip_mode(void** addr)
|
|||||||
// Set QSPI module for XIP mode
|
// Set QSPI module for XIP mode
|
||||||
AP_HAL::QSPIDevice::CommandHeader cmd;
|
AP_HAL::QSPIDevice::CommandHeader cmd;
|
||||||
cmd.cmd = _desc.fast_read_ins; // generally 0xEB for 1-4-4 access
|
cmd.cmd = _desc.fast_read_ins; // generally 0xEB for 1-4-4 access
|
||||||
cmd.alt = 0xF0; // add M0-7 bits in alt to make up 32-bit address phase
|
cmd.alt = 0xF0; // add M0-7 bits in alt to make up 32-bit address phase, sec 8.2.11 W25Q64JV reference
|
||||||
cmd.cfg = AP_HAL::QSPI::CFG_ADDR_SIZE_24 |
|
cmd.cfg = AP_HAL::QSPI::CFG_ADDR_SIZE_24 |
|
||||||
AP_HAL::QSPI::CFG_CMD_MODE_ONE_LINE |
|
AP_HAL::QSPI::CFG_CMD_MODE_ONE_LINE |
|
||||||
AP_HAL::QSPI::CFG_ADDR_MODE_FOUR_LINES |
|
AP_HAL::QSPI::CFG_ADDR_MODE_FOUR_LINES |
|
||||||
|
Loading…
Reference in New Issue
Block a user