Smart 450 immobilizer

Hello guys, I have a problem with my smart. I had two keys, one of which, when the opener was activated, made the warning flashing system blink nine times and the other one didn’t do anything. However, with the one who did nothing, I could unlock the immobilizer and start the car. With the other I could only open the sliding roof. Suddenly I could not unlock the immobilizer with either of the keys anymore. One key remained in such a way that when the opener was activated, one caused a nine-time blinking and with the other key only comes this nine-time blinking when I want to close. I have now connected the car to the star diagnosis and wanted to learn the key, if I have understood everything correctly, then the star diagnosis does not establish a connection to the control unit or the vehicle? I then called a friend who has a VCDS and also he could not establish a connection. I can not program the keys and I can not get the drive away, can someone help me? Thank you in advance.