Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFly factory reset command #27

Open
synfinatic opened this issue Nov 25, 2014 · 1 comment
Open

WiFly factory reset command #27

synfinatic opened this issue Nov 25, 2014 · 1 comment

Comments

@synfinatic
Copy link
Owner

Should have a command which allows us to do a factory reset on the WiFly. especially if we want to support multiple UART speeds.

@synfinatic
Copy link
Owner Author

Page 98 of the manual:

  • Software—In command mode, use the factory RESET command to restore the defaults. This command automatically loads the default settings and executes a save command. Next, send the reboot command so that the module reboots with the default configuration.
    • Hardware—Set GPIO9 high on power up to arm the factory reset function. Then toggle GPIO9 five (5) times, which restores the configuration to the factory reset. GPIO9 is sampled at about 1 Hz; therefore, if you are using a CPU to generate the signal, make sure that GPIO9 transitions (high to low or low to high) are at least 1 second long.

So basically we'd need to control power to the WiFly and via the Teensy. Easiest solution would be to switch to a 5 pin version of the MCP1825 which has a SHDN pin (ground to shutdown). Then bring up GPIO9 high and power it on, followed by the toggles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant