Now we disconnect everything and connect our board to computer with micro USB cable and also move the BOOT0 jumper back to 0. Click Next and you are here, just click Next: Here you click on the icon marked green and browse to your stlink.hex file and click Open:Īnd then click Next and the Loader will start to download program the microcontroller:Īdn then it will also start to verify it: And finally it will say it is done: But we are not done yet. You are presented with this window, if not, maybe you connected RX and TX wrong or the BOOT jumpers are at the wrong position: If you programmed this board before, you might have to remove protection. Here we select proper COM port and click Next. Now we run Flash Loader Demo, which I won’t explain how to install, because it is very straightforward. We also need to connect our USB to serial adapter as the diagram below:īe careful to set adapter voltage to 3.3V!!! hex file for uploading into microcontroller, you can find it here. We need ST-LINK Utility, which contains drivers we will need later, you can get it here on the bottom of the page or again for convenience here on my page. We need so called “ Flash Loader Demonstrator“, you can get it at the bottom of this page, or for your convenience on this link, because getting it from ST can be quite a challenge. Well we also need USB to Serial converter and some software. In this article I will explain how to create your own ST-LINK V2 with cheap board from China (Blue Pill).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |