I have a problem compiling any code using Micropython from XCTU to Xbee Cellular 3G Global embedded. This is the error “OSError [Errno 7019] ENODEV”… I cannot do nothing… :S Please helpme to compile correctly. I’m following the steps of the User Manuals(The error was produce in the step 5):
-
Access the MicroPython environment.
-
Copy the code you want to paste into the XBee device. For example:
print(“Hello world”) -
Press Ctrl+F.
MicroPython v1.9.3-999-g00000000 on 2018-01-01; XBee Module with EFX32
Type “help()” for more information.
>>>
flash compile mode; Ctrl-C to cancel, Ctrl-D to finish
1^^^ -
At the MicroPython 1^^^ prompt, right-click and select the Paste option.
MicroPython v1.9.3-999-g00000000 on 2018-01-01; XBee Module with EFX32
Type “help()” for more information.
>>>
flash compile mode; Ctrl-C to cancel, Ctrl-D to finish
1^^^ print(“Hello world”) -
Press Ctrl+D to finish. The code is compiled and stored in flash memory.
Compiling 123 bytes of code…
Used 0/150 QSTR entries.
Compiled 123 bytes of code to 188/7544 bytes of flash.
Automatically run this code at startup [Y/n]? -
You can choose whether to have the code stored in the flash memory automatically run the next time the XBee device is started. Press Enter to leave the setting unchanged (the default value shown as uppercase).
Y: Press Y to automatically run the code stored in flash memory upon startup. This sets the PS command to 1. Note that this example only works on startup if you have a terminal open on that serial port and the AP command is set to 4.
N: Press N to ensure that the code stored in flash memory is not run the next time the XBee device is started. This sets the PS command to 0.