cpu/sam0: flashpage write / read cycle produces different results depending on code layout in flash #14929
Labels
Area: cpu
Area: CPU/MCU ports
Platform: ARM
Platform: This PR/issue effects ARM-based platforms
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
When using
mtd_write()
/mtd_read()
,0xFF
is read instead of the written buffer.Adding a hexdump after the read / write operation makes the issue go away
Also compiling with
PICOLIBC=1
makes the issue go away. Compiling withTOOLCHAIN=llvm
did make the issue appear on CI for a while.Steps to reproduce the issue
Run
tests/periph_flashpage
onsame54-xpro
Expected results
The test success
Actual results
Versions
RIOT master (f68f19a)
The text was updated successfully, but these errors were encountered: