DIYstompboxes.com

DIY Stompboxes => Digital & DSP => Topic started by: AustinGreyson on January 07, 2021, 03:06:41 AM

Title: Help to program a dsPIC33FJ64GP802?
Post by: AustinGreyson on January 07, 2021, 03:06:41 AM
Hi!
After some successful programmings of PICs for Tom's TapLFO, TAPLFO3 and some midi stuff (all from readymade HEX files) I fail to program a dsPIC for the 4seconds Tap Delay.
My setup consists of MPLAB X IPE 5.25 and an OLIMEX Pic-KIT 3 clone.
The chip is recognized by the software but the final programming fails.
Here's the message MPLAB gives out:

"Connecting to MPLAB PICkit 3...

Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.00
Firmware type..............dsPIC33F/24F/24H
Programmer to target power is enabled - VDD = 3,375000 volts.
Target device dsPIC33FJ64GP802 found.
Device Revision ID = 3003
Loading code from E:\DIY\Electric Druid Tap Delay 4 Sec\DIGIDELAY.HEX....
2019-10-25 17:29:16 +0200 - Hex file loaded successfully.
2019-10-25 17:29:18 +0200 - Programming...


Device Erased...

Programming...

The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x47ff
configuration memory
Failed to program device"
Title: Re: Help to program a dsPIC33FJ64GP802?
Post by: ElectricDruid on February 13, 2021, 01:53:30 PM
Hi Austin,

Did you ever get this sorted out?

MPLAB is able to read the chip version correctly, so it can't be all bad. Is there anything else connected to the ICSP pins? (CLK/DAT) A pot or other load on those pins will mess up the programming. You don't say whether this is being programmed in a ZIF socket or in a circuit or where.
Title: Re: Help to program a dsPIC33FJ64GP802?
Post by: MichaelJones on April 01, 2021, 03:35:49 AM
Yes, the other power pins also need to be connected, and the Vcap pin needs a 10uF cap from it to ground too. It stabilises the processor core voltage. Finally, watch out on the power. Are you supplying power to the chip from the PICKit3, or to the PICKit3 from the circuit?
Title: Re: Help to program a dsPIC33FJ64GP802?
Post by: Wavelength on April 07, 2021, 10:42:42 AM
Austin,

Best bet would be go to the Microchip forums there are a lot of smart people up there.

Thanks,
Gordon
Title: Re: Help to program a dsPIC33FJ64GP802?
Post by: garcho on April 17, 2021, 11:58:51 AM
Another bot bomb, here's the original from 2019:

https://www.diystompboxes.com/smfforum/index.php?topic=123287.0 (https://www.diystompboxes.com/smfforum/index.php?topic=123287.0)
Title: Re: Help to program a dsPIC33FJ64GP802?
Post by: duck_arse on April 18, 2021, 10:50:11 AM
AustinGreyson got a reply from MichaelJones. maybe if we gave them their own board, they'd talk to each other and stop bothering the rest of us.

that ElectricDruid looks suss, to.
Title: Re: Help to program a dsPIC33FJ64GP802?
Post by: ElectricDruid on April 18, 2021, 04:21:26 PM
Quote from: duck_arse on April 18, 2021, 10:50:11 AM
that ElectricDruid looks suss, to.

Lol! You have no idea...;)