In an environment where multiple STLink devices are attached to a PC, it is still possible to use the DevKit-SDK toolset to connect and program MXChip. The following change to the toolset is required:
Edit the stlink script in C:\Users\<youruser>\AppData\Local\Arduino15\packages\AZ3166\tools\openocd\0.10.0/scripts/interface/stlink-v2-1.cfg and add the correct hla_serial number:
To bypass the requirement of an (unlocked/dev) MXChip button press for flashing, create and run the following mxchip_config.ino. UART connectivity is required to configure the device:
1. Multi-device scenarios
In an environment where multiple STLink devices are attached to a PC, it is still possible to use the DevKit-SDK toolset to connect and program MXChip. The following change to the toolset is required:
Edit the stlink script in
C:\Users\<youruser>\AppData\Local\Arduino15\packages\AZ3166\tools\openocd\0.10.0/scripts/interface/stlink-v2-1.cfg
and add the correct hla_serial number:2. No-touch (remote) configuration
To bypass the requirement of an (unlocked/dev) MXChip button press for flashing, create and run the following mxchip_config.ino. UART connectivity is required to configure the device: