I tried to add a button to my Jetson Nano. I meant to plug it into pins 39 + 40 (at the bottom) but I misunderstood the pin order and instead I plugged it into pins 1 + 2. When I pressed the button I bridged the +3.3V and +5V and the Nano shut down. Now when I try to use the GPIO library it says:
WARNING: Carrier board is not from a Jetson Developer Kit.
WARNNIG: Jetson.GPIO library has not been verified with this carrier board,
WARNING: and in fact is unlikely to work correctly.
To check if it is a hardware problem, I opened another Jetson Nano that I have never previously used, and I moved the SD card and ethernet and power (micro USB). But the second Nano does not start, it only shows a green light. So I cannot compare.
My best indication that the GPIO pins are fried is that the following code prints the warning and then “0”, but I would expect an input with an internal pull-up to print 1:
import RPi.GPIO as GPIO
pin = 40
GPIO.setmode(GPIO.BOARD)
GPIO.setup(pin, GPIO.IN, pull_up_down=GPIO.PUD_UP)
print(GPIO.input(pin))
GPIO.cleanup()
How can I check that the hardware is truly damaged?