Skip to the content.

E13 — V5F core started; SD CMD6 memory overwrite found

   
ID E13
Date 2026-12-02
Status done
Decisions D90, D91 (DECISIONS.md)
Board #1 (rev A, 12 MHz crystals)
Firmware + results fw/tests/2026-12-02-10-adcdual-v5f-flash (sources, binaries, results.txt)
Scripts v5fbench.py

Summary: V5F runs at 384 MHz next to the V3F (shared-RAM mailbox), 106× the V3F on flash code; its mailbox exposed an SD DMA writing 448 bytes past a buffer (fixed, D91).

What

Start the second core (QingKe V5F) with ch32fun StartV5F, check its clock and speed against the V3F, and check that both cores and every existing test still work.

Results

Lesson

A second core polling a mailbox is a free memory-corruption detector; dump the neighbours of a variable that changes by itself.

Chip facts and numbers: fw/LEARNINGS.md. All experiments: index.