uCOS for dsp56807

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uCOS for dsp56807

2,014 Views
admin
Specialist II
Hello,

I am trying to make the uCOS-II (v. 2.76) work on the dsp56807 with use of CodeWarrior 7.0. PE does not provide any example of using uCOS with this CPU so I have:

- created a new project for dsp56807
- added the uCOS beam
- added the uCOS files to the 'code' directory and to the project as 'user beams'. I also made some minor changes in them (changing to "" in #includes, otherwise it doesn't compile)
- copied a code from a uCOS example (CPUUtil) to my main project file
- compiled the project

It was possible to compile the project, but after running it, CPU was behaving at least weird. After invoking OSStart() the programm was returning to the very beginning of main() (it looks like a CPU reset). Does anybody know the reason of these problems? Have any of you tried to run uCOS dsp56807 (i.e. dsp568xx) ? Any hints?

Regards

Bartek
Labels (1)
Tags (1)
0 Kudos
2 Replies

386 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
I don't have experience with the Ucos.
The codewarrior for DSP 7.x is an old version.
You can download the DSC 8.0 on our web site via the link:
http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01272600612247
There is a patch for the DSC8.0 (must be installed in first) DSC8.1.1
You can download it on our web site via the link:
 http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01272600617882140B
The Special edition license is installed by default.
If you need another version of the license please contact your local distributor.
You can have several versions installed on the same PC.
There is only one restriction: install them on separate folder.
I found example using the MicroC-OS bean.
Please have a look to the folder:
 \Stationery\Processor_Expert_Examples\DemoApplications\MicroC_OS
There is a readme.txt file:

These projects contain only one CPU bean 8346 but can be easily used with

other DSP derivatives by changing the CPU bean in the project.

The MicroC/OS-II source files should be copied into the "Source" subdirectory.

The system path to the MicroC/OS-II sources should be added in the CodeWarrior

Access paths/System paths preference panel if necessary.

 
Hope this will help you.
Pascal
0 Kudos

386 Views
admin
Specialist II
Hi, Thanks for response. I gave up working with the uCOS for a while, but I'll try this if I have to go back to it. Cheers Bartek
0 Kudos