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 CCS Technical Support

PIC24FJ256GB406 - ICD-U64 programming error
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
charliumi



Joined: 03 Nov 2016
Posts: 11

View user's profile Send private message

to gaugeguy
PostPosted: Wed Dec 14, 2016 6:38 am     Reply with quote

Could you share the Fuses configuration as you mentioned you successfully make it work ?
I found out today that there's a message on CCSLoad indicating that PCI25FJ256GB406 is not Yet supported.

Could someone from CCS shim in and give an official answer ?
newguy



Joined: 24 Jun 2004
Posts: 1909

View user's profile Send private message

PostPosted: Wed Dec 14, 2016 7:08 am     Reply with quote

No one from CCS monitors these forums. If you have a question for CCS, you have to ask them yourself.
gaugeguy



Joined: 05 Apr 2011
Posts: 303

View user's profile Send private message

PostPosted: Wed Dec 14, 2016 7:54 am     Reply with quote

I tested with the PIC24FJ256GA406-I/PT

I am not sure if there would be any difference in the programming of the 'B' USB version, but I wouldn't expect any. Below are the configuration fuses from the list file.

Code:

Configuration Fuses:
   Word  1L: FCBF   NOWRTB NOBSS NOBS NOWRT PROTECT WPCFG PROTECT_CFG NOAIVT
          H: 0000 
   Word  2L: FFFF 
          H: 0000 
   Word  3L: FFFF 
          H: 0000 
   Word  4L: FFFF 
          H: 0000 
   Word  5L: FFFF 
          H: 0000 
   Word  6L: 7FFF 
          H: 0000 
   Word  7L: FFE3   PR_PLL PLL4X IESO
          H: 0000 
   Word  8L: FF1D   XT NOOSCIO SOSC_SEL PLL_FROM_PRIMARY NOIOL1WAY CKSFSM
          H: 0000 
   Word  9L: F7FA   WPOSTS11 WDT128 WDT WINDIS WDTWIN_25% NOWDTCMX WDTCLK_LPRC
          H: 0000 
   Word 10L: FFFF   BROWNOUT NOLVR
          H: 0000 
   Word 11L: FFDF   ICSP1 NOJTAG NODEBUG NOBTSWP
          H: 0000 
   Word 12L: FFFF   DSWDTCK_LPRC DSBOR DSWDT
          H: 0000 
   Word 13L: FFFF   NOALTCMPI NOTMPRPIN NOTMPRWIPE VREFNORM
          H: 0000 

[/code]
Ttelmah



Joined: 11 Mar 2010
Posts: 19549

View user's profile Send private message

PostPosted: Wed Dec 14, 2016 10:11 am     Reply with quote

Just as a comment, the GA, and the GB chips use the same programming data sheet & algorithm. So the only difference will be the device ID probably not being supported...
charliumi



Joined: 03 Nov 2016
Posts: 11

View user's profile Send private message

Conclusion - PCHWHD is buggy
PostPosted: Fri Dec 23, 2016 12:51 pm     Reply with quote

The issue was linked to the version of the compiler I used, which were not generated the appropriate set of instructions. I upgraded to the latest version (5.066), with same configuration and same board and the problem is gone. It works fine with both ICD64 and ICD80.

I found others issues since but I will share this on a separate thread.

Thanks
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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