This shows you the differences between two versions of the page.
— |
en:unicard:bootloader [2018/10/14 22:47] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Bootloader ====== | ||
+ | ---- | ||
+ | ===== Bootloader for a firmware update from an SD card ===== | ||
+ | |< 100% >| | ||
+ | || @red: | | ||
+ | <tab>If you want to make your own Unicard, you must load bootloader into the Unicard for a firmware update from an SD card. The DFU file (a binary file for loading the bootloader for a firmware update from an SD card) is available along with the source codes of the firmware Unicard on sourceforge: | ||
+ | |||
+ | [[https://sourceforge.net/projects/unicardmk3/files/DFU/Bootloader/|DFU binary file of the bootloader.]]\\ | ||
+ | [[https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-stm32080.html|DFU downloader for OS Windows.]] | ||
+ | ---- | ||
+ | ===== Loading the DFU file ===== | ||
+ | |< 100% >| | ||
+ | || @red: | | ||
+ | |||
+ | * needed software: | ||
+ | * Windows XP or newer | ||
+ | * the .dfu file | ||
+ | * DFU downloader for OS Windows | ||
+ | |||
+ | * needed hardware: | ||
+ | * an assembled Unicard | ||
+ | * a connecting cable USB-A/miniB | ||
+ | * a PC with Windows and USB | ||
+ | * 1 jumper | ||
+ | |||
+ | * description of loading the bootloader into a Unicard: | ||
+ | * install DFU downloader for Windows | ||
+ | * on the card itself, connect the pins labeled "BOOT" with the jumper | ||
+ | * connect the card to PC using a USB-A/miniB cable | ||
+ | * Windows will offer a driver installation, let it install automatically. If the drivers do not install automatically, install them manually from the DFU downloader folder. | ||
+ | * After the driver is installed, disconnect and reconnect the card to the USB | ||
+ | * From the program selection, run program ... Program Files / STMicroelectronics / DfuSe / DfuSeDemo | ||
+ | * After running the program, all you care about is the frame in the bottom right called "Upgrade or Verify Action" | ||
+ | * Tick "Verify after download" | ||
+ | * Click on the icon at the bottom called "Choose..." | ||
+ | * Select the file with the bootloader (UNICARDmk3_IAP.dfu) and select open | ||
+ | * Back in the program click on "Upgrade" at the bottom | ||
+ | * If a message shows up with the message "Verify successful!" you are done | ||
+ | * Disconnect the USB cable, remove the BOOT connection and you can put your card into a Sharp | ||
+ | * After loading the bootloader you also have to load firmware into the Unicard | ||
+ | |||
+ | <WRAP download round>\\ {{ :unicard:firmware:unicardmk3_iap.zip |Dfu bootloader}}</WRAP> | ||
+ | <WRAP download round>\\ {{ :unicard:firmware:en.stsw-stm32080.zip |DfuSe Demo 3.0.6}}</WRAP> | ||
+ | ---- | ||
+ | ===== Guide with pictures for DfuSeDemo version 3.0.6 ===== | ||
+ | |< 100% >| | ||
+ | || @red: | | ||
+ | <WRAP tabs> | ||
+ | * [{{unicard:firmware:unicardfw_dfu0.jpg|//Connect the JUMPER labelled BOOT.//}}] | ||
+ | * [{{unicard:firmware:unicardfw_dfu1.jpg|//After installing the drivers "STM Device in DFU Mode" will appear in the device manager.//}}] | ||
+ | </WRAP> | ||
+ | <WRAP tabs> | ||
+ | * [{{unicard:firmware:unicardfw_dfu2.jpg|//In "Available DFU Devices" we pick "STM Device in DFU Mode" and tick "Verify after download".//}}] | ||
+ | * [{{unicard:firmware:unicardfw_dfu3.jpg|//Using the button "Choose" (1.) we load a DFU file. "File correctly loaded." should appear in the information panel (2.).//}}] | ||
+ | </WRAP> | ||
+ | <WRAP tabs> | ||
+ | * [{{unicard:firmware:unicardfw_dfu4.jpg|//After selecting buttons "Upgrade" and then "Yes" on the confirmation dialogue, the DFU file will run.//}}] | ||
+ | * [{{unicard:firmware:unicardfw_dfu5.jpg|//On the information panel you should be able to see the individual phases of the DFU file loading - "Erase Phase".//}}] | ||
+ | </WRAP> | ||
+ | <WRAP tabs> | ||
+ | * [{{unicard:firmware:unicardfw_dfu6.jpg|//On the information panel you should be able to see the individual phases of the DFU file loading - "Download Phase".//}}] | ||
+ | * [{{unicard:firmware:unicardfw_dfu7.jpg|//After successfully loading the DFU file "Verify successful!" message should appear in the information panel.//}}] | ||
+ | </WRAP> | ||
+ | <WRAP round alert> | ||
+ | === Warning === | ||
+ | //When updating firmware //** MZ_ID **//firmware is not checked (to still allow the option of changing the Unicard firmware from one type of computer to another). Incorrectly matching firmware with a computer, on which the Unicard update is being done can damage your device.// | ||
+ | </WRAP> | ||
+ | ---- | ||
+ | *[[http://dzi.n.cz/8bit/mzuni|Information source - webpage of the author NOBOMI]] | ||