dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

General discussion on mikroElektronika development boards.
Post Reply
Author
Message
rrsquez
Posts: 117
Joined: 23 Feb 2011 21:35

dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#1 Post by rrsquez » 06 Apr 2011 06:19

Hello, I have a TFT 320x240 demo board with a "dsPIC33FJ128GP710" chip (mikroMMB for dsPIC). Note the "128". A programming session was accidentally interrupted and ever since, I've been getting a warning from the programmer. It says that it detected a "dsPIC33FJ256GP710", but I have a "dsPIC33FJ128GP710" device selected. I ignore this warning and the board still programs just fine, however, this problem does not go away.

I have visually verified that the part number I am using is correct, and it used to work just fine before the event I described.

I think the internal code tha identifies the device has been corrupted. Is there some way to fix it using the programmer, or with code?

Thank you, Richard V

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#2 Post by tihomir.losic » 06 Apr 2011 12:42

Hello Richard,

please, tell me, which programmer are you using?

Best regards,

Losic Tihomir
mikroElektronika [Support team]

davide69
Posts: 67
Joined: 24 Jan 2011 17:28

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#3 Post by davide69 » 07 Apr 2011 17:56

Hi Richard
I have the same problem, for few days there was no warning, now I hve the same situation you describe, in the mean time I installed the PIC32 compiler and I suspect something crashed.
I traied to reinstall all but no difference, I decide to stay wiith this warning as you. I use LV24-33 programmer.

Davide

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#4 Post by tihomir.losic » 08 Apr 2011 10:29

Hello,

I didn't reproduce your issue.
Please, take photo and attach here in order to make detailed inspection.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

rrsquez
Posts: 117
Joined: 23 Feb 2011 21:35

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#5 Post by rrsquez » 11 Apr 2011 07:50

Hello, of course you wouldn't be able to reproduce this. It was an accident that caused me to interrupt power during a programming session. Somehow, the manufacturing ID was corrupted. I believe it's the last two words of memory (FFFE or something like this). I don't know how to re-program an exact area in memory (given an address). I believe I need to use and "org" instruction so that I can specify the address.

I'm still new to C in some ways. I couldn't find information on the product codes for PICs. I tried searching the Microchip site, but it's not very useful.

On th MikroPIC suite (programmer: F11), what is "User Unit ID". The value I read is "FFFFFFFF". I didn't want to mess with it not knowing what it is.

Thank you for any insight you could provide.

Best regards, Richard V

rrsquez
Posts: 117
Joined: 23 Feb 2011 21:35

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#6 Post by rrsquez » 19 Apr 2011 07:11

Hello, below is a picture of the failure I previously mentioned. This was not a failure of your excellent product, but rather the result of a programming session being interrupted at the worst possible time, or for whatever reason, the device code was altered.

Can you suggest any method to re-program the device ID? I can't even determine what that code is. I've searched the microsoft website, but haven't found the answer yet.

This device code was just fine when I first bought this board. It's only a minor annoyance that I have to keep answering this "prompt" when I want to reprogram this board.

Any suggestions that anybody can provide would be greatly appreciated.

Thank you, Richard V
Attachments
Bad Device Code.JPG
Bad Device Code.JPG (117.63 KiB) Viewed 3229 times

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#7 Post by tihomir.losic » 19 Apr 2011 15:31

Hello,

please, contact me on my personal mail:
tihomir.losic@mikroe.com
in order to find solution.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

davide69
Posts: 67
Joined: 24 Jan 2011 17:28

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#8 Post by davide69 » 19 Nov 2011 20:01

Hello,

I have the same situation, could you tell how you solve the matter.

Thanks

Regards

davide

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#9 Post by filip » 21 Nov 2011 15:40

Hi,

Which software/hardware are you using ?

Regards,
Filip.

davide69
Posts: 67
Joined: 24 Jan 2011 17:28

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#10 Post by davide69 » 21 Nov 2011 16:24

Hi Filip,

I am using MMB Dspic, HW rev 1.01

Davide

davide69
Posts: 67
Joined: 24 Jan 2011 17:28

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#11 Post by davide69 » 22 Nov 2011 16:29

The situation is exactly as described by rrsquez, I am wandering how he solved the matter. This may help me and other in the forum.

Davide

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: dsPIC33FJ256GP710: Manufacturer Device Code Is Wrong

#12 Post by filip » 25 Nov 2011 16:42

Hi,

Please, can you send me the detailed photo of the mikroMedia for dsPIC33 board ?

Regards,
Filip.

Post Reply

Return to “Development Boards”