statment not recognized


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2010
    Posts
    13

    Default 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
    Attached Images Attached Images  

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

  3. #3
    Join Date
    Apr 2010
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    Thanks, but I use Windows 7. The problem is the same ?

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Windows7
    Why can't they just call it what it is ... Windows 6.1 a.k.a. Vista 2.0.
    (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 ...
    1. Right-click the Install program and "Run as Administrator".<br>
    2. Enable XP compatibility for the newly installed CodeStudioPlus.exe program.<br>
    3. 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>
    4. 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>
    5. 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>
    6. 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>
    DT

  5. #5
    Join Date
    Apr 2010
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    Thank you all!!! The issue was resolved!!

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts