PDA

View Full Version : attempt to free non-allocated memory error



spcw1234
- 7th July 2007, 15:32
Ok, so recently I ran into a problem with my picbasic pro compiler. Any new program I create even if the only line of code is END I get an error compiling. The exact error I get is:
INTERNAL "NAME OF FILE.ASM" 47:[400]attempt to free non-allocated memory [0000 :0001]
My old files still compile fine, unless I start making some changes.

I am using PIC16F877A and PIC16F876A MCU's and it doesn't seem to matter what I select. Oh my editor is MicroCode Studio Ver 2.3.0.0 with picbasicpro compiler ver 2.47

Thanks for any help.
Shawn

Darrel Taylor
- 7th July 2007, 15:44
This might help.

http://www.melabs.com/faq/02083357.htm
<br>

spcw1234
- 7th July 2007, 16:20
Sweet thanks, something so simple. Not sure why I never had a problem before this when I haven't changed anything, but that took care of it.
Thanks for your help.
Shawn