Page 1 of 1

Persist gpio configuration

Posted: Thu Feb 27, 2014 9:57 pm
by EvgenyMuryshkin
Hi,

Is it possible to burn gpio configuration in controller so i don't have to initialize it every time board goes over power cicle?

Thank you.
Evgeny.

Re: Persist gpio configuration

Posted: Fri Mar 07, 2014 1:41 pm
by xol
Hi.
Yes it can be done but it is not implemented in API yet. The reason is that this feature is potentially dangerous as GPIO persistently configured as OUTPUT can be connected by mistake to OUTPUT or GND on some target and cause to short. If you have a number of target types you can forget the configuration made on specific SUB-20 board and get board or target damaged in this case.

Re: Persist gpio configuration

Posted: Mon Mar 10, 2014 10:36 pm
by EvgenyMuryshkin
Ok, that is not a big deal, i can configure them every time I run tests.

Thank you.