Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0f093a679179
Choose a base ref
...
head repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6a554efaf114
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 7, 2020

  1. Copy the full SHA
    6a554ef View commit details
Showing with 9 additions and 0 deletions.
  1. +9 −0 scopeprotocols/SPIFlashDecoder.cpp
9 changes: 9 additions & 0 deletions scopeprotocols/SPIFlashDecoder.cpp
Original file line number Diff line number Diff line change
@@ -230,6 +230,15 @@ void SPIFlashDecoder::Refresh()
state = STATE_IDLE;
break;

//Fast read (with dummy clocks)
case 0x0b:
current_cmd = SPIFlashSymbol::CMD_FAST_READ;
state = STATE_ADDRESS;
address_bytes_left = 2; //TODO: this is device specific, current value is for W25N
addr = 0;
addr_start = din->m_offsets[iin+1];
break;

//Read the status register
//TODO: address is is W25N specific, normal NOR flash jumps right into the data
//(need enum parameters!!!)