• AVR Freaks

MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?!

Author
Marius.Popescu
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2011/06/01 05:43:19
  • Location: 0
  • Status: offline
2011/06/02 09:48:35 (permalink)
0

MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?!



Hi, 

Could anyone tell me if the following is a known bug of MPLAB X Beta 6 yet? 

When I'm trying to program a PIC18F87J50 target device with ICD2, I get the following unexpected exception and ICD2 stops responding:

A java.lang.OutOfMemory.Error exception has occurred

This is the relevant part of the IDE Log:

Parsing XML file: java.util.zip.ZipFile$1@10713c7
Parsing XML file: java.util.zip.ZipFile$1@4a5ddd
Parsing XML file: java.util.zip.ZipFile$1@a68a10
Parsing XML file: java.util.zip.ZipFile$1@1b23d7e
Parsing XML file: java.util.zip.ZipFile$1@e33ad7
Parsing XML file: java.util.zip.ZipFile$1@2bf9b5
Parsing XML file: java.util.zip.ZipFile$1@116fe10
Parsing XML file: java.util.zip.ZipFile$1@820671
java.lang.OutOfMemoryError: Java heap space
at com.microchip.mplab.mdbcore.TargetMemoryTransferMgr.TargetMemoryTransferMgr.InternalAddTransfer(TargetMemoryTransferMgr.java:668)
at com.microchip.mplab.mdbcore.TargetMemoryTransferMgr.TargetMemoryTransferMgr.AddTransfers(TargetMemoryTransferMgr.java:405)
at com.microchip.mplab.mdbcore.TargetMemoryTransferMgr.TargetMemoryTransferMgr.AddTransfers(TargetMemoryTransferMgr.java:417)
at com.microchip.mplab.mdbcore.ICD2.ICD2DebugEngineDefault.init(ICD2DebugEngineDefault.java:216)
at com.microchip.mplab.mdbcore.ICD2.ICD2EngineDefault.init(ICD2EngineDefault.java:157)
at com.microchip.mplab.mdbcore.ICD2.ICD2.init(ICD2.java:638)
at com.microchip.mplab.mdbcore.ICD2.ICD2.Engage(ICD2.java:594)
at com.microchip.mplab.mdbcore.assemblies.assembly.MCAssembly.lookup(MCAssembly.java:159)
at com.microchip.mplab.mdbcore.debugger.MCDebugger.Connect(MCDebugger.java:94)
at com.microchip.mplab.debugger.mdb.MdbProgrammer$1.run(MdbProgrammer.java:55)
at java.lang.Thread.run(Thread.java:662)
SEVERE [org.openide.util.Exceptions]
java.lang.OutOfMemoryError: Java heap space
at com.microchip.mplab.mdbcore.TargetMemoryTransferMgr.TargetMemoryTransferMgr.InternalAddTransfer(TargetMemoryTransferMgr.java:668)
at com.microchip.mplab.mdbcore.TargetMemoryTransferMgr.TargetMemoryTransferMgr.AddTransfers(TargetMemoryTransferMgr.java:405)
at com.microchip.mplab.mdbcore.TargetMemoryTransferMgr.TargetMemoryTransferMgr.AddTransfers(TargetMemoryTransferMgr.java:417)
at com.microchip.mplab.mdbcore.ICD2.ICD2DebugEngineDefault.init(ICD2DebugEngineDefault.java:216)
at com.microchip.mplab.mdbcore.ICD2.ICD2EngineDefault.init(ICD2EngineDefault.java:157)
at com.microchip.mplab.mdbcore.ICD2.ICD2.init(ICD2.java:638)
at com.microchip.mplab.mdbcore.ICD2.ICD2.Engage(ICD2.java:594)
at com.microchip.mplab.mdbcore.assemblies.assembly.MCAssembly.lookup(MCAssembly.java:159)
at com.microchip.mplab.mdbcore.debugger.MCDebugger.Connect(MCDebugger.java:94)
at com.microchip.mplab.debugger.mdb.MdbProgrammer$1.run(MdbProgrammer.java:55)
[catch] at java.lang.Thread.run(Thread.java:662)
Exception in thread "Flushing caches" java.lang.ArrayIndexOutOfBoundsException: 1
at org.netbeans.Archive.flushCaches(Archive.java:246)
at org.netbeans.Stamps$Store.store(Stamps.java:580)
at org.netbeans.Stamps$Worker.run(Stamps.java:744)



However, 18F87J60, for example, programs correctly and the exception is not raised.

I would kindly appreciate your support on this. Thank you.


Regards,
Marius Popescu
#1

8 Replies Related Threads

    mirakus
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2011/11/04 13:28:48
    • Location: 0
    • Status: offline
    Re:MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?! 2011/11/04 13:37:50 (permalink)
    0
    I have also noticed this issue in version 7.02 of the IDE. I am using an ICD2 to program a PIC18F87J50 and having the exact same issue. Have you found any type of workaround? IDE X works great for all of our other projects here, and I would personally rather use that than MPLAB IDE 8 because it's cross-platform - just ran into issues with the 18f87j50. Thank you.
    #2
    nice
    Super Member
    • Total Posts : 1090
    • Reward points : 0
    • Joined: 2004/09/18 11:42:25
    • Location: Germany
    • Status: offline
    Re:MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?! 2011/11/04 16:37:45 (permalink)
    0
    Since Beta v7.10 the ICD2 is no longer supported in the MPLABX IDE.


    Best regards,
    Bernd 



    #3
    Guest
    Super Member
    • Total Posts : 80500
    • Reward points : 0
    • Joined: 2003/01/01 00:00:00
    • Location: 0
    • Status: online
    Re:MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?! 2011/11/15 13:09:47 (permalink)
    0
      Do you know if is the ICD2 missing in a permanent way or is it a bug?
    #4
    Guest
    Super Member
    • Total Posts : 80500
    • Reward points : 0
    • Joined: 2003/01/01 00:00:00
    • Location: 0
    • Status: online
    Re:MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?! 2011/11/15 13:29:57 (permalink)
    0
      I have an ICD2 programmer/debugger. I'd like to continue using it with release 7.10 and the future ones in Ubuntu. Is it possible or I'd rather use a tedious virtual machine with Win OS?. I bougth the ICD2 a year or two ago and Microchip seems to forget it now.
    #5
    nice
    Super Member
    • Total Posts : 1090
    • Reward points : 0
    • Joined: 2004/09/18 11:42:25
    • Location: Germany
    • Status: offline
    Re:MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?! 2011/11/15 13:37:50 (permalink)
    0
    Do you know if is the ICD2 missing in a permanent way or is it a bug?

    The withdrawal of the ICD2 support was intended. Therefore it's unlikely that any upcoming version of MPLAB X will again support the ICD2.

    Best regards,
    Bernd
    #6
    Guest
    Super Member
    • Total Posts : 80500
    • Reward points : 0
    • Joined: 2003/01/01 00:00:00
    • Location: 0
    • Status: online
    Re:MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?! 2011/11/17 15:45:50 (permalink)
    0
      Thanks a lot for your answer.
    #7
    XGenerator
    Administrator
    • Total Posts : 350
    • Reward points : 0
    • Joined: 2009/10/12 12:11:03
    • Location: 0
    • Status: offline
    Re:MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?! 2011/11/20 12:07:56 (permalink)
    0
    The MPLAB X team evaluated the viability of supporting MPLAB ICD2  in MPLAB X, but its architecture presented insurmountable roadblocks in performance and reliability.    Regretfully, the MPLAB X team has concluded that MPLAB X cannot  viably support MPLAB-ICD2.
     
    MPLAB-ICD2 was  introduced over 10 years ago, long before a platform independent USB solutions existed.   It was replaced by MPLAB ICD3 over 5 years ago and lower cost tools, such as PICKIT 3 were also introduced at that time.    Both ICD3 and PICKIT3 show substantial reliability and programming / debugging speed improvements over ICD2. ICD3 and PICKIT3 implement a platform independent USB solution which works very well with MPLAB X A PICKIT3 can be purchased for under $50.00
    Microchip stopped adding new device support and stopped supporting ICD2 for new designs in September 2010.
     
    If you would like to continue using MPLAB ICD2, MPLAB 8 will remain available indefinitely; however MPLAB 8 IDE and its current ICD2 support level will remain unchanged.
     
    If you wish to discuss this further please feel free to send me a PM.
    Thanks
     
     
    #8
    Guest
    Super Member
    • Total Posts : 80500
    • Reward points : 0
    • Joined: 2003/01/01 00:00:00
    • Location: 0
    • Status: online
    Re:MPLAB X Beta 6: ICD2 and PIC18F87J50 bug ?! 2012/03/03 09:21:51 (permalink)
    0
    Hello, I have the starter kit for  PIC24F MCUs (DM240011). Is this kit supported by MPLAB x?

    Regards,
    #9
    Jump to:
    © 2020 APG vNext Commercial Version 4.5