stlink detection and wip for get_mpy_data