Search found 9 matches

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: 1
Views: 97

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: 13
Views: 611

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!
by manos
Thu Oct 01, 2020 7:48 am
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 13
Views: 611

Re: MicroPython and flash memory issues

Dear Roberthh, thanks a lot! What you said about BytesIO and open really cleared up my mind. Thanks! Regarding files and RAM, if I understood correctly, you suggest that I exploit the advantages of IO type set of methods and i.e. you suggest that I break the file into many partial ones or use method...
by manos
Wed Sep 30, 2020 3:38 pm
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 13
Views: 611

Re: MicroPython and flash memory issues

Once again thank you for your precious help! The open("filename.txt", ..) seems to work ok. At least I can see it in the /flash directory. Now a couple of questions (it seems like it's never ending with me...I'm sorry): Let's say that I have a file stored in flash memory which has a size bigger than...
by manos
Wed Sep 30, 2020 11:57 am
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 13
Views: 611

Re: MicroPython and flash memory issues

Hahaha, don't worry I feel the same...Especially now cause I still don't get it... First of all the calculation data[1]*data[3] = 313344. [This imply that you multiply fragment size(the what?) times # of free blocks] So, you mean that the result, 313344, is bytes (?) or approximately 314KB which is ...
by manos
Tue Sep 29, 2020 2:03 pm
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 13
Views: 611

Re: MicroPython and flash memory issues

Hi Roberthh! Thanks a lot for your response! Thank you for clearing up that statvfs tells nothing about the RAM. May I ask how did you get to the conclusion of the file system size (you said it is 6130 KB?), just from statvfs's result? Well, maybe it's not of great interest to you, but from what I h...
by manos
Tue Sep 29, 2020 8:18 am
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 13
Views: 611

Re: MicroPython and flash memory issues

Oh, well regarding the block device, I have found that: MicroPython creates the VFS and offers the ability to mount other file systems(i.e LFS) within this VFS. So, a block device is a custom class (a template of which should be inspired by the uos.AbstractBlockDev class) which can provide me access...
by manos
Tue Sep 29, 2020 7:39 am
Forum: General Discussion and Questions
Topic: MicroPython and flash memory issues
Replies: 13
Views: 611

MicroPython and flash memory issues

Hey everybody! Being a total newbie, i am sorry in advance for the hard time I am giving you :roll: Let me start quoting the following from the MicroPython Documentation: "The file system is typically backed by internal flash memory on the device, but can also use external flash, RAM, or a custom bl...
by manos
Tue Sep 29, 2020 7:34 am
Forum: Announcements and News
Topic: UPDATED: New users post approval
Replies: 33
Views: 31937

Re: UPDATED: New users post approval

Hey everybody! This is as well, my first post! Thank you all for your precious help ! Keep up the good work! One question from me, regarding where to post a new topic. Feels like I am not sure where to post my question. In case of posting it under "wrong" category, is there any chance of moving it a...