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

Pin on HIGH using ICD-U64 programmer

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



Joined: 18 Dec 2025
Posts: 2

View user's profile Send private message

Pin on HIGH using ICD-U64 programmer
PostPosted: Thu Dec 18, 2025 4:51 am     Reply with quote

Hello!

I am using ICD-U64 for programming a DSPIC33EP64GP506. When i click on program i have a HIGH on pin RB9. As i have seen in documentation, this pin has not to be on high in this process. I wrote in my code:
#pragma config JTAGEN = OFF // JTAG disabled
#pragma config ICS = PGx2

#FUSES NOJTAG //JTAG disabled

Because i've seen that my RB9 has JTAG function:
TMS/ASDA1/RP41/RB9

What can i do to have this pin always on LOW because i am using this pin to control a relay.

thank you so much!
Ttelmah



Joined: 11 Mar 2010
Posts: 20003

View user's profile Send private message

PostPosted: Thu Dec 18, 2025 7:24 am     Reply with quote

You can't.
The chip when programming is disabled. None of the hardware is operational.
Is the pin 'high' or just floating?. This is what it should be doing. If so it'll
be the same as when the chip is waking. For a few uSec the pins will all float.
If you want a pin to be low you would need to add an external pull down
resistor. Effectively when programming the pins are in the same state
as when the chip starts, but lasting for seconds, instead of only a few
uSec. What happens if you disconnect the pin?. If the signal goes high,
you have your answer.
rooles



Joined: 18 Dec 2025
Posts: 2

View user's profile Send private message

PostPosted: Thu Dec 18, 2025 8:35 am     Reply with quote

Ttelmah wrote:
You can't.
The chip when programming is disabled. None of the hardware is operational.
Is the pin 'high' or just floating?. This is what it should be doing. If so it'll
be the same as when the chip is waking. For a few uSec the pins will all float.
If you want a pin to be low you would need to add an external pull down
resistor. Effectively when programming the pins are in the same state
as when the chip starts, but lasting for seconds, instead of only a few
uSec. What happens if you disconnect the pin?. If the signal goes high,
you have your answer.


Hi, thanks for your reply. I have a pull-down resistor and i have 3 more relays designed as the one i am refering to..., 3 relays are working without the HIGH thing when i program the chip and one of them on the pin RB9 receive a HIGH... The programmer gives a high to this pin, 1.7V aprox and i don't know if i can fix it.The thing is that one function of this pin (MensajePublicado: Jue Dic 18, 2025 4:51 am Asunto: Pin on HIGH using ICD-U64 programmer
Hello!

I am using ICD-U64 for programming a DSPIC33EP64GP506. When i click on program i have a HIGH on pin RB9. As i have seen in documentation, this pin has not to be on high in this process. I wrote in my code:
#pragma config JTAGEN = OFF // JTAG disabled
#pragma config ICS = PGx2

#FUSES NOJTAG //JTAG disabled

Because i've seen that my RB9 has JTAG function:
TMS/ASDA1/RP41/RB9) is for JTAG and i am programming it using my ICD-U64, no JTAG functions are used.

Thank you!
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