HCS12 & FreeRTOS using Processor Expert

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

HCS12 & FreeRTOS using Processor Expert

Jump to solution
1,601 Views
ketankulkarni
Contributor I

I have been trying to explore FreeRTOS using Processor Expert to generate code. I am new to both. And I am truly amazed by the features that Processor Expert offers!

I have followed the instructions as per the Tutorial at http://mcuoneclipse.com/2012/06/28/tutorial-freertos-on-demojm/   the only change being, I am using MC9S12DG256CPV controller and some changes to the LED pin configuration.

I have configured the TickCntr to 10ms and the FreeRTOS tick rate to 100 Hz and have SWI selected for the software interrupt. I had to disable the "Reset" method for FreeRTOS TickCntr since it was not supported by the MCU.

40950_40950.pngpastedImage_4.png

40953_40953.pngpastedImage_10.png

40951_40951.pngpastedImage_5.png

40952_40952.pngpastedImage_6.png

 

But when I try to generate code, it gives me Internal errors in FreeRTOS.ts2

40949_40949.pngpastedImage_2.png

I have downloaded the latest (Components 2015-02-03.zip) PEupd files from SourceForge and updated my Codewarrior. I am using the free CW version 5.9.0

I am attaching my project for reference. What am I doing wrong? I appreciate all the help!

Original Attachment has been moved to: FreeRTOSTRial20June15.zip

Labels (1)
1 Solution
1,061 Views
ketankulkarni
Contributor I

I found out the problem. The "Classic Codewarrior" option in the FRTOS component was set to "no". Once I set it to "yes" I was able to generate code.

pastedImage_2.png

View solution in original post

0 Kudos
Reply
2 Replies
1,062 Views
ketankulkarni
Contributor I

I found out the problem. The "Classic Codewarrior" option in the FRTOS component was set to "no". Once I set it to "yes" I was able to generate code.

pastedImage_2.png

0 Kudos
Reply
1,061 Views
BlackNight
NXP Employee
NXP Employee

Hi Ketan,

please enable 'classic' mode here:

pastedImage_0.png

I have not used it for classic for a while, but it should hopefully solve your problem.

This article should help you too: Back to Classic: FreeRTOS for Freescale S12(X) | MCU on Eclipse

I hope this helps,

Erich