Hi everyone,
I have my costum made board with stm32l496 and I dont have ST link port on it.
I would like to know how can I upload my code on it if it is possible.
thank you all!
Hi everyone,
I have my costum made board with stm32l496 and I dont have ST link port on it.
I would like to know how can I upload my code on it if it is possible.
thank you all!
Hello neginshiran,
First method:
If you have a serial-to-usb converter then connect it to the chip’s UART1 pins (GND to GND, Rx to Tx and Tx to Rx).
Second method:
There is a SW (serial wire) interface available on the PA13 (SWDIO) and PA14 (SWCLK) pins you can connect an ST Link programmer to, for example like this:
Then you can use the STM32CubeProgrammer or the STM32 ST-Link Utility (as for example here) to flash the chip with your binary file. The advantage of this method is that the ST-Link V2 programmer can be used also for debugging.
Best regards, Zoltan
thank you so much for your help!