Is it necessary to disconnect everything (except DFU pin & 3.3V) from your pyboard to perform the firmware upgrade?
I've got 20+ pins connected from breadboard to pyboard and would prefer not to disconnect them unless necessary.
firmware upgrade question
Re: firmware upgrade question
It shouldn't be necessary to disconnect anything. I routinely do firmware upgrades on pyboards with daughterboards in place, and also on a non-pyboard system running MicroPython where the processor is soldered in place and cannot be disconnected from the rest of the system.
It is possible that certain specific configurations could prevent a successful DFU upgrade, but I haven't encountered this.
-Bryan
It is possible that certain specific configurations could prevent a successful DFU upgrade, but I haven't encountered this.
-Bryan
Re: firmware upgrade question
There is a dfu document that describes which pins need to be stable. When I get home later I can get a reference.
Re: firmware upgrade question
I tried it with all pins connected and it seems to have upgraded successfully.
I upgraded to the latest version: pybv10-2015-10-05-v1.4.6-44-gf4d55c9.dfu.
This version still has the 2.18 minute maximum for pyb.wakeup timeout.
I upgraded to the latest version: pybv10-2015-10-05-v1.4.6-44-gf4d55c9.dfu.
This version still has the 2.18 minute maximum for pyb.wakeup timeout.
Re: firmware upgrade question
Looks like the latest pre-compiled firmware for download is http://micropython.org/resources/firmwa ... d38799.dfu
Looking at the commits to master (https://github.com/micropython/micropyt ... its/master) it appears that the correction to the RTC calculation was the next commit after the firmware I linked above. The fix should be part of the next daily build when that updates, if you aren't compiling yourself.
-Bryan
Looking at the commits to master (https://github.com/micropython/micropyt ... its/master) it appears that the correction to the RTC calculation was the next commit after the firmware I linked above. The fix should be part of the next daily build when that updates, if you aren't compiling yourself.
-Bryan
Re: firmware upgrade question
Latest firmware is now there, with the wakeup fix from earlier today.
Re: firmware upgrade question
This document: http://www.st.com/web/en/resource/techn ... 167594.pdf on page 93 has a flow diagram that shows what the bootloader does.
So the CAN2 Rx pin and USART1 & 3 Rx pins need to be quiescent (i.e. not toggling) during boot in order to get into DFU mode.
So the CAN2 Rx pin and USART1 & 3 Rx pins need to be quiescent (i.e. not toggling) during boot in order to get into DFU mode.
Re: firmware upgrade question
Thank for the assistance!