dsPic Programmer

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

dsPic Programmer

Post 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 293 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
1 in 10 people understand binary, the other one doesn't !

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: dsPic Programmer

Post 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 :)

User avatar
petesmart
Valued Contributor
Valued Contributor
Posts: 395
Joined: Thu May 06, 2010 11:42 am
Location: Sydney, Australia
Has thanked: 187 times
Been thanked: 140 times
Contact:

Re: dsPic Programmer

Post 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
sorry about that Chief!

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: dsPic Programmer

Post 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
1 in 10 people understand binary, the other one doesn't !

Post Reply