STM32duino-bootloader icon indicating copy to clipboard operation
STM32duino-bootloader copied to clipboard

[SOLVED] Which one of the binaries should I use for the mini stm32F103ZET6 chip with 144 pin package ?

Open eagl1 opened this issue 3 years ago • 4 comments

Hi,

I have this board:

image

I found this video, and thought maybe this method would work to flash the board.

I downloaded these software:

  1. STM32 Flash Loader
  2. STM32 USB Mini Driver
  3. STM32duino Bootloader

So the link of point 3 directed me to this page and found many bin files, which one should I download for the chip in this board ?

Also, if there are other steps regarding programming this board, please tell me what to do exactly ?

eagl1 avatar Jan 19 '22 15:01 eagl1

You can use the PE2 one which will light up the user2 led

203Null avatar Jan 19 '22 16:01 203Null

I couldn't connect it on Arduino IDE

I installed ST32CubeProgrammer with UART method but the same problem, I get this result:

image

eagl1 avatar Jan 19 '22 18:01 eagl1

Setting boot1 to GND I got this:

image

eagl1 avatar Jan 19 '22 19:01 eagl1

OK, I was able to program it with Arduino IDE.

First solve the "pl2303hxa phased out since 2012 please contact your supplier" issue, with updating the driver with this file:

http://www.mediafire.com/file/982x6iyk89v95dp/Prolific_PL2303_driver_v3.3.2.102_%25282008-24-09%2529_Win8_x64_x86.7z/file

With the following setting.

During flashing the MCU with Flash Loader Demonstrator with the appropriate bin file:

Set boot1 to GND. Power the board and select Next, then the next screen show the size of the flash memory. Select Next, this page has the flash mapping. Select Next. In the final page, select Download to device and check "Verify after download" and mount the bin file and select Next and wait until flashing process is done. In Arduino IDE:

Choose the board type as "Generic STM32F103Z series" In variant option select "STM32F103ZE" Upload method, select "Serial" CPU speed ""72MHz" Optimized "Smallest" Select the required COM port Keep boot1 set to GND Reset the board Then program blink example

eagl1 avatar Jan 20 '22 14:01 eagl1

Marked as solved by OP

rogerclarkmelbourne avatar Oct 29 '22 01:10 rogerclarkmelbourne

Thanks Roger, it's working very well with the ST LINK V2.

eagl1 avatar Oct 29 '22 10:10 eagl1