I am following the Digi Micropython Programming guide documentation to set up my development environment with PyCharm IDE and the Digi XBee plugin.
The setup works great and I was able to create a project, add some code and have uploaded code to the flash the connected module by using Pycharm IDE.
However, I am unable to erase the code stored in flash memory. I tried to erase the code under the MicroPython interactive interpreter mode (Read-Evaluate-PrintLoop). I did the following steps.
At the MicroPython >>> prompt, press Ctrl+F to enter flash mode. Do not enter or paste any code.
At the MicroPython >>> prompt, press Ctrl+D to complete the process. A process message displays: Erasing stored code…
When the process is complete the MicroPython >>> prompt displays in the terminal.
To check when I press the reset button on my development board or Ctrl+R at the MicroPython prompt, Xbee 3G global module rerun the stored code or uploaded code to the flash by using Pycharm IDE.
Does anyone know how to erase uploaded code to the flash by using Pycharm IDE? Is there any guidance on how to blank the flash of Xbee module by using Pycharm IDE?