 Hello, this is Nicolas Fillon, so FAE at STM Colectronix and this lab, so I call it lab zero. We will save, you know, the original code that came on your board. So out of the box, there is a code that is already programmed inside the STM32C0, a quick demo. And we will save the content using our tool called STM32CubeProgrammer. And I also will show you how to flash, you know, your board using actually no tools. So a cool way, you know, of doing it using the master age feature of your STLink on your board. So before we get started with the actual labs of this MOOC, we will save the content of the original code that was programmed on your nuclear board. So there is a pre-programmed, you know, demonstration code. So that came right there, out of the box. And we will learn how to, you know, read the flash and save it into a binary file using our STM32CubeProgrammer. You should have, by now, installed on your machine two applications, two programs. The first one is the STM32CubeProgrammer. So this is what we're going to use, you know, during this lab zero. And then you should also have the STM32CubeID. So at least a version 1.10.1. So in my case, I have a version 1.11.2. You should have also a nuclear board. So nuclear C031C6 and the USB cable, so micro USB cable connected to it. Now what you're going to do is plug your board or plug your cable to your machine. It will be enumerated. And it should be a solid red, you know, on the LED LD1 for the com. So this will indicate that the ST-Link has been enumerated and installed properly. So the drivers, the USB drivers are okay. Now we're going to open STM32CubeProgrammer. So double click on the icon. Okay, so this is, you know, the CubeProgrammer. So as you can see, I'm running a version 2.12.0. So you should have at least a version 2.10.0. Okay, so what we're going to do first, we're going to connect, you know, to the ST-Link. So press connect right here. This will read the content of the flash. So you see there is, you know, already like a program inside. That's what we want to save. So this is the beginning of the address of the flash right there. To save the content of the flash, the whole flash, we're going to change the size to 8,000 in hexadecimal. So this is, you know, 32 kilobytes. And this is actually the full size of the flash. Or this micro controller, DSM32C031C6D6, in this case. But as you can see here, flash size, 32 kilobytes. And here you can also see 32 kilobytes. So now to save the content, we're going to go to read right there and save as. Now you're going to go to a directory where you want to save, you know, your file. So I'm going to save it in this temp directory. And I'm going to give a name. So you can save, you know, some .bin, .x, or .srack. In our case, we are going to call, you know, like a save a binary file, .bin. And give the name that you want. I gave original .bin. And then press save. Okay, now we have saved, you know, the content. So we're good. We can restore it at the end, for example, of the book or when you want. I want to show you another way to restore, you know, without using any tool. So let's say that, you know, we're going to start from a blank or like a chip that is erased. So STM42C0 that has a flash completely erased. So we're going to erase the content of the flash. Okay, achieved. That's fine. So now it's completely blank. So if we go back here and read, it's all ff, which is, you know, the default, you know, values of the flash. So that means it's completely erased. Now we can disconnect. So go here, you know, and click disconnect. Now open an Explorer, you know, window. So here, for example, I am in my C drive and go to the directory where, you know, you saved the project. So remember, you know, this original .bin. So find, you know, the file. And what you're going to do is drag and drop it to this drive here, which is called node underscore C031C6. Et voilà. You have your original code that is restored on your nuclear board. So you can play with it, you know, like if you press the user button, which is the blue button on your nuclear board, you will see that the LED is going to blink faster and faster. So the code has been restored. And now you have also the binary in case you want to restore it when you want.