Search found 27 matches

by manos
Wed Nov 11, 2020 8:50 am
Forum: General Discussion and Questions
Topic: rshell error in handling file system
Replies: 7
Views: 3576

Re: rshell error in handling file system

Thank you for your information! Well, if I understood correctly, you believe that this might be a problem of the REPL? Meaning that in (my) xbee the os command is not working properly? If so, is there anything that I can do in order to: 1) check that is REPL's fault 2) overcome this problem somehow ...
by manos
Tue Nov 10, 2020 11:07 pm
Forum: General Discussion and Questions
Topic: rshell error in handling file system
Replies: 7
Views: 3576

Re: rshell error in handling file system

Thank you dhylands for your reply!! No, xbee's have /flash, that's for sure. Boards returns: pyboard @ /dev/ttyUSB0 connected Epoch: 2000 Dirs: /flash /pyboard/flash Also, I tried: rshell -p /dev/ttyUSB0 -b 9600 ls /pyboard/flash but I had similar result. The os.listdir() works, but the thing is tha...
by manos
Tue Nov 10, 2020 9:24 pm
Forum: General Discussion and Questions
Topic: pyboard tool error
Replies: 8
Views: 4271

pyboard tool error

Hey, it seems like I can't access the files stored in flash of my xbee 3, using the pyboard tool. Although, I can use a command like this: pyboard --device /dev/ttyUSB0 -b 9600 -c 'print(1+1)' (which means that the pyboard tool is communicating with micropython's repl in my xbee), the following does...
by manos
Tue Nov 10, 2020 9:19 pm
Forum: General Discussion and Questions
Topic: rshell error in handling file system
Replies: 7
Views: 3576

rshell error in handling file system

Hey everyone, I have just installed (newbie here) rshell in my xubuntu and I am trying to interact with my Xbee 3. After some trials, I have managed to enter the Micropython REPL of my xbee successfully - so I guess the serial communication is working fine. But, whenever I try to, let's say, list th...
by manos
Tue Nov 10, 2020 12:44 pm
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 19
Views: 9558

Re: MicroPython and flash memory issues

Yes, my file was listed in os.listdir and it was the last file.
After os.remove it got removed from os.listdir too, but the bytes were not freed as statvfs showed.
by manos
Tue Nov 10, 2020 10:08 am
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 19
Views: 9558

Re: MicroPython and flash memory issues

Hey Roberthh, Thanks for your reply! I am not sure about what is it that I am doing wrong but this is not working for me. I have created a 30KB text file, put it in flash using ampy and then I accessed the Micropython REPL of my Xbee. There, I imported the os module and noticed that the result of os...
by manos
Fri Nov 06, 2020 4:07 pm
Forum: General Discussion and Questions
Topic: Wireless send/receive messages between XBee 3, through MIcroPython
Replies: 2
Views: 1847

Re: Wireless send/receive messages between XBee 3, through MIcroPython

Thank you for your response! There has been very little information published about the MicroPython XBee port, and Digi have never published any source code. Thank you! I have started doubting my ability to search the internet, after failing to find more info :D (Somewhat disappointing really, becau...
by manos
Fri Nov 06, 2020 3:59 pm
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 19
Views: 9558

Re: MicroPython and flash memory issues

Hey, sorry for bothering you again, but I am having some tough time here... As you said here: The space is definitely reclaimed if you reinitialize the file system, deleting all files and bundled code. Whether space at the End of the file system is reclaimed has to be tested. A few tests I made seem...
by manos
Mon Oct 12, 2020 7:52 pm
Forum: General Discussion and Questions
Topic: Wireless send/receive messages between XBee 3, through MIcroPython
Replies: 2
Views: 1847

Wireless send/receive messages between XBee 3, through MIcroPython

Hello everyone, Based on the XBee 3 RF module User Guide, there are 2 operating modes which establish the way the host device (i.e a microcontroller) communicates with an XBee module through the serial interface. Application Transparent mode ("transparent mode") Application Programming Interface mod...
by manos
Thu Oct 08, 2020 12:21 pm
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 19
Views: 9558

Re: MicroPython and flash memory issues

Thank you both for your replies!!!

It takes me some time to review and...process all the info you share with me (so maybe I will have some further questons in the future), but I really appreciate it!