Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPIO warning not carrier board #32

Closed
navyjosh opened this issue Feb 25, 2020 · 12 comments
Closed

GPIO warning not carrier board #32

navyjosh opened this issue Feb 25, 2020 · 12 comments

Comments

@navyjosh
Copy link

navyjosh commented Feb 25, 2020

Describe the bug

  • Which version of Jetson.GPIO you are using.
    Jetson.GPIO (2.0.6)

  • Which version of L4T (not JetPack) you are using.

R32 (release), REVISION: 3.1, GCID: 18186506, BOARD: t210ref, EABI: aarch64, DATE: Tue Dec 10 06:58:34 UTC 2019

To Reproduce

  1. Install OS using jetpack (target device jetson nano developer kit)
  2. sudo pip3 install jetson.GPIO
  3. import jetson.GPIO

Expected behavior
I expect GPIO pins to function, but they are not functioning

Additional context
$ ls -l /proc/device-tree/chosen/plugin-manager/ids
total 0
-r--r--r-- 1 root root 26 Feb 25 10:38 3448-0000-200
drwxr-xr-x 3 root root 0 Feb 25 10:38 connection
-r--r--r-- 1 root root 4 Feb 25 10:38 name

$ cat /etc/nv_tegra_release
R32 (release), REVISION: 3.1, GCID: 18186506, BOARD: t210ref, EABI: aarch64, DATE: Tue Dec 10 06:58:34 UTC 2019

--not sure if relevant-- install cuda, deepstream, various libs required for jetson-inference using apt.
https://github.com/dusty-nv/jetson-inference

For jetson-inference I followed instructions to build from source.
https://github.com/dusty-nv/jetson-inference/blob/master/docs/building-repo-2.md

@swarren
Copy link

swarren commented Feb 25, 2020

For some reason, the software does not detect the Jetson Nano Developer Kit's baseboard. Have you ever unplugged the module from the baseboard? Either way, could you make sure the module and baseboard are fully plugged together.

Do you have a connection to the debug serial port? If so, if you could collect the full boot logs (i.e. including the bootloader output, not just the kernel's dmesg output) that may be useful.

Since this sounds like a hardware issue, you may get better support from NVIDIA's developer forums (https://devtalk.nvidia.com/default/board/139/embedded-systems/1); it sounds like the problem isn't related to Jetson.GPIO itself, but rather is something wider.

@navyjosh
Copy link
Author

I don't have a baseboard, does that mean I have the jetson nano and not the jetson nano developer kit?

On the box it says developer kit, but it only came with one device. There was no module + baseboard.

@swarren
Copy link

swarren commented Feb 25, 2020

The developer kit is two separate boards that are already plugged together in the box; a module and a baseboard, via a large ~3 inch long connector that should be visible. If you have connectors such as USB, HDMI, Ethernet, power, then those are on the baseboard.

@swarren
Copy link

swarren commented Feb 25, 2020

Here's a picture of the full developer kit; module and baseboard:
https://developer.nvidia.com/embedded/jetson-nano-developer-kit

Here's the module on its own, without the heatsink attached:
https://developer.nvidia.com/embedded/jetson-nano

@navyjosh
Copy link
Author

Okay then to answer your question, no, I have never removed the module from the carrier board.

@navyjosh
Copy link
Author

The picture you showed has two slots for MIPI camera. My board has only one slot for MIPI. Could my board be out-dated?

@swarren
Copy link

swarren commented Feb 25, 2020

Oh, that comment posted? Github was telling me it couldn't post it. Oh well.

There are a couple of different versions of the baseboard. One has just 1 CSI connector, and the other has 2. Both should work fine with Jetson.GPIO, and both should be detected and reported in /proc/device-tree/chosen/plugin-manager/ids.

@swarren
Copy link

swarren commented Feb 27, 2020

Were you able to resolve this issue, or determine whether it's a hardware problem, e.g. try the same software in a different Jetson system and see if you still have the problem?

@ryanaltair
Copy link

some suggustion, to make pins work, for example, input pins need a pull-up
image

@navyjosh
Copy link
Author

Hello, I think the GPIO hardware was damaged due to exposure to a +5V external power on the +5V output pin on the GPIO. Perhaps the error message should also include the possibility for hardware damage.

@BaptisteAmato
Copy link

Hi, I'm having the same issue with my Jetson Nano (developer kit), however the pins work correctly when looking at my multimeter (when connecting the 5V pin to the 18th pin for example, I do get 5v on the 18th, but not detected by the lib...).

I'm also using an old version of Jetpack (3.1).

@swarren
Copy link

swarren commented Aug 13, 2020

Baptiste, please file a separate bug since this bug is closed (the issue was HW damage and not a problem in Jetson.GPIO), and you have a different symptom too.

When you file the bug, please run the command "ls -l /proc/device-tree/chosen/plugin-manager/ids" and include the output in your bug report. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants