| View previous topic :: View next topic |
| Author |
Message |
rooles
Joined: 18 Dec 2025 Posts: 2
|
| Pin on HIGH using ICD-U64 programmer |
Posted: Thu Dec 18, 2025 4:51 am |
|
|
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
|
|
Posted: Thu Dec 18, 2025 7:24 am |
|
|
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
|
|
Posted: Thu Dec 18, 2025 8:35 am |
|
|
| 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! |
|
 |
|