• AVR Freaks

Unhadled int: INTCON4 : ECCDBE Double bit error trap PIC24FJ64GA702

Author
user2x
Super Member
  • Total Posts : 317
  • Reward points : 0
  • Joined: 2011/02/10 20:43:36
  • Location: 0
  • Status: offline
2019/11/07 19:09:37 (permalink)
0

Unhadled int: INTCON4 : ECCDBE Double bit error trap PIC24FJ64GA702

It now runs for a little while in debug mode and suddenly ends up in an unhadled interrupt routine.
 
Checking regs, I found so far:
 
SR:  IPL = 010   = level 2
 
INTCON 4  =0x02   = ECCDBE Double bit error trap.
 
Say what?
 
 
 
 
#1

5 Replies Related Threads

    user2x
    Super Member
    • Total Posts : 317
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Unhadled int: INTCON4 : ECCDBE Double bit error trap PIC24FJ64GA702 2019/11/07 19:13:53 (permalink)
    0
    I just found this:

    PIC24FJ256GA705 family devices provide 256 bytes of
    One-Time-Programmable (OTP) memory, located at
    addresses, 801700h through 8017FEh. This memory
    can be used for persistent storage of application-specific
    information that will not be erased by reprogramming the
    device. This includes many types of information, such as
    (but not limited to):
    • Application Checksums
    • Code Revision Information
    • Product Information
    • Serial Numbers
    • System Manufacturing Dates
    • Manufacturing Lot Numbers
    Customer OTP memory may be programmed in any
    mode, including user RTSP mode, but it cannot be
    erased. Data is not cleared by a chip erase.

     
     
    How do I recover that? I did not do anything to write the OTP memory. The IDE must have done that all by itself!
    #2
    user2x
    Super Member
    • Total Posts : 317
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Unhadled int: INTCON4 : ECCDBE Double bit error trap PIC24FJ64GA702 2019/11/07 19:23:30 (permalink)
    0
    The OTP memory  shows all 0xffff   in the Memory view. But I do not trust that either.
     
    #3
    user2x
    Super Member
    • Total Posts : 317
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Unhadled int: INTCON4 : ECCDBE Double bit error trap PIC24FJ64GA702 2019/11/07 19:40:09 (permalink)
    0
    This seems to be related to weird MPLABX 5.10 behaviour. 
    I added a ISR Handler ECC errors  but I still got to the default handler.
     
    I noticed that this happend while it tred to set software breakpoints.
    I yet again restarted the MPLABX and at the moment it is ok again.
     
    I am very worried though.
     
     
    #4
    mpgmike
    Super Member
    • Total Posts : 306
    • Reward points : 0
    • Joined: 2014/01/23 17:27:06
    • Location: NJ
    • Status: offline
    Re: Unhadled int: INTCON4 : ECCDBE Double bit error trap PIC24FJ64GA702 2019/11/08 09:28:11 (permalink)
    0
    Perchance have you tried a newer version of MPLABX?  The current version is v5.30.  I know there were many upgrades to the 16-bit PIC/dsPIC line in the past 2 updates (v5.25 & v5.30).  I wouldn't uninstall your 5.10 until you're comfortable the new version works for you (5.20 gave me all sorts of grief!).

    I don't need the world to know my name, but I want to live a life so all my great-grandchildren proudly remember me.
    #5
    user2x
    Super Member
    • Total Posts : 317
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Unhadled int: INTCON4 : ECCDBE Double bit error trap PIC24FJ64GA702 2019/11/10 17:37:23 (permalink)
    0
    I loaded 5.30 and it seems a lot worse. I now cannot successfully use ANY software breakpoints. The code just won't run and I get default interrupt and the same as above.
     
     
    #6
    Jump to:
    © 2019 APG vNext Commercial Version 4.5