• AVR Freaks

Hot!Snap programmer and dsPIC30F4011

Author
bricey
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2021/02/02 15:13:12
  • Location: 0
  • Status: offline
2021/02/21 12:24:29 (permalink)
0

Snap programmer and dsPIC30F4011

Hello folks,
 
I'm new to the forums and generally new to PIC micro controllers in general.  I have been working on a project that was designed to work with a dsPIC30F4011 and for some reason mplab x 5.35 will not recognize the controller when the snap is connected.  I have successfully used the snap debugger with dsPIC30F2020.  
 
Can anyone give me a clue why the 4011 is not supported and what would happen if I selected the 2020 instead?  I am loading a .hex file that was supplied to me so I am thinking (hoping) that all the configuration information is included in the .hex file and that selecting the controller should actually be irrelevant since all I am trying to do is flash the chip from mplab x.  Am I out of the ball park here?
 
I have tried mplab ipe as well but it does not recognize the snap either.
 
I really don't want to have to buy a new debugger/programmer since I am working on very, very tight budget as I am a retired, disabled old guy on a very meager pension.
 
Any insights would be greatly appreciated.
 
Thanks, 
 
Bricey.
#1

7 Replies Related Threads

    ric
    Super Member
    • Total Posts : 29915
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: Snap programmer and dsPIC30F4011 2021/02/21 22:47:35 (permalink)
    4 (1)
    Quick sanity check, Are you sure you are connecting the SNAP to the correct pins on the dsPIC30F4011?
    Which pins are you using?
     
    Scrub that. I see that MPLABX doesn't even let you select the SNAP for the dsPIC4011.
    Only Microchip can answer why not, but I suspect trying to program it as a dsPIC30F2020 will not go well.
     
    post edited by ric - 2021/02/21 22:56:50

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #2
    Ken_Pergola
    Super Member
    • Total Posts : 2252
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: Snap programmer and dsPIC30F4011 2021/02/22 00:20:18 (permalink)
    0
    bwchester
    "...Can anyone give me a clue why the 4011 is not supported and what would happen if I selected the 2020 instead?..."



    Hello Brian,
     
    The MPLAB Snap ICD tool does not have on-board high-voltage Vpp generation circuitry and does not support the dsPIC30F4011 because that part requires high-voltage on the /MCLR/Vpp pin in order to program the part.
     
    The dsPIC30F2020 does not require high-voltage on the /MCLR/Vpp pin so the MPLAB Snap ICD tool can support that part (programming and debugging).
     
    If you absolutely need to work with the dsPIC30F4011 the MPLAB PICkit 4 tool is the least expensive current tool that will support it.
     
    Is there a specific reason/reasons you have your heart set on the dsPIC30F4011? You may want to see if anything from the dsPIC33 family will replace it since the MPLAB Snap ICD tool supports the dsPIC33 family.
     
    (I know this is not the answer you wanted to hear but I hope it somewhat helps nonetheless.)
     
    Best regards,
     
    Ken
     
    P.S. If you selected the dsPIC30F2020 in the IDE and tried to program a dsPIC30F4011 connected to the MPLAB Snap ICD tool it would not program at all.
    #3
    bricey
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2021/02/02 15:13:12
    • Location: 0
    • Status: offline
    Re: Snap programmer and dsPIC30F4011 2021/02/22 08:51:00 (permalink)
    0
    Hello,
     
    Thank you for the replies.
     
    The reason I am working with the 4011 is two fold, I received one in a sample pack of multiple chips which I picked up for a song.  I do admit that a newer chip would be better and faster with more current support but this chip was used in a design of test bench equipment that could be built from the parts I have laying around without having to spend any additional funds.  The design was found online supplied with the .hex file that I thought I could simply upload to the 4011.
     
    I have looked at purchasing the pickit4 but the best price I have found is about $75 Canadian plus shipping and taxes which will bring it over $100.  Way beyound my budgeting ability so guess I can toss the 4011.
     
    Thanks again for the responses.
     
    Bricey
    #4
    ric
    Super Member
    • Total Posts : 29915
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: Snap programmer and dsPIC30F4011 2021/02/22 12:07:12 (permalink)
    5 (1)
    You could pick up a PK3 clone much cheaper on eBay.
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #5
    Ken_Pergola
    Super Member
    • Total Posts : 2252
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: Snap programmer and dsPIC30F4011 2021/02/22 23:06:10 (permalink)
    0
    The Tool Device Support list can be found in the in the MPLAB X IDE docs directory or under Help -> Release Notes, on the HTML page that displays.
     
     
     

    Attached Image(s)

    #6
    Murton Pike Systems
    Super Member
    • Total Posts : 224
    • Reward points : 0
    • Joined: 2020/09/10 02:13:01
    • Location: 0
    • Status: offline
    Re: Snap programmer and dsPIC30F4011 2021/02/23 05:15:23 (permalink)
    5 (1)
    ric
    You could pick up a PK3 clone much cheaper on eBay.



    I found the pickit3 to be more reliable than pickit4.
    My pickit4 lasted a week before dying. So went back to pickit3.
     
    Be careful which one you buy off ebay, I bought one and it was always crashing.
    I bought one from a reputable dealer and that one is much better.
    There are a lot of cheap Chinese clones on ebay. 
    #7
    Jerry Messina
    Super Member
    • Total Posts : 668
    • Reward points : 0
    • Joined: 2003/11/07 12:35:12
    • Status: offline
    Re: Snap programmer and dsPIC30F4011 2021/02/23 06:15:22 (permalink)
    0
    nigelwright7558
    There are a lot of cheap Chinese clones on ebay. 

    Also, make sure that it supports High-voltage programming. I've seen some cheap knock-offs that don't include the VPP voltage generation circuitry.
    #8
    Jump to:
    © 2021 APG vNext Commercial Version 4.5