Debug UCOS program on S3C2410 In the MDK Environment

Source: Internet
Author: User

I really didn't want to do this at the time. First, the hardware of S3C2410 is complicated and you don't want to read it one by one. Second, I am afraid that I may not be able to solve the problem in a short period of time. I need to check the arm assembly and the 2410
StartCode. Later, I started with reluctance. Fortunately, I found a modified version on the Internet. After modification, I can apply it to my board. This is just a weakness in the United States. This transplanted thing will lead to a dead loop in the idle task every time every single step is followed for debugging, and then the undefined exception ends.

 

Later, I made some changes. The record is as follows:

 

1. Define the variable as the const or static type. If the previous Task parameter is passed to the task id, it cannot be printed successfully. After this is changed, it can be printed!

 

2. The serial port output is slow, mostly because the task stack is too small.

 

3. Task 1 has been executed for a long time, and another task has reached the time limit. I don't quite understand why something went wrong. In short, it is okay to add latency in Task 1.

 

This is the case now. I want to write it again.

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.