Problems with Freescale – FreeRTOS HCS12X

    Hello ! I’m new here. Sorry about my poor English – I’m German.
I have to startup very quickly in my new Job with FreeRTOS and the example doesn’t work. I use Codewarrior and I use the MC9S12X512MLM. So I found here a special demo only for HCS12X ( A zip-File with OAF at the end). I noticed that the bug shown on the homepage was not programmed so I’ve added the 3 lines as described. In this demo are the LEDs and a serial bus. We have no serial communication in our application and therefore I can’t use it. So I deleted only the task in this demo for the serial communication. When I compiling the demo all seems O.K. but the LEDs doesn’t work. So I programmed an own function for the LEDs that I tested before. In the main.c of the demo you can vary the time of the frequency of the LEDs. When all it’s fine then the LEDs should “blinking” with 1sec (1000) . If there is something going wrong then the LEDs should blink with 500ms (500).
I can change both time-values but nothing happens – no blinking – nothing. O.K. maybe when the program is working then maybe this values are also working. I have the Port (P) because in our Application we have this Port for LEDs. I configured the Port with ProcessorExpert. Then I thought I set a breakpoint in my function for the LEDs directly where I set the value. When I’m starting the program it seems that this breakpoint will never be reached and so the program stops ( I don’t now why ). 
I’ve read the instructions on the Homepage and I tried so many things but it seems hopeless.
Is there anybody who can give me a hand ? Thank you    Uli

Problems with Freescale – FreeRTOS HCS12X

So I found here a special demo only for HCS12X ( A zip-File with OAF at the end).
Where did you find the demo?
I noticed that the bug shown on the homepage was not programmed so I’ve added the 3 lines as described
Which bug, and on which web page is it described? Regards.

Problems with Freescale – FreeRTOS HCS12X

   Hello Richard ! Thank you.
Where did you find the demo?
. I found the program in
http://forums.freescale.com/t5/16-Bit-Microcontrollers/FreeRTOS-and-HCS12X/m-p/75001#M9200
But I think this program is also here in the forum. The name is HCS12_HCS12X_CodeWarrior_OAF.zip
Which bug, and on which web page is it described?
Sorry, it is not a bug it is the Solution – I think. This is found here(please sroll down – red Comments):
/fr-content-src/uploads/2019/07/index.html?http://www.freertos.org/a00104.html Cause I think my changes was to much and so the program isn’t running anymore, I’ve started again:
I installed the normal demo from FreeRTOS Homepage from the following link:
/fr-content-src/uploads/2019/07/index.html?http://www.freertos.org/FreeRTOS-quick-start-guide.html
and then I copied the contents of HCS12_HCS12X_CodeWarrior_OAF.zip according to the Direcroty-structure in the normal demo. This …OAF.zip has another Mikrocontroller so I changed it with the ProcessorExpert to the MC9S12XF512.
Cause the demo…OAF.zip uses another Port ( Port A) I changed it to PortP also with ProcessorExpert. In our Application we use Port P2-P5 for the LEDs.
Now I tried to compile the demo but the Null-Pointer was not declared – so I added **#define NULL   ((void *) 0) **
in some header files.
The second Error was that the Timer TFLG1 was not found so I changed ECT_TCO to TCO in ProcessorExpert.
Now all seems O.K. and I have no Errors. Now I set a breakpoint in ParTest.c exact on Byte1_NegBit( uxLED );
But this breakpoint seems never to be reached. I can’t use the serial bus, but i let it inside the program. Regards Uli

Problems with Freescale – FreeRTOS HCS12X

   Hello Richard ! Can you give me some Infos about my last reply ? Regards Uli

Problems with Freescale – FreeRTOS HCS12X

   Hello ! Cause we can’t get started the demo HCS12_HCS12X_CodeWarrior_OAF.zip on MC9S12XF512MLM the Thread can be cancelled. Regards Uli