Home/Support/Support Forum/PyCharm IDE - How to erase the code stored in flash memory.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

PyCharm IDE - How to erase the code stored in flash memory.

0 votes
Hi,

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?
asked May 27 in Python by omkarmali1984 New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Go to the top xbee menu and select Format file system.
answered May 27 by mvut Veteran of the Digi Community (12,829 points)
...