how to stop BIOS reseting when powering off

alexis_nicolas
alexis_nicolas New Member Posts: 8

I have a UP 4000, and I had to change the direction of GPIO19 (pin16) to "output" for the SPI clock signal to be working. The problem is that each time power comes out of the board, meaning when I remove the power cord, not a simple shutdown, the BIOS setting is reseted and I have to manually go into the BIOS again to change the pin to "output".

the question already have been asked here : https://forum.up-community.org/discussion/5191/problem-with-bios-for-spi-clock#latest.
but the BIOS provided made the I2C and SPI protocols stop working, reverting to the bios UPAPBM11 worked to get them working again, but I still have the BIOS problem.

So is there a working BIOS that can fix this problem, or a way to put the pin to output with code and not going into the BIOS?
I have to send the board in the sky, so I can't manually do it when it will be deployed, and since there is a possibility that the power come off and come back, I need to make the SPI working again.

Tagged:

Answers

Privacy Policy