# ST-Link V2 for IZIRUN modules

Debug over SWD with connector for IZIRUN modules

- **Seller:** [IZITRON's store](https://lectronz.com/stores/izitron), CARROS, PACA, France
- **Price:** €20.00 (EUR, before shipping and taxes)
- **Availability:** Retired, no longer sold
- **Categories:** Tools
- **Product page:** https://lectronz.com/products/st-link-v2-for-izirun-modules

## Images

![ST-Link V2 for IZIRUN modules](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MjA1MSwicHVyIjoiYmxvYl9pZCJ9fQ==--3323c066481741cbccb9e3daa4d297696e9f81a6/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/PXL_20220331_160407594.jpg)
![ST-Link V2 for IZIRUN modules](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MjA1MywicHVyIjoiYmxvYl9pZCJ9fQ==--3458fa3e0b99057c7c6f7b306778da60e61b3126/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/PXL_20220401_070752162.jpg)

## Description

* This tool can be use to debug and flash **STM32** microcontroller and it came with connector compatible with **IZIRUN** modules

* **Install stlink**
	````
	git clone https://github.com/stlink-org/stlink
	cd stlink
	cmake .
	make
	````
	
	## install binaries
	````
	sudo cp bin/st-* /usr/local/bin
	````
	## install udev rules
	````
	sudo cp config/udev/rules.d/49-stlinkv* /etc/udev/rules.d/
	````
	## restart udev
	````
	sudo udevadm control --reload
	````

* **Flash lk.bin exemple**
	````
	st-flash write build-izirunf0_izigoboard/lk.bin 0x8000000
	````
