Page 1 of 1

dsPic Programmer

Posted: Tue Aug 30, 2011 6:56 pm
by JohnCrow
Hi
Ive been looking at the dsPic programmer using a 30F3014 device (supplied by Matrix)
The program gives the following error when programming the chip.

File sent with 1 warnings:
CONFIG failed to erase bits at [1f00000]

Contents of file are:

02 83 3F 80 B3 87 FF FF FF FF FF FF 03 C0

Contents of chip are:

02 83 3F 80 B3 87 0F 31 0F 33 07 00 03 C0

Return code = 0

The program executes on hardware correctly.
I assume that as my program is very small and if some of the bits are damaged they are out of the addess range of my program.

Trying to erase with m-loader does not give any errors
Binary Counter B_L-3014.fcf_pic16
(5.5 KiB) Downloaded 315 times
M loader will also program the device ok using the generated hex file.

is this something that can be ignored, or do I have a faulty device. Only have 1 chip so not able to compare, but it doesnt give the error with the 30F2011

Thanks

Re: dsPic Programmer

Posted: Wed Aug 31, 2011 8:52 am
by DavidA
Hi John,

If i remember correctly, and i may not have done, to which Ben may correct me, but these are unused or spare areas of the config which mloader does not write to, generated hex files will fill these locations with "FF" but there may be data in these locations on the actual chip. So when it does its verification it warns you that the data on the file is different to that of the chip, so in summary, nothing to worry about :)

Re: dsPic Programmer

Posted: Wed Aug 31, 2011 11:08 am
by petesmart
Hi John,

I had similar observation when I started out with dspic etc..

See my post plus some good and helpful replies from the team..

http://www.matrixmultimedia.com/mmforum ... =29&t=8640

Basically it all works...it appears to need some tidy up.

Best

Pete

Re: dsPic Programmer

Posted: Wed Aug 31, 2011 12:41 pm
by JohnCrow
Thanks Pete
I do find the layout of the ports on the dsPic a bit confusing. ie some only having 1 or 2 bits to use
Need to get down to studying the data sheets. :?
But at least I know its all working as it should