Search found 86 matches

by smhodge
Tue Apr 14, 2020 5:29 pm
Forum: MicroPython pyboard
Topic: rsync timeout
Replies: 18
Views: 9672

Re: rsync timeout

My boot.py file contained the line: pyb.usb_mode('VCP') i.e., only the virtual serial port. My understanding was that was recommended(?) for rshell/rsync(?) but I can't recall for sure why I switched to that. I just now changed it to: pyb.usb_mode('VCP+MSC') ...and I can copy files manually using a ...
by smhodge
Wed Apr 08, 2020 3:43 pm
Forum: MicroPython pyboard
Topic: rsync timeout
Replies: 18
Views: 9672

Re: rsync timeout

Yes, listing the files on /flash is how I got the 54K number. Also even though I can fix it by re-writing the firmware and doing a mass-erase, I recently had the issue start again after just using rshell a couple of times to tweak one or two files w/o changing their size signficantly. I'll try an SD...
by smhodge
Tue Apr 07, 2020 11:44 pm
Forum: MicroPython pyboard
Topic: rsync timeout
Replies: 18
Views: 9672

Re: rsync timeout

And I assume FAT, whatever the default is.
by smhodge
Tue Apr 07, 2020 11:44 pm
Forum: MicroPython pyboard
Topic: rsync timeout
Replies: 18
Views: 9672

Re: rsync timeout

Yes, the one on github by dhylands. Version 1.1 pyboard, latest firmware (1.12).
by smhodge
Tue Apr 07, 2020 8:45 pm
Forum: MicroPython pyboard
Topic: rsync timeout
Replies: 18
Views: 9672

rsync timeout

rsync displays a message "timed out or error in transfer to remote" message when I attempt to update files on /flash. I have about 10 or so total *.py files that potentially could be updated. It often gets 2 or 3 or more copied but then it bombs. This symptom has only recently cropped up (as in the ...
by smhodge
Fri Apr 03, 2020 2:32 am
Forum: MicroPython pyboard
Topic: ram usage
Replies: 3
Views: 2409

Re: ram usage

Those 3 numbers are all I'm looking for. Thanks
by smhodge
Thu Apr 02, 2020 9:16 pm
Forum: MicroPython pyboard
Topic: ram usage
Replies: 3
Views: 2409

ram usage

I have been using mem_info() to look at memory usage, but that prints to the USB connection. Is there a way to access the same info from within my code?
by smhodge
Mon Mar 30, 2020 10:58 pm
Forum: General Discussion and Questions
Topic: memory allocation error
Replies: 3
Views: 1876

memory allocation error

So my code for a pyboard v1.1 has been growing bigger and bigger. I have a class defined that deals with external SPI flash memory, so naturally it has a lot of attributes and methods in it. Its code size is "gigantic" relative to all other classes I have defined for other uses. Today I added yet an...
by smhodge
Thu Mar 19, 2020 6:11 pm
Forum: General Discussion and Questions
Topic: does scheduling a callback preclude disabling interrupts?
Replies: 2
Views: 1473

does scheduling a callback preclude disabling interrupts?

I am using the <schedule> method to make an interrupt append an "event number" to a list. Works fine, no problem. My question is when I later on in the top-level code pop an event number off this "stack" do I need to globally disable/re-enable interrupts while I do this? I am suspecting that I don't...