Store the masked chip_id in the stlink structure. Should fix unexpected