Disable code from running at start up
For code that you saved to the flash memory and specified that the code should run at start up, you can change your choice and choose not to automatically run the code at start up. You can change your choice without saving the code to the flash memory again.
- Use Ctrl+F to save code to the flash memory and choose to run it at start up.
- At the Serial Console, enter Command mode by sending +++ and receiving an OK response.
- At the prompt, type ATPS and press Enter. The terminal should echo back 1, since the code in the flash memory is set to run at start up.
- At the prompt, type ATPS0 and press Enter. This statement disables automatic code execution at start up.
- At the prompt, type ATWR and press Enter. This statement writes the change to the flash memory.
- At the prompt, type ATCN and press Enter. This statement exits Command mode.
- Disconnect the USB cable from your computer.
- Close the Serial Console.
- Disconnect the power from the XBIB board.
- After the LEDs on the XBIB board have all turned off, reconnect the power to the XBIB board.
- Connect the USB cable to your computer. Notice that the LEDs do not blink, which verifies that you have successfully disabled the automatic code execution at start up.