I am using orin nx, based on jp6.2, we want to blink the power led.
We just use the default setting of the jetpack, did not change anything.
Try to control the led by this:
gpioset gpiochip1 13=1(or 0)
nothing happened.
Please help me out.
Hi zhouyuan2,
Are you using the devkit or custom board for Orin NX?
Could you try running the following command instead?
# gpioset --mode=wait `gpiofind "PCC.01"`=1
# gpioset --mode=wait `gpiofind "PCC.01"`=0
I have verified these 2 commands working to control the PWR-LED on the Orin Nano devkit with JP6.2.2(r36.5).
Could you also verify with JP6.2.2 on your custom carrier board?
Or do you have the devkit to verify?
What’s the difference for PWR-LED from hardware between the devkit and your custom board?
Sorry, the command is working actually.
I didn’t figure out its mechanism before. I thought when i set it to 0, it will remain 0, but the fact is:
gpioset --mode=wait `gpiofind "PCC.01"`=0
When i maintain the command, the PWR-LED is turned off, but after i terminate the command, somehow the kernel regain the control, and turned it on automatically.
Anyway i know the trick now, thanks for your help!
Yes, the controlling state may be reverted when the process ends.
