• AVR Freaks

Hot!Cannot Program dsPIC33EV256GM106 with Real Ice...!

Author
CL
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2020/10/17 19:05:57
  • Location: 0
  • Status: offline
2020/10/19 15:09:00 (permalink)
0

Cannot Program dsPIC33EV256GM106 with Real Ice...!

Hello All,
We have 4 dsPIC33EV MC eval boards (dsPIC33EV 5V CAN-LIN Starter Kit (DM33018)), 1 is years older than the other 3. They can all be programmed using the PKOB tool on the board. Using Real-Ice we can program 1 board, the older one, but cannot program the 3 newer boards. We get below...
 
Some additional information from working the problem 10/19/2020:
IPE can program the device with Real Ice after the application supplied with the board is erased with PKOB.
IDE can program the device with Real Ice when selecting the "Make and Program" Option (1 time) then Failed to program device
IDE cannot program device with Real Ice when in debug mode - Failed to program device
 
Anybody have a clue what is going on..?
 
Thank you
Chris
********************Environment**********************
MPLABx 5.4
XC16 Compiler V1.60
Windows10 everything current
Dell i5 PC
*****************************************************

Connecting to MPLAB REAL ICE...

Currently loaded firmware on REAL ICE
Firmware Suite Version.....01.56.07
Firmware type..............dsPIC33E/24E

Target voltage detected
Target device dsPIC33EV256GM106 found.
Device ID Revision = 0x400e

Device Erased...

Programming...

The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x7ff
Failed to program device

********************************************************



***************Real Ice Stats******************************

Real ICE: JIT074894612
Versions
Firmware Suite Version: 01.56.07
FPGA Version: 02.05.36
Algorithm Plugin Version: 01.25.07
OS Version: 01.25.03
Voltages
REAL ICE VPP: 4.8316
REAL ICE VDD: 5.142
Target VDD: 4.851475
Device Identification
Device Id: 5d3b0000
Device Id Revision: 400e

*********************************************************
post edited by CL - 2020/10/19 16:33:31
#1

4 Replies Related Threads

    NKurzman
    A Guy on the Net
    • Total Posts : 19023
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Cannot Program dsPIC33EV256GM106 with Real Ice...! 2020/10/19 16:00:21 (permalink)
    0
    I assume you disconnected the PKOB jumpers?
    #2
    CL
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2020/10/17 19:05:57
    • Location: 0
    • Status: offline
    Re: Cannot Program dsPIC33EV256GM106 with Real Ice...! 2020/10/19 16:09:38 (permalink)
    0
    Hi NK,
     
    There are no jumpers on this board for that purpose. MC attaches the optional header to PGD/C (3) so the electrical path is not conflicted...
     
    From working the problem this AM, I believe that the device is being programmed, but the IDE does not recognize that fact when in DEBUG mode...! Thanks again.
     
    Thank you,
    Chris
     
    post edited by CL - 2020/10/19 16:23:40
    #3
    dan1138
    Super Member
    • Total Posts : 3990
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: Cannot Program dsPIC33EV256GM106 with Real Ice...! 2020/10/19 17:01:18 (permalink)
    0
    I have found that the PKOB can really mess with the RealICE.
     
    You could try to hold the PKOB in reset by placing a jumper from pin 1 of J5 to pin 3 of J5.
     
    Now this is on the presumption that the PKOB on your DM33018 is still the one using a PIC24FJ256GB106. If it's using the Atmel controller I doubt this hack will work.
    #4
    CL
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2020/10/17 19:05:57
    • Location: 0
    • Status: offline
    Re: Cannot Program dsPIC33EV256GM106 with Real Ice...! 2020/10/19 20:16:39 (permalink)
    0
    Hi Dan,
     
    I'm inclined to agree with you. For example, once the PKOB processor has asserted its control over the dsPIC33EV, PGC3/PGD3 become standard I/O ports...
     
    What is troubling is the one board we have that works flawlessly. Also, that IPE can program the board, using Real Ice, after the demo application has been removed, without issue.
     
    really appreciate your input.
     
    Thank you,
    Chris
    #5
    Jump to:
    © 2020 APG vNext Commercial Version 4.5