AP_FlashIface: add comment on alternate byte usage with fast read

This commit is contained in:
Andy Piper 2023-02-02 17:38:40 +00:00 committed by Andrew Tridgell
parent c7bd87ce33
commit 820f3b81d1

View File

@ -930,7 +930,7 @@ bool AP_FlashIface_JEDEC::start_xip_mode(void** addr)
// Set QSPI module for XIP mode
AP_HAL::QSPIDevice::CommandHeader cmd;
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 |
AP_HAL::QSPI::CFG_CMD_MODE_ONE_LINE |
AP_HAL::QSPI::CFG_ADDR_MODE_FOUR_LINES |