Skip to content

Rewriting READ/WRITE tests for the FLASH controller#952

Open
Patrick-Pataky wants to merge 26 commits into
x-heep:mainfrom
Patrick-Pataky:pp/rewriting_tests
Open

Rewriting READ/WRITE tests for the FLASH controller#952
Patrick-Pataky wants to merge 26 commits into
x-heep:mainfrom
Patrick-Pataky:pp/rewriting_tests

Conversation

@Patrick-Pataky

@Patrick-Pataky Patrick-Pataky commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Added more extensive tests to test more cases, in a more regular way.
The library is also updated to be easier to use.

Format of the tests:

  • Read:
for each speed in [standard speed, quad speed] (with DMA):
   for each mode in [polling, interrupt]:
     test read with:
       - single sector
       - two sectors
       - single byte
       - unaligned single sector
       - unaligned cross sector
  • Write:
    The write tests are very similar, with the addition of testing an overlapping write over the two sectors right after doing the first one. This allows to verify that the FSM resets for every write.

@Patrick-Pataky Patrick-Pataky marked this pull request as draft April 14, 2026 14:25
@Patrick-Pataky Patrick-Pataky marked this pull request as ready for review May 6, 2026 07:38
Comment thread sw/applications/example_w25q128jw_read/main.c
@davideschiavone davideschiavone self-requested a review June 2, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants