Hi,
I am using coldfire mcf52259 demo kit. I have tried running the examples with MQX and it is working fine.
Now i want to port the FreeRTOS using Code Warrior5.9.0 on this demo kit. I am able to compile the program. But when I press debug(F5), I get this error
"Cold fire PE Protocol: No USB connection found".
Has anyone used FreeRTOS in mcf52259. I used the rtosdemo project available in Freertos for coldfire mcf52259 demo kit.
Can we use tools--->flashprogrammer---->program to download the program.
I tried that though it didn't work.
Any suggestions would be very helpful.
Thank you.
There is a 52259 demo in the official FreeRTOS download. It can be found in the FreeRTOS/Demo/ColdFire_MCF52259_CodeWarrior directory but note:
1) It is for the old (non Eclipse) CodeWarrier.
2) A patch is required to support the newer compilers. See post 4 here:
[RTOS Support] Starting a simple task
Regards,
Richard.
Designed for microcontrollers. More than 103000 downloads in 2012.
+ http://www.FreeRTOS.org/plus
Trace, safety certification, UDP/IP, TCP/IP, training, and more...
Hi,
Thank you Robert Lewis and Richard Barry for your quick reply.
I changed the port.c and portasm.S as in the post 4.
But still I get the same error."Cold fire PE Protocol: No USB connection found".
I have a doubt . Will this project work for CodeWarrior with eclipse after the patch.
Thank you
With regards
Jayaram
I don't think that's a problem with the code. I suspect you haven't set up the project properly, and it doesn't know what your debugger is or where it is.
Type that error message into the "Search" box and see if any of the previous articles in this forum that match help you.
Then type it into Google.
Tom
Hi,
I have tried to solve the problem but I am getting the same error. I have tried the patch given by Richard Barry.It doesn't work. I don't know why.
I have used MQX in mcf52259 and it is working fine and giving expected results. I am using CodeWarrior 7.2.
Is it because I am using eclipse based IDE and this project does not work with eclipse?
Thanks
Jayaram
Hi Jayaram
You might want to check this site below. Erich Styger has a great deal of information on his site on freeRTOS and is an expert on PE as well as FreeRTOS. There are a lot of Tutorials on this subject.
Regards
Robert