[Help] stm32f103 TFBGA bootloader flashing

Post here first, or if you can't find a relevant section!
Post Reply
Jye
Posts: 3
Joined: Thu Dec 19, 2019 8:38 pm

[Help] stm32f103 TFBGA bootloader flashing

Post by Jye »

Hi Everyone,

Its been a little while since play with an stm32 but Ive got a new project... repurposing some hardware :)

Below is a pic of a LoRa transceiver with an stm32f103 TFBGA (frsky r9mm/mini). I have been able to hook it up to st link and connect no worries. When I attempt to flash the generic_boot20_pc13.bin everything appears to be successful. But after a reset the bootloader appears to be erased. I can also appear to successfully upload a script from platformio, but once again looks like its erased after rst. So obviously Im doing something wrong :cry:

https://i.ibb.co/TMR7hBK/80437622-45492 ... 8272-n.png

Is anyone able to help with some pointers on flashing the bootloader correctly (am I using the correct BL???) and uploading a basic script that would make all GPOIO alternate high/low (Im hoping an LED will flash on the board indicating life).

Cheers
Jye

ag123
Posts: 495
Joined: Thu Dec 19, 2019 5:30 am
Answers: 1

Re: [Help] stm32f103 TFBGA bootloader flashing

Post by ag123 »

check if you are accidentally installing something in ram? flash address normally is 0x8000000

Jye
Posts: 3
Joined: Thu Dec 19, 2019 8:38 pm

Re: [Help] stm32f103 TFBGA bootloader flashing

Post by Jye »

ag123 wrote:
Fri Dec 20, 2019 6:06 pm
check if you are accidentally installing something in ram? flash address normally is 0x8000000
Yep, Im using 0x80000000.

After a heap more reading amd checking the data sheet I should have been using genericSTM32F103RB. I also dont need to install the bootloader since Im only using SWD :?

St-link is currently having trouble writing the other byte and disabling RDP. NFI why but Im getting there slowly.

Post Reply

Return to “General discussion”