Skip to content

Bluepill support usb bootloader #1357

Answered by dragonmux
yashikada asked this question in Q&A
Discussion options

You must be logged in to vote

So.. two things:

  1. in theory, having taken a quick look at that bootloader, yes, it should work (though we provide a DFU bootloader, so.. why?)
  2. the platform determines the section start point for the firmware, your additions to src/Makefile are in conflict with the existing ones for the platform (also, the interrupt vector handlers aren't in a section called .isr_vector in the BMP firmware). See the platform Makefile chunk below:

LDFLAGS = $(LDFLAGS_BOOT) -Wl,-Ttext=0x8002000

It would be useful if you could share what you're doing to try to write new firmware to your board.
Another thing to note is that for …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@yashikada
Comment options

@dragonmux
Comment options

@yashikada
Comment options

@dragonmux
Comment options

Answer selected by yashikada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants