This code works fine on a dsPIC30F3012. But not on the 3011.
Is it on a different location on the 3011 ? I search through the datasheet but could not find the answer.
I am using compiler PCWHD Version 5.091
Thank you for any help.
RNR
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Mar 09, 2021 2:14 am
Look on page 3 of the pdf below. This pdf covers the 3011.
It shows the Unit ID area is at 0x8005C0.
Look at section 6.7 on page 21. It says a Bulk Erase will not erase
the Unit ID area. So potentially it could be a problem with your programmer
firmware.
How do you know the ID was written correctly ?
You could have the compiler read it with:
value = getenv("ID");
RNR107
Joined: 19 Dec 2014 Posts: 23
Posted: Tue Mar 09, 2021 3:47 am
Ha.... OK
In that case, I know why it doesn't work.
I have a bootloader on this PIC, therefore it doesn't get erased properly...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum