Skip to content

upload vect #360

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

Closed
H0mAUnm opened this issue Oct 26, 2018 · 4 comments
Closed

upload vect #360

H0mAUnm opened this issue Oct 26, 2018 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@H0mAUnm
Copy link

H0mAUnm commented Oct 26, 2018

Hi
I've uploaded STM32duino-bootloader via st-link and installed windows driver using libwdi.
https://github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/binaries
https://github.com/pbatard/libwdi/releases

and I have a "Maple(COM12)" in my device manager.

but whenever I upload a sketch using upload methods st-link or serial, "Maple(COM12)" vanished.
possibly because upload vector of Arduino_Core_STM32 does not bypass the STM32duino-bootloader, so that the boot loader is lost.

how can I set a different upload vector an keep using Serial USB?

@fpistm
Copy link
Member

fpistm commented Oct 26, 2018

Hi this is currently not supported, this will comes with DFU upload method.
The VECT_TAB_OFFSET can be redefined but the linker script need to be updated

@H0mAUnm
Copy link
Author

H0mAUnm commented Oct 26, 2018

Thanks

but is there any way to get USB serial port working?

@fpistm
Copy link
Member

fpistm commented Oct 26, 2018

This is plan for the 1.5.0 release:
#344

@fpistm fpistm added this to the 1.5.0 milestone Nov 30, 2018
@fpistm fpistm added the enhancement New feature or request label Nov 30, 2018
@fpistm fpistm modified the milestones: 1.5.0, 1.5.1/1.6.0 Dec 12, 2018
@fpistm
Copy link
Member

fpistm commented May 3, 2019

VECT_TAB_OFFSET can be redefined thanks build_opt.h if required.
It will be also handle in #411 and will also covered the upload part.

@fpistm fpistm closed this as completed May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants