Search found 7 matches

by quiltyja
Sat Jul 30, 2022 4:26 am
Forum: General Discussion and Questions
Topic: board.py Files
Replies: 5
Views: 11126

Re: board.py Files

Thanks for the refs to the docs dhylands, I very much appreciate your writing rshell it's been very useful! What I'd like to know particularly is whether there's a convention, however loose, for the content of 'board.py' files? For example, the Adafrult Blinka uses a board.py file, which makes me th...
by quiltyja
Fri Jul 29, 2022 6:11 am
Forum: General Discussion and Questions
Topic: board.py Files
Replies: 5
Views: 11126

Re: board.py Files

Thanks, davef, for the quick reply! I'm sorry to say that I was interrupted while writing a question about board .py and when I returned to complete the post I'd just been working on boot.py... and thus made a typo in the subject and body :oops:. I've corrected that now and the subject and body both...
by quiltyja
Fri Jul 29, 2022 5:57 am
Forum: General Discussion and Questions
Topic: board.py Files
Replies: 5
Views: 11126

board.py Files

Edit: correct typo in subject and body, board.py is the file I'm enquiring about! Hi everyone, I connect with rshell to an ESP32 and rshell looks for via the function below which, because my code doesn't contain a file 'board.py' and thus always defaults to "pyboard". I can change that in a simple-...
by quiltyja
Sun Jul 24, 2022 1:53 am
Forum: ESP32 boards
Topic: SDCard() Instantiation Error on Soft Reboot: SPI bus already initialized; ESP_ERR_INVALID_STATE
Replies: 4
Views: 2396

Re: SDCard() Instantiation Error on Soft Reboot: SPI bus already initialized; ESP_ERR_INVALID_STATE

Thanks, Roberthh, that helps. I believe I tried sd.deinit() while troubleshooting before posting but - as indicated in the documentation - it appeared to do nothing on the ESP32. I'll look into how/whether there are alternate methods for deinitialising the SPI device from MicroPython code. I'm glad ...
by quiltyja
Mon Jul 18, 2022 2:15 am
Forum: ESP32 boards
Topic: SDCard not working for me on Slot3
Replies: 1
Views: 1641

Re: SDCard not working for me on Slot3

I'm not sure that the sck, miso, mosi, etc. options take machine.Pin() values. What works for us on MicroPython 1.14 (see my recent post ) is to just pass the logical GPIO numbers. In your configuration this would be: my_sd = SDCard(slot=3, sck=14, miso=12, mosi=13, cs=32) Our experience is that non...
by quiltyja
Sat Jul 16, 2022 5:09 am
Forum: ESP32 boards
Topic: SDCard() Instantiation Error on Soft Reboot: SPI bus already initialized; ESP_ERR_INVALID_STATE
Replies: 4
Views: 2396

SDCard() Instantiation Error on Soft Reboot: SPI bus already initialized; ESP_ERR_INVALID_STATE

Hello everyone in the MicroPython community! We're having trouble with microSD card access with MicroPython versions 1.16 through 1.19 on two different revisions of a single-board PCB based on the ESP32-WROVER-B (SPI RAM) with direct connections from the ESP32 pins to the pins of a MEM2075 microSD c...