I have an lpc1768 processor. I want to program it using (ST link v2 or universal programmer) but I cannot. Can I program it or what is the circuit?
I tried that some years ago, and it worked well to some degree.I did not do extensive tests, though.
You would need a toolchain/IDE that supports both the LPC MCU and the ST-Link debugger.
Segger has a firmware for the (onboard) ST-Link, to convert it into a JLink.
That would work as well, but Segger's licence conditions explicitly prohibit the use for any other target than STM32s.
But Segger has a similiar firmware for LPC-Links. https://www.segger.com/products/debug-probes/j-link/models/other-j-links/lpc-link-2/
Perhaps worth a try, if you have one.
Hello @ali7117117111
LPC1768 doesn't support ST debugger.
Do you have other debuggers, J-link? MCU-link from NXP? Or P&E Universal Multilink ?
Or any other LPC NXP demo board? Mostly there is debugger on demo board. You can use it.
BR
Alice