hal/fm1_flash_map.h (after Melodee's): the SMK's windows (store A 0x9D000-0xBAFFF,
OTA 0xBB000-0xBFFFF, store B USRFLASH 0xC2000-0xE9FFF, store C 0xEB000-0xF3FFF), the
marker sector 0xEA000 (whole-sector erase only), and FL_PROTECTED: the head, BTIF /
USRTRIM 0xC0000-0xC1FFF, USR + 0xFE000, key_mac. The RAM driver (fm1_flash.h) refuses
on FL_GUARD = FL_RANGE_OK && !FL_PROTECTED, also under the loader's own range; on the
FM-1 FL_GUARD is FL_RANGE_OK (byte-identical build).
storage.c: an SMK st_sector table (78 sectors: 38 A/B pairs, the voice bank, the owner
tag 'SMK37DATAJIANT' at 0xAF000), st_owner_check and the stock-mapping marker release
(after Melodee's); storage_hw.c releases the marker before the first write into
USRFLASH. ota.c: staging 0xBB000 / record 0xBFF00 and a board check (-15 not an SMK
flash.bin, -16 region table not the device's, -17 USR place). Loader: app area
[0x4000, 0x9D000) and the OTA area only; the record scan never leaves the OTA area; a
package whose region table is not the device's is refused (-14).
project.c: on the SMK, flash only with FELUCCA_SMK_FLASH=1 and only for JEDEC
0xEB6014 (FL_JEDEC_OK); the default SMK build stays RAM-only.
Tests: tests/smk_flash_test.c (every protected sector / page / byte refused by every
allow-list and the driver net; straddles, wraps; the table; a simulated SMK: first
boot, every object saved and loaded, the marker released once, forbidden erases and
programs refused, protected bytes identical), tests/smk_ldr_test.c, ota_test.c SMK
build; wired into run_tests.sh.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
fm1_cc.h: BOARD_SMK37 (default 0) and SMK_MODEL. build.py: --board / --model (or
$BOARD / $MODEL); the SMK build adds -DBOARD_SMK37=1 -DSMK_MODEL=..., goes to
build/smk37-MODEL/felucca-smk37-MODEL.fwsc and carries the identity 'SMK-37 Pro_900' /
'SMK-37 Elite_900' (release: _9XY). felucca.c: FELUCCA_UART 0 on the SMK (PH8 is a
matrix row), #error otherwise. loader.c: 'ota-' SMK_MODEL '_900'. ota.c: the parm
identity 'ota-' SMK_MODEL '_016'. usb.c: product 'JIANT SMK-37' / 'JIANT SMK Update'.
The FM-1 build gets no new flag and is byte-identical (felucca.bin, ota.bin, .fwsc).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
Parameter locks: hold a step on SEQ > STEP and turn a knob; SEQ > AUTO
LIST lists and edits the locks and automation; lock edits undo.
SEQ TOOLS (SEQ held on the SEQ pages): CLEAR, REVERSE, SHIFT, RANDOM,
COOK, BEAT and the DRUM lane tools.
REC layer (REC held): CLEAR, CLICK, COUNT-IN, CLICK LEVEL.
Metronome and count-in (MENU > AUDIO), never in USB audio.
MIDI CC map (5, 7, 10, 71..75, 91, 93, 94); DRUM lane levels (EDIT >
LANES, LANES 2; projects FUN9).
USB audio input at 44.1 or 48 kHz.
Step recording at the cursor (SEQ > STEP, REC while stopped); restore
the last session at power-on (MENU > SYSTEM > RESTORE LAST).
Eight more ARP modes; MENU > CONTROL > SCALE LEDS; MENU > DISPLAY >
SCREEN OFF.
The header in three parts with a metronome; the new splash; the
power-on LED sweep; DRUM grid beats on the key LEDs.
Fast knob turns keep every click; KNOB ACCEL up to x8, on the FX and
GLO layers too (#126).
MASTER read from the pot before the audio starts, keys silent under
the splash (#137).
The update loader checks the whole package before erasing anything;
robustness against damaged packages and stored data; sanitizer and
fuzz runs in tests/run_tests.sh.
Smaller icons in flash.
Firmware, update loader, build tools, assets, web installer and editor,
host tests. Four tracks (three synth parts and a drum track), user presets
with live editor sync (protocol v2), editor protocol v3 (tracks), the
command-line installer tools/fm1_install.py.