Hi
In order to explore the possibilities of the USB on a FRDM-MKL27, I have used the dev_cdc_virtual_com (virtual_com) example using a Keil development suite. The example seems to be working though I experience problems expanding the number of tasks running. I have added a simple task that only is to toggle the LED and then wait.
Both tasks are executed during initialization before the OSA_Start is executed. Unfortunately only the first of the tasks is able to run - either the USB port OR the LED flashing. How to fix the minor expansion of the default example?
Hi Ole,
I recommend to you change priority for task 2.
You cannot have defined two tasks with the same priorities.
Please, set TASK_2_PRIO on value 5U
I hope this helps.
Best Regards,
Iva
It was based on a simple beginners fault - too small stack.
Problem solved.
Despite large stack it was too small....