View previous topic :: View next topic |
Author |
Message |
meca90
Joined: 06 Apr 2014 Posts: 6
|
program dspic33EP256MU806 with pickit3 |
Posted: Sun Apr 06, 2014 7:44 pm |
|
|
Hello everyone, recently i buy a pickit 3 and a dsPIC33EP256MU806 but the pickit 3 don't detect the device. How I can program this pic? Thanks in advance
Best regards.
PD: use pickit 3 standalone 1.0, the hardware is fine. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Sun Apr 06, 2014 8:05 pm |
|
|
You'll need to go to Microchip's website and download the latest version of the PICkit3 firmware.
If using MPLAB there should be an 'update' button to do this.
hth
jay |
|
|
meca90
Joined: 06 Apr 2014 Posts: 6
|
|
Posted: Sun Apr 06, 2014 8:19 pm |
|
|
I will try to do that and will comment what happened thank you very much! |
|
|
meca90
Joined: 06 Apr 2014 Posts: 6
|
|
Posted: Sun Apr 06, 2014 10:53 pm |
|
|
it works in MPLAB! everything is ok (erase, read, etc)
Quote: | AP download complete
Running self test...
Self test completed
Firmware Suite Version...... 01.28.18
Firmware type......................dsPIC33E/PIC24E
PICkit 3 Connected.
PK3Err0045: You must connect to a target device to use PICkit
3.
Device ID Revision = 00004002 |
I want to program it with pickit 3 software but the dspic33EP does not appear on the list of devices, do i have to update the file PK3DeviceFile.dat or something?
best regards |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Mon Apr 07, 2014 4:59 am |
|
|
I'd contact(email) Microchip and ask. If that PIC is fairly new, then they'll update the PICkit3 firmware or there may be a version that does work already in the database.
hth
jay |
|
|
meca90
Joined: 06 Apr 2014 Posts: 6
|
|
Posted: Mon Apr 07, 2014 1:31 pm |
|
|
Thanks for your time, i think a good option is to work CCS C with MPLAB and program the microcontroller from there, although the CCS IDE is much better |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
meca90
Joined: 06 Apr 2014 Posts: 6
|
|
Posted: Mon Apr 07, 2014 3:14 pm |
|
|
Well, I guess there will be no more pickit 4 software, i had several problems with the pickit 3 software until you update it with mplab in these problems had to reprogram the pic kit 3 with my pickit 2 , this programmer is best used with mplab definitely, the pickit3 v3.10 is similar to pickit 2 v2.61 does not make sense when you change programmer simply because pickit v3.1 can not be programmed dspic33EP at least you add a pic manually with pickit device editor something that is really out of my knowledge.
thanks to all for the help
Mario Cortez |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Apr 07, 2014 4:49 pm |
|
|
There were two ways to use Pickit 3:
1. Standalone program.
2. MPLAB.
Microchip has abandoned the Standalone program. They will not add
any support for future PICs to it. Only MPLAB will have support. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19520
|
|
Posted: Tue Apr 08, 2014 12:36 am |
|
|
Multiple parts to this.
There are actually several environments around the PicKit3.
First the Standalone programming tool.
Second the 'IPE' (integrated programming environment in MPLAB).
Third the 'IDE' (integrated development/debugging environment in MPLAB).
Fourth some third party work in Linux in particular (though much more for the Pickit2).
Now basically as has already been explained, Microchip have stopped adding new devices to the first. A pity, since in some cases a small/simple programming environment is all that is needed. However you can load MPLAB, without any debugging support loaded, and this is significantly smaller than the full MPLAB. The IPE, is distinct from the IDE (found this out when I switched to a new device, and Microchip added programmer support, but no debug support). Then you get into the 'third party' area. People are actively adding new devices to the Pickit2, and there is a tool to do this:
<https://sites.google.com/site/pk2devicefileeditor/>
Now this might well work with the scripting tool:
<http://www.microchip.com/forums/m654567.aspx>
Which allows you to use the Pickit2 device lists with the Pickit3!....
There is a driver for the Pickit3 now under Linux, and this does allow new devices to be added.
The 'stupidity', is that if they just kept the device list file format compatible between the programs, they wouldn't have to support anything. Just release new device files used by all the tools and environments. Too logical....
Best Wishes |
|
|
|