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

PIC24HJ128GP206A

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



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PIC24HJ128GP206A
PostPosted: Sat Jan 11, 2014 6:42 pm     Reply with quote

I have two identical PCB's each with a PIC24HJ128GP206A TQFP 64 pin and both have an identical issue. The issue is PINS RC2 RC1 RG15 RG13 RG12 RG0 RG1 appear dead ( can't get then to go high ).
Code:
/// notes certain pins aren't working
/// bad pins C1 C2 G15 G13 G12 G14 G0 G1
#include <24HJ128GP206A.h>

#FUSES NOWDT                    //No Watch Dog Timer
#FUSES CKSFSM                   //Clock Switching is enabled, fail Safe clock monitor is enabled
#FUSES NOJTAG                   //JTAG disabled

#device ICSP=1
#use delay(crystal=40MHz)
#use rs232(debugger)

void main()
{
delay_ms(200);
  output_g(0xFFFF);
   while(TRUE)
   {
  delay_ms(200);
  output_g(0xFFFF);
  delay_ms(200);
  output_g(0x0000);
     Printf("hello\n\r");
   }

}


G6 G7 G8 flash a led.....I have tested every trace back to the board
It is just the 8 pins around the top corner of the PIC chip that are failing.
Failing pins aren't shorted to ground.
Any ideas? No hurry since I can do without the pins.
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Jan 12, 2014 6:46 am     Reply with quote

Im not a '24' user but..
I know you've probably thought of it but are there 'default' peripherals on those pins ? Or are they 'programmable pins' that aren't properly 'programmed'.

hmm.. are those pins shorted to each other ? Have you a 3rd unpopulated PCB to examine and a real good magnifyer.

hth
jay
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Sun Jan 12, 2014 9:15 am     Reply with quote

I have a 3rd unpopulated board and there are no shorts or disconnects.
On the failing boards with the PIC24 none of the failed pins are shorted to each other. There is continuity from the PCB to the pin as it enters the PIC's plastic package. Suspects are the chip dies for the few chips I have and the CCS compiler database set up for this chip. The PIC chips are cheap enough I'll get another batch and swap one chip to see if the problem persists.
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sun Jan 12, 2014 10:47 am     Reply with quote

Douglas Kennedy wrote:
I have a 3rd unpopulated board and there are no shorts or disconnects.
On the failing boards with the PIC24 none of the failed pins are shorted to each other. There is continuity from the PCB to the pin as it enters the PIC's plastic package. Suspects are the chip dies for the few chips I have and the CCS compiler database set up for this chip. The PIC chips are cheap enough I'll get another batch and swap one chip to see if the problem persists.


Did you check all VDD and VSS connections are ok especially the ones near the problem pins?
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Sun Jan 12, 2014 1:38 pm     Reply with quote

Thanks asmallri as you suggested, it was a bad cold solder VSS connection same place on both boards oops.
Maybe the thermal sink (ground plane) on the ground connection didn't help.
You know sometimes I fixate on the pins at issue and since it was replicated on another board ended up convincing myself the wrong answer was the correct answer.
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