MPLAB ICD2 Error


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2005
    Posts
    15

    Default MPLAB ICD2 Error

    It's been a while since my last post.

    I am trying a new PIC - 18F2331 - and can't seem to get a compile to happen. I am using an ICD2 in MPLAB with PBP. All I'm starting with is flashing the old led.
    I have tried the ICDDEFS(all of them) to no avail. I still get this:
    "ERROR: Variable ICDRESERVED12 position request 1524 beyond RAM_END 767.Halting build on first failure as requested."

    I had been using a 252 previously but wanted to get into the PWM stuff with the 2331.

    Any ideas/help appreciated.
    Ian

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    The '252 has about 1536 bytes of ram, the '4331 only has 768 bytes.
    Cut down your variables. Try commenting some of them out and see what happens.

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Have you tried ICDDEFS3.BAS?

    It should read: ICDRESERVED12 VAR BYTE(12) $2f4

    That one should work for the 18F2331.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    I referenced the '4331, just noticed it's actually the '2331 that's noted above...
    Regardless, both of them still have less ram than the '452.

  5. #5
    Join Date
    Jan 2005
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Thanks for the replies.
    I did have a memory issue and have now solved that(with help from a friend.

Similar Threads

  1. Pbp + Mplab + Icd2
    By eduardojx in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 17th July 2009, 03:54
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. Optimizing DIV
    By skimask in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 22nd September 2008, 04:58
  4. 16F88 Compile error
    By Toley00 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 2nd November 2005, 00:22
  5. Compiler/Assembler Error
    By LT_Pic in forum General
    Replies: 7
    Last Post: - 21st July 2005, 09:47

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