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
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
[Help] stm32f103 TFBGA bootloader flashing
Re: [Help] stm32f103 TFBGA bootloader flashing
check if you are accidentally installing something in ram? flash address normally is 0x8000000
Re: [Help] stm32f103 TFBGA bootloader flashing
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.