This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Frederik,
I have been trying to use a 950ZWT FreeRTOS demo as the source for OS drivers on the RM48L952PGE package for some time now. See here
I have had a lot of trouble with memory (I think). Continual daborts when I try to run the timer tasks. I don't understand why but please let me know if you have similar issue.
I assumed that 950ZWT drivers would have excessive numbers of peripheral drivers etc and therefore took the FreeRTOS files from a 950ZWT build and integrated them into HALcogen 950PGE build. To date it has not been successful.
It would be nice if Ti issues a 950PGE or 952PGE working FreeRTOS demo.
Jamie
Frederik,
Can you specify the complete device name ? Is it RM48L952PGE or RM48L952ZWT?
Both have some feature set difference. Please refer to the below link:
http://www.ti.com/product/rm48l952
As Jamie mentioned in the above thread, ZWT package has support for few more features.
Regards,
Praveen
Hi Frederik,
One more query, Are you using RTI module in your code base?
Regards,
Praveen
It is the RM48L952ZWT we are using.
We only have the responsibility to make a prototype, the decisions and problem of using PGE is later on and, luckily, not our problem. But we will reference to this discussion.
As it look now we will not use RTI, but I assume FreeRTOS does. We will try to use software timers to setup the shedule for every task so they execute in the right order. If that doesn't work, we might use RTI interupt and semaphores to trigger tasks the first time.
FYI, we have successfully generated drivers with HalCoGen for FreeRTOS, but for security we want to be sure that drivers generated for RM48L950ZWT are compatible with RM48L952ZWT so we don't get for example "random" crashes.
I'm sorry if I'm spamming, but I realised we need one RTI for RunTimeStats in FreeRTOS to evaluate the usage of the processor
Hi Fredrik,
RTI is used by FreeRTOS. Please refer the API prvSetupTimerInterrupt(void)
You have to be careful while using the RTI module, since COUNTER BLOCK 0 it's is configured inside FreeRTOS.
I would advice you not to call rtiInit() function incase you have it generated out of HALCoGen. Instead you can write custom functions that configures COUNTER BLOCK 1
Regards
Prathap
So, it's okay to use RM48L950ZWT_FreeRTOS in HALCoGen for RM48L952ZWT, but I need to be careful with RTI due to the fact that FreeRTOS uses it?
Hi, sorry for a late reply, have been away for a while.
Here's the project file from halcogen.
Was a mistake naming the zip-file to halcogen.
So, we're only using CAN and SCI, we might have changed the tick to evaluate how fast certain operations are.
I don't feel that I have got an answer for my question;
Can I use HALCoGen, RM48L950ZWT_FREERTOS to generate drivers for RM48L952ZWT on the RM48HDK?
Only drivers for CAN and UART (SCI) is needed, no need to use extra RTIs.
This thread has been dead a while. My project did use HALCoGen, RM48L950ZWT_FREERTOS to generate drivers for RM48L952ZWT on the RM48HDK and did not find any problem with it!