cancel
Showing results for 
Search instead for 
Did you mean: 

first time here - help with stlink programmer

Denis Sadcikovs
Associate
Posted on April 22, 2017 at 00:54

Hi there people!

Ive got one big but a very basic question for yall

Im just curious if following things are even possible and is this forum right place to find info

Ive never ever been into this so know absolutely nothing yet.

but any way ive got a keyless engine start module

a board with a few relays caps transistors etc

its got the pins i believe are for the stlink to connect 

4 pins SWIM NRST GND VDD

code of mcu is STM8S103F3P6

and also got a small usb stlink debugger 10 pins, same as on module plus a few others (attached pics)

and my curiosity is if theres a way to communicate with it and edit something in the code thats on the board.

in short words when module is activated from car inputs the push button (connects to board) stays active for 20 seconds, after 20 secs its inactive and i have to relock unlock car to activate push button again.

I would like it to stay active for longer like a minute or so. that is why im here and asking if such thing is possible.

also if anyone could tell from this if it needs its 12v power plus debugger t communicate or debugger would supply enough for it.

Sorry ifd this is the wrong place to ask or my nob question is too dumb to even look into, but much appreciated if someone helps me out anyhow.

Thanks in advance!

Denis
2 REPLIES 2
S.Ma
Principal
Posted on April 22, 2017 at 13:39

If the C source code is not available, the program can't be changed unless reverse engineered.

Posted on April 22, 2017 at 13:56

STM8 forum might have been a better place, but it will get moved as appropriate.

Powering is high board dependent, you'd need to review schematics. I'd assume you want to power it normally, ie via 12VDC, and then electively not connect VDD on the debugger side. A common ground, SWIM and NRST should suffice, but review ST-LINK documentation as it relates to STM8 attachment. The real external ST-LINK has buffers which need powering with the Target VDD, but your clone device likely does not.

Without source you'd need to pull a firmware image off the device, and disassemble that, and potentially patch the code to do what you want.

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