1145.RM48L952ZWT.zipSorry to ask here, probably is not a TI related issue.
With Halcogen I have created a FreeRtos project for RM48L950ZWT as there aren't any freertos project for the RM48L952ZWT.I have generated the code for IAR.
I have than create an other project for the RM48L952ZWT and generated the code for IAR.I have followed all the instruction on the instruction in order to set RAM and interrupt ready for FreeRtos.
I have than copied across all the FreeRtos file and sys_link.cmd.
Doing that I was able to create a simple software, with 2 tasks that every 1000 and 2000 ms write on a serial port. That is working fine.
My final goal then is to make one task write on the serial port only when an RX interrupt have been received from the UART, for this I have used the xTaskNotifyFromISR in the ISR and added xTaskNotifyWait to one of the task.
The problem is that, as soon the scheduler start and the task waiting for the event, is being scheduled, as soon as it enter the function xTaskNotifyWait, after some instruction, it go to execute portYIELD_WITHIN_API(); where everything stop working as the core enter the function prefetchEntry. So I presume that the memory have been corrupted somewhere or I have some stack issue.
It's not an interrupt problem, as at that point the interrupt is not enabled yet, so no events have been created yet.
Please, if possible, give me some imput, i'm happy to try all the options available.
I attach the projects used.
Thanks again
Giorgio