Using GPIO command on UBoot command line...is there any pin mapping between HPS pin # and GPIO pin #?
Go to top
Forums » Software Development »
Added by Austin Franklin about 7 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