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.