Project

General

Profile

Using GPIO command on UBoot command line...is there any pin mapping between HPS pin # and GPIO pin #?

Added by Austin Franklin about 14 hours ago

Hi,

I have the CriticalLink UBoot image on a terminal program. There is the GPIO set/clear/toggle command. It wants a pin number. I have a logic analyzer on HPS GPIO 53 (pin 26 on the MitySOM connector). After UBoot comes up, that pin is high...not sure why...but anyway, I want to be able to set it high and low using the GPIO command. What would I use for pin # for the GPIO command? I of course tried 53, and it still stays high. I'm guessing one of two things. The UBoot image uses HPS GPIO 53 for something, so choose another pin or reconfigure UBoot...or there is some pin mapping involved. I noticed there is a Linux pin mapping...so I tried that, maps to 222...but the GPIO command told me that wasn't right...

Any help appreciated.

Best Regards,

Austin


Go to top
Add picture from clipboard (Maximum size: 1 GB)