-
1 Attachment(s)
statment not recognized
Hi all! This is my first post, and thank you to read and ask it.
I have some problem with the following code.
First, I think that the compiler not recognized de CMCON, TRISA and COUNT commands, and the error is: 76:[400] attempt to free non-allocated memory [0000: 0001]
Please, can anyone help me?
Thank you
Flavio
-
-
Thanks, but I use Windows 7. The problem is the same ?
-
Windows7
Why can't they just call it what it is ... Windows 6.1 a.k.a. Vista 2.0. :eek:
(Vista was 6.01)
Are you installing an older version of MicroCode Studio?
If so, there are a few steps required to make it work.
<hr>
When installing MicroCode Studio from the black/white CD you have to ...
- Right-click the Install program and "Run as Administrator".<br>
- Enable XP compatibility for the newly installed CodeStudioPlus.exe program.<br>
- Run the online update for MicroCode Studio. Being careful to read all the instructions.
You may have to download and rename files to complete the update.<br>
- Once it has been updated to version 3.0.0.5, turn XP compatibility OFF for CodeStudioPlus.exe.
Leaving compatibility turned on will generate run.pif errors.<br>
- Install MPLAB.
If you have PicBasic Pro version 2.50 or previous then MPLAB 8.15a is the last version you should use.
It's available from ... http://www.melabs.com/support/mplab_old_versions.htm
If you have PicBasic Pro version 2.60, download the latest version from Microchip.<br>
- In MicroCode Studio, go to View > Compile and Program Options > Assembler tab.
Click the "Find Manually" button and point it to the new MPASM installation ...
C:\Program Files (x86)\Microchip\MPASM Suite ... Or wherever you installed it.
Check the "Use MPASM" check box.<br>
PM.exe is a 16-bit program and will not run on 64-bit systems. So all programs must be assembled with MPASM.
MicroCode Studio should now compile in Vista/Win7-64.<hr>
If you are using the free version, ignore the above and make sure you have downloaded the lastest and greatest ...
http://www.mecanique.co.uk/code-studio/
<br>
-
Thank you all!!! The issue was resolved!!