Search found 68 matches

by smhodge
Sat May 30, 2020 2:53 pm
Forum: MicroPython pyboard
Topic: /sd gone
Replies: 5
Views: 127

Re: /sd gone

It happens whether using the rshell utility by dhylands or by simply having the code, including boot.py, on the sd card (which is known to work fine on other pyboards). I'm pretty convinced it is a hardware issue. I recently modified my motherboard slightly and had it refabricated, and it's with 2 o...
by smhodge
Fri May 29, 2020 6:57 pm
Forum: MicroPython pyboard
Topic: /sd gone
Replies: 5
Views: 127

Re: /sd gone

I only get 'flash' listed.

So by hardware issue do you mean (a) specifically with respect to the /sd card and (b) unfixable except by replacing the entire pyboard?

Thanks
by smhodge
Fri May 29, 2020 3:09 pm
Forum: MicroPython pyboard
Topic: /sd gone
Replies: 5
Views: 127

/sd gone

I now have 2 pyboard v1.1's that /sd has vanished from: rshell gives a "cannot access /sd" message and sure enough code that used to boot just fine from the /sd card no longer does (the code is still there if I look at it with a PC). I can copy copy to /flash with rshell and it will boot and run jus...
by smhodge
Fri May 22, 2020 4:52 pm
Forum: MicroPython pyboard
Topic: bytecode not possible for boot.py & main.py?
Replies: 4
Views: 253

Re: bytecode not possible for boot.py & main.py?

I have a python (not microPython) pre-processor script that ends up compiling all files in a project to bytecode (and then uses rshell to sync all of them to the board, reset the board, and open a PuTTY connection to stdout). To deal with the aforementioned complication yesterday I added a workaroun...
by smhodge
Fri May 22, 2020 3:27 pm
Forum: MicroPython pyboard
Topic: bytecode not possible for boot.py & main.py?
Replies: 4
Views: 253

Re: bytecode not possible for boot.py & main.py?

Thanks. So much for boot.py. But tests I did also seem to indicate that even if boot.py exists, changing the line in it that starts main.py won't work either if changed to

pyb.main('main.mpy') # main script to run after this one

won't work either.
by smhodge
Thu May 21, 2020 11:59 pm
Forum: MicroPython pyboard
Topic: bytecode not possible for boot.py & main.py?
Replies: 4
Views: 253

bytecode not possible for boot.py & main.py?

It seems like boot.py and main.py cannot be bytecode (mpy files). Is that correct?

Pyboard 1.1, firmware 1.12
by smhodge
Sun May 17, 2020 6:10 pm
Forum: General Discussion and Questions
Topic: does mpy take precedence over py?
Replies: 1
Views: 112

does mpy take precedence over py?

If you have both a x.py and x.mpy file on /flash or /sd, does the x.mpy file take precedence and get loaded, and the x.py file ignored?
by smhodge
Sat May 02, 2020 4:56 pm
Forum: MicroPython pyboard
Topic: rsync timeout
Replies: 18
Views: 935

Re: rsync timeout

Saga conclusion. As my code has continued to grow in size I have had to deal with this issue more and more. It has finally reached the point where it *always* happens and I simply cannot use rshell/rsync to update files on /flash. It always fails with the message <timed out or error in transfer to r...
by smhodge
Fri Apr 17, 2020 4:54 pm
Forum: MicroPython pyboard
Topic: rsync timeout
Replies: 18
Views: 935

Re: rsync timeout

So is there any way to test the hardware to verify that?
by smhodge
Fri Apr 17, 2020 4:41 pm
Forum: MicroPython pyboard
Topic: rsync timeout
Replies: 18
Views: 935

Re: rsync timeout

I've tried the mass erase & firmware reload many times. So many times, in fact, that I made a batch file to do it.