• AVR Freaks

Hot!ICD4 not recognizing Device ID of ATSAME51J20A

Author
Valin0126
Starting Member
  • Total Posts : 44
  • Reward points : 0
  • Joined: 2020/02/07 04:53:15
  • Location: 0
  • Status: offline
2021/02/24 08:24:30 (permalink)
0

ICD4 not recognizing Device ID of ATSAME51J20A

Have an ICD4 that successfully talks to and programs a PIC32MZ chip (MPLAB X 5.30)
 
When it's connected to a different design with an ATSAME51J20A part it throws the error "Failed to get Device ID" (MPLAB X 5.45).
 
I captured a "Finest" log using MPLAB IPE (attempting a Read) on both 5.30 and 5.45 versions, and it appears to be successfully reading the PID (matches the SAME5x data sheet):
<record>
 <date>2021-02-24T08:54:49</date>
 <millis>1614174889729</millis>
 <sequence>2700</sequence>
 <logger>MPLAB</logger>
 <level>FINEST</level>
 <class>com.microchip.mplab.mdbcore.RealICETool.utils.RIComLogger</class>
 <method>LogData</method>
 <thread>148</thread>
 <message>TRANSMIT OUT: 0 1 0 0 0 0 0 0 1f 0 0 0 0 0 0 0 0 0 0 0 7 0 0 0 cd 0 5c 12 0 0 0 </message>
</record>
 
Has anyone successfully programmed an ATSAME51JxxA part using an ICD4?  Any thoughts why it would fail to read DID yet the log shows a valid PID read?  We have tried multiple boards with the same results.  Also multiple PCs.
#1

3 Replies Related Threads

    RISC
    Super Member
    • Total Posts : 6053
    • Reward points : 0
    • Status: offline
    Re: ICD4 not recognizing Device ID of ATSAME51J20A 2021/02/25 10:18:05 (permalink)
    0
    Hi,
    You should probably ask for support from Microchip using their online ticket service : http://www.microchip.com/support
    Regards

    For support make sure to check first here : http://microchipdeveloper.com
    There are hundreds of PIC, AVR, SAM...which one do YOU use ?
    #2
    Valin0126
    Starting Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2020/02/07 04:53:15
    • Location: 0
    • Status: offline
    Re: ICD4 not recognizing Device ID of ATSAME51J20A 2021/02/26 05:27:27 (permalink)
    5 (1)
    Yes, I took that as my first step, but Microchip only seems to respond to the tickets once a day and figured the forum might yield a faster result.
    #3
    Valin0126
    Starting Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2020/02/07 04:53:15
    • Location: 0
    • Status: offline
    Re: ICD4 not recognizing Device ID of ATSAME51J20A 2021/03/08 09:13:36 (permalink)
    0
    Solution:
    The SAME5x processor uses a different pin-out from the ICD4 than the PIC32, using SWDIO pin instead of the SWO pin.
     
    The SWD interface is used:
    https://ww1.microchip.com/downloads/en/DeviceDoc/50002538B.pdf
     
    An RJ45 8-pin cable and adapter is required to access the extra pins required by the SWD interface.
    #4
    Jump to:
    © 2021 APG vNext Commercial Version 4.5