please dont rip this site

MATH_DATA & .tmp_data save/restore for FreeRTOS

by Isaac Marino Bavaresco

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/12/22 18:21, owner: IMB-yahoo-J86,
TOP NEW HELP FIND: 
3.14.134.195: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/member/IMB-yahoo-J86/math_data_tmp_data.htm"> MATH_DATA &amp; .tmp_data save/restore for FreeRTOS</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?