Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When the bin file download is being done, how I return the device from DFU to UART? #48

Open
dleung18 opened this issue Jun 10, 2022 · 2 comments

Comments

@dleung18
Copy link

I compiled and uploaded the bluepill bootloader to the generic stm32f103c board.
The web page popped up, and I could flash my bin file into the board with no error.
Now, my application wants to see the board as a comport for communication.
What can I do to get the usb uart port to appear?
Any help is appreciated.

@devanlai
Copy link
Owner

Hi @dleung18,
dapboot just handles installing new firmware through USB DFU. Once you've used it to install your firmware, your application is in control and it's up to your code/firmware to act like a USB virtual COM port if that's what you want. If you already have the firmware side working and you want to interact with it from the browser, you may want to look into the Web Serial API.

@dleung18
Copy link
Author

dleung18 commented Jun 12, 2022 via email

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

No branches or pull requests

2 participants