davidgfnet / stm32-dfu-bootloader

A DFU bootloader targeting STM32F103 in just 4KB
GNU General Public License v3.0
113 stars 40 forks source link

DFU & Interrupts #7

Closed jamesle-0812 closed 3 years ago

jamesle-0812 commented 3 years ago

Hi there, I'm interested in your works which can help me get rid of st-link. However I wonder whether your project supports interrupts mode. I have tried a few dfu bootloaders and both of them didn't support the mode. I have talked to an expert and he said that the code should be reprogrammed NVIC default address to work with the new vector table. Besides, do you mind to compile a .bin file and upload it with some basic instructions? It would be helpful to a beginner like me. Thanks in advance!

davidgfnet commented 3 years ago

The bootloader does indeed reprogram the base VTOR to the user table so that interrupts work. The stack pointer is also read from there.