Commit Graph

32 Commits

Author SHA1 Message Date
yuquanjun db03ac501c Fix broken size-16 ASCII glyphs used by transpose key names.
Regenerate ascii_1608 from LiberationSans and lower binarization threshold so E/A/B strokes stay complete when switching keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 07:12:41 +08:00
yuquanjun d654581f4d Fix mixer labels order, vivid track colors, and solid blue knobs.
Map 伴奏/弦/麦/麦混响 to correct assets, boost track saturation, fill knob disks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 21:30:59 +08:00
yuquanjun f0c60a0024 Draw charge percent with MiSans glyphs for aligned 50%.
Replace bitmap-font % with shared-baseline Semibold digit bitmaps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 21:11:28 +08:00
yuquanjun 2bca0c5673 Add full-screen 0904 charge art to UI0902 resource pack.
Charge page draws UI0902_CHARGE_SCREEN instead of legacy 160x190 Charg.bin; pack/gen/publish paths keep the asset in sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 06:27:12 +08:00
yuquanjun 8c3c14ccf8 Drive local song titles from CSV and add 海阔天空 glyphs.
UI shows LocalSongNames instead of bare indices; pack regenerates the header; WQY font gains the four display characters.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:15:46 +08:00
yuquanjun f179a46c5d Fix teacher accomp issues and add ExtFlash chip-erase helper.
Pick fires on downstroke; #IV drops an octave; local songs use 2.bin; transpose updates notes without restart; intro starts on key I; boot string volume/PC corrected.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 17:06:02 +08:00
yuquanjun c724ddd2c9 Align settings UI to 0904 and fix WQY glyph packing.
Settings hub/mixer/system/restore match 0904 layouts; regenerate Chinese bitmaps without shrinking native 16px cells so strokes stay continuous.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 14:43:32 +08:00
yuquanjun d4973f633e Include UI0902 bitmaps in release ExtFlash package.
Colleague boards showed garbled mode-select when only the tone .res was flashed; ship combined tone+UI0902 image for full external Flash programming.
2026-09-04 12:02:55 +08:00
yuquanjun c05301d8b9 Map tone Flash banks for pack 0903 and bump firmware to 0.2.0.
Point normal/expert/universal ADDRESS at 1.bin/3.bin bases, add ExtFlash_Tone_Addr.h plus pack/publish helpers for paired MCU+.res releases.
2026-09-04 11:12:22 +08:00
yuquanjun 8f0d0a3a52 Fix status-bar battery to match mode.png with intact percent.
Replace the mistaken fill bitmap that embedded "80%" text with a solid level bar, right-align size-9 "N%" with reserved 100% width, and refresh Free/Expert battery updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 08:50:00 +08:00
yuquanjun e56f480135 Tune free-mode card spacing and restore readable Latin glyphs.
Move KEY/BPM values and chevrons toward mode.png rhythm, drop musical-flat b and digit dilation so Db and body digits stay complete without looking bold.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 08:28:56 +08:00
yuquanjun 9516586a9c Widen size-16 Latin cells to 10px for Cb/101.
Liberation C is 10px wide; packing into 8px crushed hero values. Keep ascii_1608 symbol with 32-byte glyphs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 07:53:05 +08:00
yuquanjun 65875d5e9c Tighten glyph packing margins and widen digit tracking.
Regenerate size 13/16 WQY/Liberation cells with edge margin and a fuller flat for Cb, and bump ASCII advance so chord numbers match mode.png spacing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 07:47:51 +08:00
yuquanjun b36c9c785e Fix WQY Latin metrics and stop duplicate timbre text.
Use Liberation Sans for KEY/BPM/Db with wider ASCII cells, redraw KEY/BPM after value refresh, and reuse the centered timbre layout on refresh so a second line no longer appears.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 19:33:36 +08:00
yuquanjun 0d906e9e9f checkpoint: MiSans Semibold + card textboxes before WQY MicroHei test.
Save current UI textbox layout and font regen so we can restore with
git reset --hard checkpoint/misans-before-wqy if MicroHei trial fails.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 17:59:58 +08:00
yuquanjun 89e7401955 Align mode pages to 0819 font sizes and four-key bottom nav.
Apply label/body/hero hierarchy (11/13/16), enlarge section digits to 13, and switch the bottom bar to 万能|普通|专业|设置 while keeping touch/key logic.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 11:58:08 +08:00
yuquanjun 65f38bb5a3 Fix TAB missing glyphs and tighten mode-page typography.
Use size-12 tabs with full 节/类/型/地/目 coverage, denser MiSans bitmaps, dark row chrome, and safer section-label draw order; skip ASCII regen by default.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 09:19:29 +08:00
yuquanjun c8e32958a7 Restore 演奏段落 and reduce Chinese glyph clipping.
Widen TAB text margins at 11px, regenerate section/timbre labels, and regenerate MiSans bitmaps with padding so strokes are not cut.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 08:28:30 +08:00
yuquanjun 2f84c3bb9b Add 0902 full-screen boot logo to external UI resource pack.
Draw POWER_ON from UI0902_BOOT_LOGO, add ui boot RTT preview command, and harden RTT flash ACK pacing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 16:57:36 +08:00
yuquanjun 41052d334d Align mode-select and status bar with 0902/0819 design.
Fill three mode rows to the screen bottom without a nav bar, and fix the status bar to one volume meter, centered Bluetooth, and battery percentage.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 16:23:18 +08:00
yuquanjun e62c2270af Fix mode-row asset pairing and add RTT external UI flash path.
- Map 0902 rows as 16/19 universal, 17/20 normal, 18/21 expert
- Add flash ui0902 RTT writer; avoid LCD dump stealing down bytes
- Restore UI_ReturnToModeSelect; shrink flash-trans RAM use
- Disable mode-select debug touch crosses

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 15:24:49 +08:00
yuquanjun f8675e3529 Reskin UI with 0902 design assets and 3-icon bottom navigation.
- Mode select page draws 222x84 row bitmaps from external flash
- Mixer page uses flash track/knob images with picture labels
- Settings and restore pages re-laid out with 0902 row style
- New status bar icons and battery outline+clip fill rendering
- Add LCD_WR_PIC_ClipX and LCD_WR_PIC_FROM_FLASH_Trans draw APIs
- Replace 4-tab bar with GUI_NAV_BAR 3-icon bottom navigation
- Swap 0831 assets for UI0902 in the IAR project file

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 13:37:25 +08:00
yuquanjun 42534a28b8 Add RTT touch diagnostics: tp status/live commands and live event monitor.
Harden reset/recover when RTT is missing, and stream touch/UI events only on press for field debugging.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 21:59:13 +08:00
yuquanjun 956eeee1a5 Add RTT sys reset command and remote reboot script with CPU resume.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 12:31:53 +08:00
yuquanjun f6ae34892f Document verified J-Link log dump workflow and harden flash script.
Kill stale cspybat before download; note successful RTT log export sample in LOG_README.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 11:45:36 +08:00
yuquanjun 7fea921727 Add J-Link RTT logging module with RAM ring buffer and dump tool.
Log boot/power/touch/key/UI/NVM events; export via rtt_log_dump.py for field diagnostics.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 11:24:10 +08:00
yuquanjun b996c8876e Use designer 0831 PNG bitmaps for mode-select labels.
Replace on-device Chinese glyphs with MiSans icon+text row assets so the trial format matches the designer's export.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 09:41:13 +08:00
yuquanjun 68e3a37883 Fix mode-select layout/battery margins and enable reliable post-flash boot.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 08:20:24 +08:00
yuquanjun 27cf30cbe4 Align UI focus colors with 0819 spec and fix J-Link flash script usage.
Only the focused control uses the blue gradient; unfocused widgets use the dark normal background. Drop invalid Commander commands from IAR jlink_script_file to stop V5.10m parse popups.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 06:10:13 +08:00
yuquanjun 1d5fe8073d Auto-select Cortex-M4 on flash/capture so J-Link never prompts for device.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 20:11:17 +08:00
yuquanjun f3774b069b Add J-Link RTT LCD capture and fix mode-select MiSans glyphs.
Keep AT32F403ARCT7 RAM at 96KB, soft-CS GRAM readback over RTT, and add missing 普/通/业 to CHS16 so mode labels render fully.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 19:50:01 +08:00
yuquanjun 43083fd3f1 Switch LCD UI to MiSans bitmap fonts and align typography/colors with 0819 UI spec.
Regenerate Chinese/English font tables, extend LCD driver for new sizes, and update screen layouts; add gen_misans_font.py for reproducible font builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 11:24:06 +08:00