ROV in IAR¶
To access the ROV while in a debug session in IAR
Use the TI-RTOS menu on the menu bar.
Select a subview.
Warning
ROV support in IAR is no longer maintained for v9.30 and above.
When using autosized heap, the ROV may display errors when
accessing modules such as Task and Heap for ROV.
In order to use ROV with an autosized heap you can apply
the following patch to the function init() in
\kernel\tirtos\packages\ti\sysbios\heaps\package.xs.
The lines highlited below should be added.
1 function init() 2 { 3 /* Add HeapMem's primaryHeap addresses range to ROV's memory sections */ 4 if (xdc.om.$name == "rov") { 5 // original code omitted 6 // ..... 7 // ..... 8 9 /* Retrieve the MemoryImage java object. */ 10 var Model = xdc.module("xdc.rov.Model"); 11 var memReader = Model.getMemoryImageInst(); 12 13 /* retrieve the sections list and add a new section */ 14 var sections = memReader.getSections(); 15 sections.addSection(0x20000000, 0x20005000); 16 } 17 }