Search found 9 matches

by DougK
Thu Nov 18, 2021 4:52 am
Forum: Programs, Libraries and Tools
Topic: rshell hangs copying to pyboard
Replies: 9
Views: 5588

Re: rshell hangs copying to pyboard

Thanks to all for the help. I'm definitely smarter in my use of rshell. I did figure out how to get back to my computer, but the path on my computer is much longer than on the esp, so definitely easier to copy from the computer to the esp (much less typing). I had been including the drive identifier...
by DougK
Mon Nov 15, 2021 8:30 pm
Forum: Programs, Libraries and Tools
Topic: rshell hangs copying to pyboard
Replies: 9
Views: 5588

Re: rshell hangs copying to pyboard

davef and Peter, Thanks for the replies! The ls /pyboard does what you'd expect - lists the contents of the flash on my ESP. I added the -a option when starting rshell, but it still hangs when copying. I'm copying .py files, which should be ascii, so I wouldn't have expected the -a to do much. My bu...
by DougK
Mon Nov 15, 2021 4:55 am
Forum: Programs, Libraries and Tools
Topic: rshell hangs copying to pyboard
Replies: 9
Views: 5588

Re: rshell hangs copying to pyboard

If I do

Code: Select all

ls 
after starting rshell I get a list of the files on my computer that are in the directory I started rshell from. This is multiple directories deep (i.e., somewhat long path). It sounds like you have a top level directory on your computer named /pyboard/ that you work from.
by DougK
Mon Nov 15, 2021 3:51 am
Forum: Programs, Libraries and Tools
Topic: rshell hangs copying to pyboard
Replies: 9
Views: 5588

rshell hangs copying to pyboard

I'm developing some library files for a robot that uses an ESP32 for control. Because the hardware is new and I'm pretty new to python I frequently need to download modified files from my PC to the ESP32 (an MH-ET Live board). I'm working on a Windows 10 machine and my ESP32 typically connects to CO...
by DougK
Thu Aug 26, 2021 1:43 am
Forum: ESP32 boards
Topic: Watchdog timer timeout
Replies: 0
Views: 1488

Watchdog timer timeout

I'm working on a robot using the MH-ET Live ESP32 board and a bunch of peripherals. One is a 128x128 TFT display that plugs into the ESP board. Periodically when I import the TFT driver I get a watchdog timeout. It appears random, and just started happening recently. I did update to a more recent "u...
by DougK
Thu Aug 12, 2021 7:38 pm
Forum: ESP32 boards
Topic: I2S on ESP32
Replies: 10
Views: 13949

Re: I2S on ESP32

Thanks guys! I was aware of the dir command for python, but assumed (incorrectly, it seems) there were more constants it wasn't listing because the examples I was looking at had more constants than what dir showed. The other constants must have gone away when the I2S code was merged in the MicroPyth...
by DougK
Thu Aug 12, 2021 3:48 am
Forum: ESP32 boards
Topic: I2S on ESP32
Replies: 10
Views: 13949

Re: I2S on ESP32

Michael, Thanks! This looks like it will be a big help, although it will take me some time to digest it all. I was able to get samples into a buffer and watch the buffer contents change, although I don't know yet if the contents reflect the actual microphone data. Using a larger ibuf value got me pa...
by DougK
Wed Aug 11, 2021 7:02 pm
Forum: ESP32 boards
Topic: I2S on ESP32
Replies: 10
Views: 13949

Re: I2S on ESP32

Thanks for the quick reply! I had looked at the examples from miketeachman - that got me started but the examples also have parameter names that don't match. I think I figured those out from reading the C code, but I was unclear on what the ibuf input really specified. I see your example set it to 2...
by DougK
Wed Aug 11, 2021 4:18 pm
Forum: ESP32 boards
Topic: I2S on ESP32
Replies: 10
Views: 13949

I2S on ESP32

I was thrilled to see I2S has made it into the MicroPython builds! However, I'm having trouble when I try to use it. I found several online examples of use, but the parameter names for the constructor have changed and the constants are not all defined. I tried to figure it out by looking at the 'C' ...