The port of FreeRTOS for PIC18 with Microchip MPLAB-C18 has some problems when saving and restoring the compiler-generated memory sections "MATH_DATA" and ".tmpdata".
It appears that the FreeRTOS author have only an old version of the MPLAB-C18, and the new versions manage these sections diferently.
The older versions (I don't know what) appear to keep the "MATH_DATA" and ".tmpdata" sections at the very beginning of the RAM. The versions I am using with FreeRTOS (3.xx onwards) let the linker put them at will. Their size appears to change also.
I found a solution that appears to be version-independent (until now at least).
file: /Techref/member/IMB-yahoo-J86/math_data_tmp_data.htm, 1KB, , updated: 2009/7/9 09:03, local time: 2024/11/23 04:49,
owner: IMB-yahoo-J86,
18.119.121.234:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/member/IMB-yahoo-J86/math_data_tmp_data.htm"> MATH_DATA & .tmp_data save/restore for FreeRTOS</A> |
Did you find what you needed? |