CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

DSPIC33F - Initialization of the device database failed

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
karthik



Joined: 27 Nov 2008
Posts: 7

View user's profile Send private message

DSPIC33F - Initialization of the device database failed
PostPosted: Tue Dec 09, 2008 6:01 am     Reply with quote

Hi,


I am trying to use CCS PCDIDE 4.078 compiler for DSPIC33FJ256GP710.

The compilation goes through without any errors or warnings but when I try to debug using MPLAB ICD2 the debug fails with the error
"Initialization of the device database for the requested device failed".

Could you please let me know what is the problem? Is this device supported?

The compilation and debugging works fine for PIC24FJ128GA010 though.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Dec 09, 2008 12:33 pm     Reply with quote

This is a Microchip question. Go to the ICD2 page and download the
release notes:
Quote:
MPLAB IDE Current Release Notes

It lists the devices supported by the ICD2. You may have to update
the firmware. The firmware comes with the latest release of MPLAB.
Here is the ICD2 page:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en010046&part=DV164005

If you have more questions on this topic, post them on the Microchip ICD
forum:
http://forum.microchip.com/tt.aspx?forumid=49
karthik



Joined: 27 Nov 2008
Posts: 7

View user's profile Send private message

PostPosted: Wed Dec 10, 2008 1:07 am     Reply with quote

Thanks for the response.

I made the following observations.

1) I checked if the device is supported with the existing ICD2 firmware and it does. The firmware is common to PIC24 and dsPIC. And PIC24 is working without any problems.

2) I still got the latest firmware for ICD2 and downloaded it. I tried to debug with the new firmware but I have the same problem. Debugging fails with the same error.

3) The surprising observation that I made was that when I use MPLAB IDE with CCS compiler for compiling and debugging instead of CCS IDE "everything works fine".

Now I am not sure what exactly is the problem. The code is same and compiler is same as well but debugging wouldn't start with CCS IDE.

Could someone please let me know whats going on?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group