Remember once stm32f103 bootloader debugging

Source: Internet
Author: User

A period of time to change the STM32 of the bootloader program, but has not been tested, today put the app to write well after adding bootloader debugging together

found that the app in the 0x80000000 address serial port can send and receive data, in the 0x8003400 address can only send can not receive data, compared to various registers, found that there is no configuration error, really big head.

Suspect that the interrupt vector may be a problem, and then consulted the relevant data, found the need to set the offset of the interrupt vector, set the interrupt vector offset to 0x3400 to work properly.

The library functions in the following way:




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.