I originally wanted to use the original system of the development board for development, but encountered a problem when enabling wifi. I thought it was a problem with the system version, so I flashed a new system. Later I found that it was not a system problem, but a problem with my operation.
Here I will also write about the flashing process and the comparison between the original system and the new system version.
I use Windows system. Generally speaking, flashing the system is very simple. You need to prepare the following items:
- Development board, need to insert SD card
- A type-c data cable for power supply and a type-c data cable for data communication
- firmware
- stm32cubeProgrammer software
Here you need 2 type-c data cables, one is for power supply, the official recommended power supply is 5V3A, I only have a 5V2A power supply (I bought it online but it hasn't arrived yet), and I found that it can also be used. The other type-c data cable is suitable for DFU.
The firmware download address is:
The stm32cubeProgrammer software can also be downloaded from the ST official website at:
Once you have these prepared you can begin.
1. Adjust the DIP switch on the board to DFU mode. The position of the switch is as shown below:
2. Plug in two type-c data cables, as shown in the figure below. The black one on the right is the power cable, and the white one below is the USB data cable:
3. On the stm32cubeProgrammer software, select USB connection and click Connect
4. To load the firmware, first unzip the current compressed package, then click "open file" to open the "FlashLayout_sdcard_stm32mp135f-dk-optee.tsv" file in "\images\stm32mp1\flashlayout_st-image-weston\optee"
5. Then change the path below to "\images\stm32mp1", because the files to be burned are all in this path.
6. Then click burn and wait for the burning to succeed.
7. After the burning is successful, turn the dip switch to the position shown in the figure below, then restart and it can be used normally.
Comparison of system versions before and after burning:
Before burning, use the command uname -a to check the system name and other information as shown in the figure below, which is 5.15.45
After the update, as shown in the figure below, it is 6.1.28
The difference between the two version numbers is quite large, so you should upgrade if you have time.
The next post will talk about my experience of struggling with wifi these days. This took me several days. At first I thought it was a problem with the system version, but in fact it was caused by my failure to follow the routine completely.