Search found 55 matches

by smhodge
Wed Apr 08, 2020 3:43 pm
Forum: MicroPython pyboard
Topic: rsync timeout
Replies: 5
Views: 85

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: 5
Views: 85

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: 5
Views: 85

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: 5
Views: 85

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: 67

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: 67

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: 108

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: 127

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...
by smhodge
Mon Mar 09, 2020 4:25 pm
Forum: MicroPython pyboard
Topic: all leds cycling
Replies: 11
Views: 563

Re: all leds cycling

Time to finish off this thread with what I found. The machine implementation of I2C definitely fixed the I2C issue. I'm not sure I mentioned exactly what that was. At startup it initally could do a scan() and get all the devices but later on during startup, w/o doing anything with I2C, it "lost" tha...