Stm32 port ECOs #7, port ECOs, and successfully run the helloworld Program

Source: Internet
Author: User

Some time ago, we successfully transplanted Redboot to the stm32 board and left a question: Since Redboot is a single-thread application of ECOs, is it feasible to directly run the ECOS application without Redboot? This problem is theoretically feasible based on my understanding of ECOs, because they all adopt the same Hal (Hardware Abstraction Layer ).

With this question, I want to run the simplest helloworld application on the stm32 board in two ways: use the previously transplanted redoot to boot the ECOS application in the memory (that is, the helloworld application), because I can use this method to start and run the application in projects I have developed, therefore, this method does not have any problems, because I can use this method to start and run applications in projects I have developed. On this basis, I use another method to start the helloworld application, that is, the application is directly written to the Internal flash of stm32 and runs directly.

After a period of hard work and hard work, both of the above methods verify OK. At the same time, it proves that the ECOS application can be started without Redboot boot, and can be directly started from the Internal flash of stm32. I recorded this porting process as an article and posted it on my blog. Because there is a lot of content, I will not post it here. If you are interested, you can go to my blog to learn about it. The following is the link:

Port ECOs with stm32
#7. Port eCos and run the helloworld program successfully. Configure and compile the static link library file.
Stm32 port ECOs #8, port ECOs, and successfully run the helloworld program. Compile the link to generate the helloworld program.
Stm32 port ECOs #9, port ECOs, and successfully run the helloworld program. Run the helloworld program in memory using Redboot.
Stm32 port ECOs #10, port ECOs, and successfully run the helloworld program, and run the helloworld program directly in flash.

For simplicity, the ECOS application is the simplest helloworld program.

Next, I want to implement: Use Redboot to boot the ECOS application in flash. However, we have encountered some problems. After you have finished the operation, share it with us. In addition, if you are interested in ECOs, you can add the ecos qq group: 144940146.

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.