Skip to content

Add STM32F103 based programmer: blue pill#32

Merged
ArthurHeymans merged 9 commits intomainfrom
stm32-prog
May 23, 2025
Merged

Add STM32F103 based programmer: blue pill#32
ArthurHeymans merged 9 commits intomainfrom
stm32-prog

Conversation

@ArthurHeymans
Copy link
Contributor

The API to use USB is slightly different from the pico. One needs to wait connection before reading.

This also moves some remaining config files around.

Not yet tested with a flash chip.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
This is picoprog specific.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Copy link
Collaborator

@MDr164 MDr164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Not tested on flash chip yet but does not fail miserably.

The API to use the CDC ACM seems to differ slightly from RP where
waiting for connection needs to happen first.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
One some hardware like stm32 it's not guaranteed to be one transaction.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
This returns early on problems too which is desirable.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
@ArthurHeymans ArthurHeymans merged commit fb6de75 into main May 23, 2025
10 of 29 checks passed
@ArthurHeymans ArthurHeymans deleted the stm32-prog branch May 23, 2025 11:30
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.

2 participants