nuttx/Documentation/platforms
Marco Casaroli 75f8249405 arch/arm/rp23xx: Erase and program the flash in small steps.
The flash MTD driver disabled interrupts for a whole request.  A
multi-block erase or a large write kept them off for seconds.

Erase one 64K block (or one 4K sector where the range is not block
aligned) and program one 256 byte page per step.  Enable interrupts and
release the other core between steps.  A single block erase is still
long, but that is the limit of the flash.

Also, on SMP:

- Do not send the pause call to the CPU that does the operation.
  nxsched_smp_call_single_async() runs it at once on that CPU.
- Keep the isolation data in a static, not on the stack.  The other
  CPU spins on it while the flash is busy.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-10-07 18:45:43 -03:00
..
arm arch/arm/rp23xx: Erase and program the flash in small steps. 2026-10-07 18:45:43 -03:00
arm64 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
avr Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
ceva
hc Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
mips Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
misoc Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
or1k Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
renesas Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
risc-v Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
sim Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
sparc Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
tricore Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
x86 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
x86_64 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
xtensa Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
z16 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
z80 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
index.rst Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00