Unable to write to GPIO pin

We fired:

echo 50 > /sys/class/gpio/export

echo “out” > /sys/class/gpio/gpio50/direction

echo 0 > /sys/class/gpio/gpio50/value

But on checking pin status with multimeter we can still see that pin is high instead of low.

In DTS we removed USDHC1 which mght have caused SODIMM pin 192 to be used as usdhc1.DATA0 instead of GPIO2.18.

Are we missing anything else.

Please reply ASAP.

Thank you,

Soham

And you are sure whatever pin you are talking about is actually properly muxed as GPIO?

https://developer.toradex.com/device-tree-customization#Pinmuxing