hi maybe you can forward this to tech support, for some reason its getting blocked and returned?
I was referred here by: mvut at digi support
I have used digi xbee previously, but got sidetracked due to covid!
getting back to things, starting over to refresh memories, I wanted to get things setup, tools, hardware etc…
I purchased a new DIGI Xbee Zigbee Meshkit via mouser. non cellular
I am using the smt style module on th xbee smt grove board.
I have used XCTU to verify I can connect via usb, update firmware, and was at firmware v 3012, but downgraded to v 300D
That was an attempt at fixing the issue to be described.
I am on a win 10 pro machine, latest updates are stalled.
I installed pyCharm prof 2023.2.3, and added the XBEE pycharm plugin. Python v 3.12.0 is also installed on the machine.
To verify my setup was all correct, picked the simplest thing to do…used the LED Blink example code as a first build and load.
The code is below from DIGI…nothing was modified. code:
from machine import Pin
# Pin D9 (ON/SLEEP/DIO9)
LED_PIN_ID = "D9"
print(" | XBee MicroPython Blinking LED Sample |")
# Set up the LED pin object to manage the LED status. Configure the pin
# as output and set its initial value to off (0).
led_pin = Pin(LED_PIN_ID, Pin.OUT, value=0)
# Start blinking the LED by toggling its value every second.
print("- LED OFF")
print("- LED ON")
Ran the build within pycharm with no errors.
Tried to "Run" which starts the download....and this is where the problem occured:
as it starts to get things loaded this pops up (all in pycharm)
*Deploying application in selected device (COM3 - 9600/8/N/1/N)…*
*Cleaning stored code… [OK]*
*The XBee device does not support file system*
FYI...did a format on the part...that didnt help!
I took the same code, cut an pasted into python term in XCTU, loaded and runs fine...
now another development....spent hours playing with this now...
I used the python term in xctu, and flashed the code to the device...and that worked...
powered on off on...and it ran...
went back to pycharm...playing some more..
same code, built again...did a RUN, started the download....HOWEVER...this time it downloaded...no errors!!!
What is going on here? something is not right somewhere, but gets corrected after a flash via python term?
Not sure this is the real solution, all I know is that I spent two days to load a tiny program to blink an LED with PYcharm and the plugin.
that should have taken 10 min.
Do you have some insight, advice, solution?
FYI, the xbee parts came from a brand new mesh kit I got a few days ago...
Please let me know what you find, suggest, etc...
From “Eric via Digi Technical Support Forums” <email@example.com>
Date 11/3/2023 11:58:51 AM
Subject [Digi Technical Support Forums] [XBee & XBee Gateway/XBee - DigiMesh] Newbie tools install testing xbbe zigbee mesh kit, PyCharm build ok, run no good!