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

PIC24FJ512GU/GL406 POR Issue

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



Joined: 20 Dec 2023
Posts: 16

View user's profile Send private message Send e-mail AIM Address

PIC24FJ512GU/GL406 POR Issue
PostPosted: Tue Mar 11, 2025 12:30 am     Reply with quote

Hi,

I am using PIC24FJ512GL/GU406 both MCU(Anyone at a time) in one of my project with our own pcb board and using CCS version 5.101. The control board contains two mcu each performs its own different purpose. Sometimes we are facing a problem that after power on anyone of the mcu is not even enter in start of the firmware program i.e. main(). I have confirmed this by set one output led at the 1st line of the main(). When the problem occures the led is not turned on.
After power off the system again power on will solve the issue. But on a average count of 15 times power on & off this problem occurs 6-8 times.
Any light up on this issue will be highly appreciated.

Thanks in advance.
temtronic



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

View user's profile Send private message

PostPosted: Tue Mar 11, 2025 5:38 am     Reply with quote

hmm....

Sounds like a problem in how you designed/built the power supply section of the PCB. Is it rated for at least 3x max running current ? IE say the unit needs 3 amps when running, PSU should be able to supply 9 amps.

Does EVERY 'chip' have a bypass cap close to it's VDD, VSS lines ?

If those PICs have 2 VDD, 2VSS are they ALL connected ?
I'm sure others ,who use those PICs will know of other possibilites.
Ttelmah



Joined: 11 Mar 2010
Posts: 19730

View user's profile Send private message

PostPosted: Tue Mar 11, 2025 8:58 am     Reply with quote

As Jay says, the most likely thing is power.
The PIC has a specification for the minimum rise time for the supply rail
for the internal POR to work. For the GU, look at DC17A in the electrical
characteristics. If the supply rises slower than this the POR won't work.
You need to either ensure your supply meets the specifications, or add
tour own external reset circuit to MCLR.
Too much capacitance on the supply rail relative to what it can deliver
on start up, is the normal cause.
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