Closed Maldus512 closed 5 years ago
I can confirm. I've encountered the same issue, however I also had problem with option -f F4
on Nucleo F401RE, it always throws exception. I fixed timeout issue and added additional exception handling for second problem in pull request.
The fixes by @byq770 will be part of the next release, due in a week.
Fixes have been merged in master.
I used stm32loader again just now and the same error is still present (albeit at different lines). Was it re-introduced at some point?
@Maldus512 Today's version 0.5.1 is the first release which includes these fixes. Before they were merged, but not released yet.
Hello, I've been trying to use this tool to flash an stm32f030r8 (NUCLEO-f030r8 demo board) automatically. Unfortunately every attempt ends with the following error:
And indeed it appears the
timeout
attribute referred to in line 480 ofbootloader.py
does not belong to theSerialConnection
object, but instead to theserial.Serial
object in itsserial_connection
field. It appears to work when substitutingwith
Is my assessment correct? Should I submit a pull request to fix this?