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.

Is it possible to use ROV tool with FreeRTOS on CSS?

Other Parts Discussed in Thread: CC3200

Hello,

I am using FreeRTOS with an EK-TM4C129XL board and sometimes my program crashes due to stack overflow. I have already increased my stack size and it improved a lot my program functioning but it sometimes still crashing. My problem is that i don't know what is happening on RTOS and i would like to have a more powerfull tool to debug my code. When I was searching solutions for that I discovered RTOS Object View tool for CCS and that is exactly what i need. 

I already tried to use this tool with my project but it is always giving me this error:

"ROV failed to start. Can't extract RTSC configuration package path from 'C:/users/mypath/Documents/myworkspace/myproj/Debug/myproj.out'.

I did already selected all products and respositories on CCS->RTSC preferences but it didn't worked.

Is is possible to use ROV tool with a freeRTOS project on CCS? How can i do that?

Can you please help me?

thanks in advance,

Ricardo Alcácer

  • Hi,

    This is happening because your project is not a RTSC project. Create a CCS projectwith RTSC components (I suggest that you create a new one, so you don't mess up the one that you already have) and ROV should work but I don't if it will work with freeRTOS. I guess not.

    Regards

  • Hi Ricardo,

    Ricardo Alc��cer said:

    I did already selected all products and respositories on CCS->RTSC preferences but it didn't worked.

    These settings are not associated with any particular project.  As Johannes mentioned, you will need to create a new RTSC project.

    Ricardo Alc��cer said:

    Is is possible to use ROV tool with a freeRTOS project on CCS? How can i do that?

    The ROV tool can be used to view a RTSC module's status.  freeRTOS is not a RTSC module, so ROV will not work.  

    Regards,

    -- Emmanuel

  • Thanks a lot for your answers.

    So, that means that I can not use this tool with freeRTOS... no luck for me and my problems... But do you know another way that i could use to see actual stack pointers, max achieved stack pointers, program pointer and so on relative to each one of my threads when i am using normal CCS debug tool with freeRTOS?

    regards,

    Ricardo

  • Hi Ricardo, 

    I am unfamiliar with the freeRTOS offering, but I would assume they must have some features/libraries/hook functions that can be used to help debug your application.  It might be a good place to look.

    The CCS debug perspective features several tools to help debug your application: Memory Browser, Expressions window, Registers, Dissasembly window, etc.  These can help give you an idea of what is going on in your device.

    I do not know how far along you are in development or if another RTOS is an option, but if you would like to use ROV, instrumentation and other tools, take a look at TI-RTOS for TivaC.

    Regards,

    -- Emmanuel

  • Hi Ricardo,

    The is a free tool called StateViewer that works with Free/Open?SafeRTOS under Eclipse/CCS.

    It was originally from RealTime Engineers but can now be downloaded for free from http://www.highintegritysystems.com/StateViewer It does everything you have mentioned earlier in the post.

    In return, can I ask a favour. I have up to now used the (wifi) CC3200 and SimpleLink with FreeRTOS but have run into serious SimpleLink limitations.

    I am now exploring to use the TM4C1294XL as a (wired) reference platform together with FreeRTOS+UDP but need to know whether anybody has been able to port the Ethernet PHY/MAC driver to work with FreeRTOS+UDP.

    And making this combination even more exciting is the coming FreeRTOS+TCP that is current in Labs. I have had a look at the similarity between the porting requirements for +UDP and +TCP and I believe adapting a working +UDP driver to +TCP level will be relatively straightforward, and something I would be willing to do.

    If so, any pointers, help or example code will be highly appreciated.

    Andre

  • Hello Andre,

    Thank you very much for your reply. Your help is very appreciated. I'm going now investigate more about this tool and try it. If it does exactly what you said this will help me a lot. Thanks again.

    Now, about your question, i am not using ethernet on my project, so I can not help you that much, but during my development I found an example project called "ek-tm4c1294xl-boostxl-senshub" that uses FreeRTOS with ethernet capabilities. Have you ever had contact with this example? Is that what you are looking for?

    Thanks for your help.

    Have a nice work.

    Regards,

    Ricardo Alcácer 

  • Hi Ricardo,

    yes, I am aware of the 1294 senshub example, downloaded it 3 months ago and had a look. Unfortunately based on LwIP hence the whole driver structure is different.

    The coming FreeRTOS+TCP looks very promising and I think that to develop a driver for the Ethernet MAC built into the TM4C1294 would be very good, but unfortunately my time a bit short currently.

    Did you come right with the StateVIewer plug-in?

    Andre