jdm modified programmer
OK - tried to configure WinPic (not 800) to do it and here's what I get...
Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x00016A
Verifying CODE, 0x000000..0x00016A
Verifying 0x000000..0x00016A
Verify Error: 000000: read FFFFFF, wanted 040100, mask FFFFFF ==> diff=FBFEFF
Verify Error: 000002: read FFFFFF, wanted 000000, mask FFFFFF ==> diff=FFFFFF
Verify Error: 000004: read FFFFFF, wanted 00016A, mask FFFFFF ==> diff=FFFE95
Verify Error: 000006: read FFFFFF, wanted 00016A, mask FFFFFF ==> diff=FFFE95
More Verify Errors, unable to list all (total=180)
Programming CONFIG, 0xF80000..0xF80004
Verifying CONFIG, 0xF80000..0xF80004
Verifying 0xF80000..0xF80004
Verify Error: F80000: read 00FFFF, wanted FFFFE5, mask 00C71F ==> diff=00001A
Verify Error: F80002: read 00FFFF, wanted FF7FFF, mask 00803F ==> diff=008000
ERROR: Programming FAILED !
Cannot verify at different voltages with this hardware.
So it seems that my programmer is NOT working... All reads give 00FFFF and no writing has been done (the original test program still works).
Any ideas anyone?! I am 99.99% sure that I have followed the schematics correctly but I will recheck them anyhow...
Boooeer...
Added after 2 hours 21 minutes:
HAHA!
OK - one thing I didn't realise about dsPIC30F family devices - Must be powered from different source. They need more power than the serial programmer can supply.
The other problem was that I had my ICSP header on backwards...
I still think it's backwards now, but now it works!!! -->
Info: Loading definitions for "dsPIC30F6014A" from C:\Program Files\WinPic\devices.ini .
Info: dsPIC30F6014A, added and tested by Nam Nguyen-Quang, 2006-01-28
Info: Note: The config bit defs SHOULD be loaded from Microchip's dev-file
Couldn't find "devices\dsPIC30F6014A.dev", please borrow/copy from MPLAB !
Initialising PIC-Programmer: Success.
Testing: delay(500ms) took 0.50 seconds, timer_freq=3.5795 MHz ... ok
Cannot verify at different voltages with this hardware.
Verifying...
Verifying CODE, 0x000000..0x00016A
Verifying 0x000000..0x00016A
No DATA MEMORY in buffer to verify.
Verifying CONFIG, 0xF80000..0xF80004
Verifying 0xF80000..0xF80004
Verify finished, no errors.
All done and verified...
I will use this forum to give updates on my progress - just in case anyone else out there has any similar problems...
Cheers
Russell