cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 programming and debugging without STLINK?

parth kothiya
Senior

i want to make PLC using STM32.

in PLC circuit there is no STLINK programmer still we can program and debug(simulation) PLC

How can i do this?

below delta PLC images. There is no separate debugger or programmer in pcb.

4 REPLIES 4
Nikita91
Lead II

What is the metal square connector on the lower right corner of the 1st photo? mini DIN 8 pins?

Il may be a download connector like this:

https://www.aliexpress.com/item/1005001381657556.html?spm=a2g0o.productlist.0.0.78547bbfvVbvD6&algo_pvid=2f9e4d84-0aec-4fa8-a7d2-e8ee604fe536&algo_exp_id=2f9e4d84-0aec-4fa8-a7d2-e8ee604fe536-1&pdp_ext_f=%7B%22sku_id%22%3A%2212000015875003338%22%7D&pdp_pi=-1%3B11.24%3B-1%3B-1%40salePrice%3BEUR%3Bsear...

You should be able to download firmware with this, but I don't think you can debug.

Beware 5V vs 3.3V !!!

parth kothiya
Senior

This connector is used for programming PLC and we can also simulate PLC ONLINE mode.

>>i want to make PLC using STM32.

Or you mean you want to use someone else's board that has an STM32 on it? Which?

Or you want to copy or replicate this one?

Back side looks to have Test Points, and resistors for BOOT, would assume you can connect to a USART and used that as a method to down load firmware, and perhaps interact with it. AN2606 describes the various interfaces/methods supported by the ROM based system loader.

Do you have a schematic for this board, or have you developed a partial one.

I'd presume the people that built it wrote their own firmware and interface methods to that.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I want to develop board my own PLC board using STM32 but I don't know how can I programming ​MCU without any programmer like STLINK V2 and we can also simulate input output similar as we can do in plc ladder programming.

So I want to know how it is possible for understanding i share you DELTA PLC image which use STM32 MCU and it does all this things.