Free RTOS porting in mcf52259  demo kit using codewarrior - Problem

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

Free RTOS porting in mcf52259  demo kit using codewarrior - Problem

1,418 Views
jayaramsubraman
Contributor I

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.

Labels (1)
0 Kudos
Reply
6 Replies

994 Views
FreeRTOS_org
Contributor IV

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.

+ http://www.FreeRTOS.org

Designed for microcontrollers. More than 103000 downloads in 2012.

+ http://www.FreeRTOS.org/plus

Trace, safety certification, UDP/IP, TCP/IP, training, and more...

0 Kudos
Reply

994 Views
jayaramsubraman
Contributor I

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

0 Kudos
Reply

994 Views
TomE
Specialist II

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

0 Kudos
Reply

994 Views
jayaramsubraman
Contributor I

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

0 Kudos
Reply

994 Views
JimDon
Senior Contributor III

I am currently unable to get the mcf52259 demo kit to connect with CW 10.3, with just a minimum test project.

I entered a service request.

0 Kudos
Reply

994 Views
Cdn_aye
Senior Contributor I

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.

http://mcuoneclipse.com/

Regards

Robert

0 Kudos
Reply