Search found 17 matches

by walecka
Thu Aug 06, 2020 7:09 pm
Forum: Hardware Projects
Topic: esp32 BLE + Motor Control Project
Replies: 0
Views: 375

esp32 BLE + Motor Control Project

Hello all, I have just completed my first project with Micropython (and my first experience writing extensive python code as well). The project itself doesn't do anything too special or useful - it allows the user to adjust the speed, status, and direction of a DC motor running a PI control loop via...
by walecka
Tue Jun 02, 2020 6:02 am
Forum: Programs, Libraries and Tools
Topic: no _thread module for STM32 B-L475E-IOT01A
Replies: 1
Views: 326

no _thread module for STM32 B-L475E-IOT01A

When I attempt to import the _thread module, I am unfortunately met with the ImportError: no module named '_thread' error. Am I correct in assuming that this means the library is not available? I am not sure what the requirements of _thread are, but I am fairly sure the STM32L475VG MCU on my board i...
by walecka
Tue Jun 02, 2020 5:09 am
Forum: Programs, Libraries and Tools
Topic: Can't connect to my board with rshell, File Size Issues with pyboard.py
Replies: 13
Views: 1480

Re: Can't connect to my board with rshell, File Size Issues with pyboard.py

In case anyone using the B-L475E-IOT01A stumbles upon this thread in the future, I fixed my issue by plugging into the other usb connector on the board, bypassing the st-link entirely. rshell is now fully functional! I had never considered this as an option, likely because I always use an st-link to...
by walecka
Fri May 22, 2020 8:09 pm
Forum: Other Boards
Topic: NUCLEO-F767ZI Mac OS connection issues
Replies: 4
Views: 1200

Re: NUCLEO-F767ZI Mac OS connection issues

Apologies for re-opening an old thread, but I have been agonizing over this exact same issue for a while now and am in desperate need of a fix. What exactly do you mean by: I solved it by flushing the target file after each written block. This can be useful for rshell as well. ? If you would be so k...
by walecka
Fri May 22, 2020 7:53 pm
Forum: Programs, Libraries and Tools
Topic: Can't connect to my board with rshell, File Size Issues with pyboard.py
Replies: 13
Views: 1480

Re: Can't connect to my board with rshell, File Size Issues with pyboard.py

update: I believe that I have found a similar issue raised in the following posts: https://forum.micropython.org/viewtopic.php?f=12&t=6744 https://github.com/thonny/thonny/issues/936 I am working on deciphering the solution now Edit: User aivarannamaa suggests flushing the target file after each wri...
by walecka
Fri May 22, 2020 7:13 pm
Forum: Programs, Libraries and Tools
Topic: Can't connect to my board with rshell, File Size Issues with pyboard.py
Replies: 13
Views: 1480

Re: Can't connect to my board with rshell, File Size Issues with pyboard.py

The B-L475E-IOT01AA Discovery board has a built-in ST-LINK/V2-1 that programs the actual STM32 using a uart (IE, USB->ST_LINK->UART->STM32), so I tried reducing the buffer size incrementally all the way down to 1. Same results, no joy - IE, rshell would not connect and pyboard.py could only send fil...
by walecka
Fri May 22, 2020 4:08 am
Forum: Programs, Libraries and Tools
Topic: Can't connect to my board with rshell, File Size Issues with pyboard.py
Replies: 13
Views: 1480

Re: Can't connect to my board with rshell, File Size Issues with pyboard.py

Maybe it has something to do with the buffer size? Truth be told I have no clue how the buffer size factors into a call to pyboard but the BUFFER_SIZE variable's value of 512 conflicts with the buffer-size of 32. Of course, neither of these is very close to 224... Is there any possibility that messi...
by walecka
Thu May 21, 2020 11:43 pm
Forum: Programs, Libraries and Tools
Topic: Can't connect to my board with rshell, File Size Issues with pyboard.py
Replies: 13
Views: 1480

Re: Can't connect to my board with rshell, File Size Issues with pyboard.py

screen is the application that I normally use to connect to the REPL and get the >>> prompt, and that has always worked well. when I input $ rshell -p /dev/tty.usbmodem14113 -d -a into the command line, here is what I get: Debug = True Port = /dev/tty.usbmodem14113 Baud = 115200 User = micro Passwor...
by walecka
Thu May 21, 2020 11:22 pm
Forum: Programs, Libraries and Tools
Topic: Can't connect to my board with rshell, File Size Issues with pyboard.py
Replies: 13
Views: 1480

Re: Can't connect to my board with rshell, File Size Issues with pyboard.py

Hi David, Thanks for getting back to me. I tried adjusting the baudrate and re-flashing my board but unfortunately that does not change the outcome. I can still use the REPL just fine, but rshell and pyboard both hang in the command line when trying to connect. Last night I came across a forum post ...
by walecka
Thu May 21, 2020 8:43 pm
Forum: Programs, Libraries and Tools
Topic: Bluetooth library for B_L475E_IOT01A1
Replies: 3
Views: 527

Re: Bluetooth library for B_L475E_IOT01A1

Sorry for the late reply. Thanks for the thoughtful response and awesome library. Both insanely helpful!