User's Manual

GS2101M Low Power WiFi Module Data Sheet Pin-out and Signal Description
GS2101Mxx Device Pin-out
GS2101M-DS-001270, Release 1.0 Confidential 41
3.1.3 GS2101M Program and Code Restore Options
Table 9, page 41 describes the options available for device program mode and code restore
capabilities. The respective GPIO pins are sampled at reset by device and depending on the
values seen on these pins goes into the appropriate mode. Code for the GS2101M resides
on the internal flash of the module and up to two back-up copies could be stored in flash.
If a software designer wants to restore the execution code to one of the backup copy, it can
be accomplished by asserting the appropriate GPIO pins as shown in the table below during
power up or reset.
Note:
1. In Run Mode, boot ROM leaves all GPIO pins as input with pull resistor enabled until flash
code sets them otherwise. In Program Mode, only the pins required for the Program Mode
specified interfaces are set to non-GPIO mode.
Table 9 GS2101M Pin Program and Code Restore
Boot Control Program
Mode
(GPIO 31)
Program
Select/Previous
Restore
(GPIO 25)
Interfaces for Program Load
(see Note 1) 0 0 Normal boot
01
Previous Code Restore. Restores the prior code revision by
invalidating the present code image. Will NOT invalidate the
last remaining image.
10
Program Mode: UART0 @ 115.2Kbaud; nothing on
GPIO15-18; SPI0 on SDIO pins. Note: this is the default you
get if you don’t pull the Program Select pin high.
11
Program Mode using: UART0 @921.6Kbaud; SPI0 on
GPIO15-18. Note: GPIO15-18 are only available on GS2000
SoC, and not on modules.