Skip to content

Fix flash size in gdb. Add a warning for ch570 ISP#899

Merged
cnlohr merged 3 commits into
cnlohr:masterfrom
monte-monte:master
Jun 3, 2026
Merged

Fix flash size in gdb. Add a warning for ch570 ISP#899
cnlohr merged 3 commits into
cnlohr:masterfrom
monte-monte:master

Conversation

@monte-monte

Copy link
Copy Markdown
Contributor

@monte-monte

Copy link
Copy Markdown
Contributor Author

Please don't merge, found one more bug.

@monte-monte monte-monte marked this pull request as draft June 1, 2026 12:12
@cnlohr

cnlohr commented Jun 1, 2026

Copy link
Copy Markdown
Owner

will not merge

@monte-monte

Copy link
Copy Markdown
Contributor Author

Added fixes for rv003usb bootloader. That affect the new v006 bootloader. It now disables interrupts befure writing flash and reenables them before exiting function.
Fixed and simplified the logic of selecting the size of the buffer/id of HID.

@monte-monte monte-monte marked this pull request as ready for review June 3, 2026 14:53
Comment thread minichlink/pgm-b003fun.c
@cnlohr cnlohr merged commit 2261fcf into cnlohr:master Jun 3, 2026
6 checks passed
@emolitor

emolitor commented Jun 6, 2026

Copy link
Copy Markdown

Just noting ❤️ for this as I was banging my head on the CH570 until I noticed this caught my exact issue. 🤦 Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug Report: GDB Memory Map Unit Mismatch (Flash size in KB vs Bytes) on CH32V003

3 participants