mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 12:54:29 +01:00
hal/fm1_guard.h: the SDK's write limits are per bus master over one set of windows (C0 / C1 / PRP_WR_LIMIT_EN at 0x1EEE348 / 34C / 350, the COREX2 layout read from the SDK's sdk.elf DWARF). Window 3, _rt_start .. _sstack_top (.ram_text, .c1_text, .hot_text, both guards and both stacks of core 0), is closed to core 1 (with the two guard bands) and to every DMA. Neither writes there by design; a misread pointer of core 1 landing in core 0's stack (crash audit, cause 4) is now a fault of core 1 at once (held, CORES 1 (FAULT), the window's number kept in fm1_core1_fault.wr) and a DMA's a crash report with PRP_WR_LIMIT_ID naming it, instead of a corrupted word found later. The resets that hand RAM to the boot loader drop the new enables with core 0's (fm1_sys.h). hal/fm1_irq.h, 0.9.19's record (.noinit, the old fields in place; 0x3D0C of 0x3D50 B used): the core that faulted, USP and SSP (which stack the main loop runs on: cause 6), the other core's PC (paused and read as the SDK's handler does, only while it is live: fm1_other_live from fm1_multicore.h), the debug unit's eight culprit registers (0x1EEE360..37C), the app's stage. main.c fm1_fault: the screen labelled (the firmware, CORE n OF m, VEC PC EMU DBG RETS as always, SP USP SSP, C2 PC, WR / RD the bus masters, P the DMA's window, N the windows hit), 10 s instead of 4 for a photo; MENU > ABOUT shows CRASH n VEC / PC SP / C2 BUS until power-off. README's dual-core section says so. App slot: 567860 B of 602112 (0x93000). Image 566884 -> 567860 B; RAM .data+.bss 78996 -> 79012 B. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh