# MIOS Studio bootloader timeout

**URL:** <https://forum.midibox.org/t/mios-studio-bootloader-timeout/19510>\
**Category:** Testing/Troubleshooting\
**Created:** [March 17, 2016, 2:34pm UTC](https://forum.midibox.org/t/mios-studio-bootloader-timeout/19510 "2016-03-17T14:34:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![EsotericLabs](https://forum.midibox.org/user_avatar/forum.midibox.org/esotericlabs/32/355_2.png) [@EsotericLabs](https://forum.midibox.org/u/EsotericLabs)\
**Post date:** [March 17, 2016, 2:34pm UTC](https://forum.midibox.org/t/mios-studio-bootloader-timeout/19510/1 "2016-03-17T14:34:11Z")

</div>

Hello,

While trying to upload a new firmware to my STM32F4 core,&nbsp; MIOS Studio timed out trying to enable the bootloader mode.&nbsp;&nbsp; How can I repair this?

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![latigid\_on](https://forum.midibox.org/user_avatar/forum.midibox.org/latigid_on/32/107_2.png) [@latigid\_on](https://forum.midibox.org/u/latigid_on)\
**Post date:** [March 17, 2016, 5:54pm UTC](https://forum.midibox.org/t/mios-studio-bootloader-timeout/19510/2 "2016-03-17T17:54:00Z")

</div>

Can you get back to the bootloader by pressing (and holding) the blue button?

[http://www.ucapps.de/mios32\_bootstrap\_newbies.html](http://www.ucapps.de/mios32_bootstrap_newbies.html)

Bootloader mode is enforced as long as the blue button is down.&nbsp;

I got confused about this a little while ago; you can then upload the [bootloader hex](http://www.ucapps.de/mios32_download.html)&nbsp;file, thereafter you don’t need to hold the button any more.&nbsp;

Now you have a stable USB-MIDI connection and you can upload your application of choice. I’m not sure if re-uploading the bootloader hex is actually needed…? but it can’t hurt.

---

<div class="post-metadata">

**Author:** ![EsotericLabs](https://forum.midibox.org/user_avatar/forum.midibox.org/esotericlabs/32/355_2.png) [@EsotericLabs](https://forum.midibox.org/u/EsotericLabs)\
**Post date:** [March 17, 2016, 8:49pm UTC](https://forum.midibox.org/t/mios-studio-bootloader-timeout/19510/3 "2016-03-17T20:49:06Z")

</div>

Yes, got it. &nbsp;Switch the box off, keep the blue button pressed, switch on, start Mios studio and it connects in boot loader mode. And then, it uploads the firmware without any issues. &nbsp;

Thanks @Latigid On!

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Phatline](https://forum.midibox.org/user_avatar/forum.midibox.org/phatline/32/501_2.png) [@Phatline](https://forum.midibox.org/u/Phatline)\
**Post date:** [March 17, 2016, 8:51pm UTC](https://forum.midibox.org/t/mios-studio-bootloader-timeout/19510/4 "2016-03-17T20:51:03Z")

</div>

because of programming and messing arround, i have to press that button every programming session often…

so you better wire a switch to the back off your device… Pin&nbsp; PA0 to 5V on the STM32F4 do the job… (the programming switch)

---

<div class="post-metadata">

**Author:** ![EsotericLabs](https://forum.midibox.org/user_avatar/forum.midibox.org/esotericlabs/32/355_2.png) [@EsotericLabs](https://forum.midibox.org/u/EsotericLabs)\
**Post date:** [March 17, 2016, 9:34pm UTC](https://forum.midibox.org/t/mios-studio-bootloader-timeout/19510/5 "2016-03-17T21:34:46Z")

</div>

yes I was thinking about that as well.&nbsp;Thanks for telling me the pinning!
