Continue to discuss online upgrade of IAP of MSP430

Source: Internet
Author: User

Completed a simple IAP upgradeProgramOnly simple programs can be erased.

When the program starts, check the command. If it times out, run the main program. Otherwise

Upgrade mode: splits the binfile and sends program data to the corresponding format.

Board, while the Board directly implements program erasure, only one verification and feedback,

There is no effective verification mechanism. Because only Bin decomposition can be implemented manually

Write a small program to test it. It can still run. If you are depressed, you still have to click the upper level.

Machine programming, otherwise many tests will not be implemented.

However, further thinking shows that I cannot upgrade this program again as long as the upgrade fails.

(The main program has been erased), so there will certainly be a lot of problems, it seems that the main

The program is separated, so that after the program fails, the command can be used again to enter the upgrade,

But now the program structure is found to be a little bad, sad, really don't change, write

It's really a pain to add features.

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.