108Views4Replies

Author Options:

PIC24 programming troubles? Answered

Hi,
I have been working on a board with a PIC24FJ32GA002. The board had the correct voltages on the PIC's power pins (3V). I was able to program the pic one time successfully with my PICkit3, but every subsequent attempt has resulted in the following error message:
Connecting to MPLAB PICkit 3...
Firmware Suite Version.....01.29.33
Firmware type..............dsPIC33F/24F/24H

Target detected
Device ID Revision = 3046

The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x2bff

Programming...
EEData memory
Address: 0 Expected Value: 0 Received Value: 0
Calibration memory
Address: 0 Expected Value: 0 Received Value: 0
Failed to program device


I don't think the chip is fried since it still reads the device ID, but I have no idea what's going on with the EEData error. If anyone knows anything about this, that would be greatly appreciated. Thanks in advanced.

Discussions

The forums are retiring in 2021 and are now closed for new topics and comments.
0
iceng
iceng

5 years ago

Try erasing the pic first.

0
Higgs Boson
Higgs Boson

Answer 5 years ago

Thanks. That seemed to work on the MPLAB IPE. Is there a reason the erase in the normal programming procedure in the MPLAB IDE is different from that on the IPE?

0
iceng
iceng

Answer 5 years ago

No idea how things running on windows do anything these days.......

Glad you can reuse the chip. I used to burn and reburn picks a good deal.

Most of the software would automatically erase a chip before burning a program in.

My problem was to disable the auto erase and let me reburn the program over 30 times which interestingly would allow a 5V chip those days to run reliably as low as 2.8Volts.

I like your radiation detection work

"I chose to base the probe around the R1307 photomultiplier tube, coupled to some scintillation plastic"

Any idea as to where to buy those items ?

My Geiger devices are fun but I could use better.

BTW you got a smart Dad....

0
Higgs Boson
Higgs Boson

Answer 5 years ago

I picked pretty much everything up on ebay. It's amazing what you can find there haha. I haven't upgraded my blog in a while, but I've made several more scintillators and a geiger counter with a pancake probe. I'm currently working on a gamma spectroscopy setup.