Home > other >  How to transplant a bare-metal program to ucos
How to transplant a bare-metal program to ucos

Time:10-06

Machine is the cortex a8, bare-metal program can be run in a8

CodePudding user response:

Do you have any brother guidance, the younger brother just learning, really don't know anything

CodePudding user response:

All in one process, and then slowly into other processes

CodePudding user response:

refer to the second floor fog oasis response:
in a process first, then slowly into other processes

I need to also write a driver is yourself?

CodePudding user response:

Bare-metal task which a name.
Start a bare-metal ucos task calls the main function is ok.

CodePudding user response:

Want optimization program you will bare machine program is divided into several tasks, and choose task priority according to the importance of each task and size and task execution interval,

CodePudding user response:

reference 4 building small and son reply:
bare-metal task which a name.
Start a ucos bare-metal task calls the main function is ok.

How to call in the ucos task bare-metal program main function, have, meng force

CodePudding user response:

Task_create function parameter passing in the entrance to the main function of your address

CodePudding user response:

UCOS running on the chip first,
Clean up the original program, drive out the communication data between tasks and task

Tidied up tasks according to certain priorities, create to the UCOS

And the communication data between tasks, adopt UCOS provided: semaphores, locks, queue, etc., mechanism is set up,

Then, the task and associated data, further debugging, running system, pay special attention to any priority inversion, crash, tasks such as hunger problem

CodePudding user response:

First run ucos, encapsulate your program into tasks, inside the ucos startup tasks,

CodePudding user response:

Create a process migration in it will be as you can about each process as a main function
  • Related