2104 views|12 replies

224

Posts

0

Resources
The OP
 

【STM32MP135F-DK】1- Unboxing and evaluation and development environment construction [Copy link]

 
This post was last edited by qiao--- on 2023-12-2 23:56

Preface: Thanks to EEworld and STMicroelectronics for giving me the opportunity to do this review. I will do my best to do this review well!

I received the stm32mp135 development exploration kit this afternoon and I immediately unboxed it.

The kit includes a camera, a camera adapter cable, and a 16G SD card (I have to say that ST officials are really considerate), and finally the protagonist of today - the STM32MP13 microprocessor board. It can be seen that this board is quite delicate. From the appearance, this development board installs the screen directly on the board, which is more convenient to use than some devices that use adapter cables to connect the screen. Although the screen occupies part of the board space, the board is still very small. The board also leads out some pins to facilitate developers to develop on their own. Next, let's talk about the packaging of the kit. The outermost part of the kit is packaged in a box, and a layer of wrapping paper is used inside. This layer of paper is very thick. I guess it should be used to protect the board. The packaging is generally simple and practical.

If you are a novice, you must buy the official power cord. It is not included in this kit and needs to be purchased separately because this SoC-level board has very strict requirements on power supply. However, I have prepared it here. If there is a power supply problem on the board, the system will not be able to start normally. The following is the feedback given by the board when there is a power supply problem:

What is the first thing to do after getting the board? Of course, it is to download all the relevant board information. I downloaded the relevant data sheet and hardware introduction manual of this board. The download website is as follows:

STM32MP135F-DK - Discovery Kit with STM32MP135F MPU - STMicroelectronics

Of course, these two materials may not be enough for some novices, but ST is very considerate in that it has made a guide for each of its official development boards, which will help us how to run our first program on this board. I put the relevant website below:

STM32MP135x-DK - stm32mpu (stmicroelectronics.cn)

It is not difficult to see that the information of this development board is quite comprehensive.

Next is a tutorial on setting up the development environment for this board.

Anyone who has been in contact with Linux knows that we need a Linux-related environment for Linux-related development. Newbies can prepare VMware virtual machines and download Ubuntu images. There is a lot of information on the Internet in this regard, so I will not go into details.

Here I assume that the Linux environment is set up. Enter our virtual machine and open the command line to create a workspace for this board.

mkdir mp135dkf
cd mp135dkf
mkdir tmp
mkdir stm32mpu_tools
cd stm32mpu_tools
mkdir STM32CubeProgrammer-x.y.z

Here we use relative paths. STM32CubeProgrammer-xyz is an official burning software of ST, which can be downloaded from the following website (Linux version):

STM32CubeProg - STM32CubeProgrammer software for all STM32 - STMicroelectronics

Then use filezilla software to transfer it to our virtual machine. There are many tutorials on the Internet about the specific transfer process, so I will not go into details here.

This software can also be downloaded under Windows, which is more convenient to use.

I have already uploaded it here and then decompressed it

Next execute

./SetupSTM32CubeProgrammer-x.y.z.linux

The familiar installation interface will appear:

We install it in the directory we just created:

Keep clicking Next.

Import the environment variables of this software

export PATH=$HOME/linux/mp135dkf/stm32mpu_tools/STM32CubeProgrammer-xyz/bin:$PATH
can be used

STM32_Programmer_CLI --h

Check whether the previous operation is correct

Next, install some libraries we need

sudo apt-get install libusb-1.0-0

Set to allow STM32CubeProgrammer to access the USB port through low-level commands

The burning software is now downloaded.

Next, let's download the official system image.

First, they mp135dkf create a Linux_source directory to store the system

mkdir Linux_source

Download URL STM32MP1Starter - STM32MP1 OpenSTLinux Starter Package - STMicroelectronics

This way the development environment is set up.

In the next issue, we will start this development board.

This post is from stm32/stm8

Latest reply

Blogger, which red LED do you mean here? There are LED1/2/3/4/5/6/7 on the board? "If you are a novice using this board, you must buy the official power cord." Can the blogger provide a purchase link for the official power cord?   Details Published on 2024-6-18 14:12
 

623

Posts

0

Resources
2
 

Looks really high-end

This post is from stm32/stm8
 
 

6818

Posts

11

Resources
3
 
Can this be installed under macos or win11? I feel a little dizzy when I see the command line.
This post is from stm32/stm8
 
 

224

Posts

0

Resources
4
 
lugl4313820 posted on 2023-12-1 15:03 Boss, can this be installed under macos or win11? I feel a little dizzy when I see the command line.

Yes, you can install it directly under win11. Just install the win version of cubeprogram. The operation is the same and the download link is the same.

This post is from stm32/stm8
 
 
 

1127

Posts

17

Resources
5
 

I heard that naked metal is cool

This post is from stm32/stm8

Comments

The bare metal does not have a library like the 32mcu, so you need to develop it yourself according to the registers. After all, it is a soc-level board.  Details Published on 2023-12-1 18:29
 
 
 

224

Posts

0

Resources
6
 
fxyc87 posted on 2023-12-1 16:13 I heard that bare metal is very cool

The bare metal does not have a library like the 32mcu, so you need to develop it yourself according to the registers. After all, it is a soc-level board.


This post is from stm32/stm8
 
 
 

141

Posts

4

Resources
7
 
This post was last edited by Tristan_C on 2023-12-21 22:04

If you are a novice using this board, you must buy the official power cord. It is not included in the kit and the user needs to purchase it separately because this kind of SoC-level board has very strict requirements on power supply. However, I have already prepared it here.

——Learn from the masters, which power cord do you use?

I always remind you of this before, but I have already used a 5V3A power adapter.

My LCD has not been lit up, I think it may be related to this

This post is from stm32/stm8

Comments

I use the power adapter of Raspberry Pi. If the power supply is insufficient, the LCD will not light up. I suggest you try another power cord.  Details Published on 2023-12-22 22:42
 
 
 

224

Posts

0

Resources
8
 
Tristan_C posted on 2023-12-21 21:58 If you are a novice user of this board, you must buy the official power cord. It is not included in this kit and needs to be purchased separately by the user, because this soc-level...

I use the power adapter of Raspberry Pi. If the power supply is insufficient, the LCD will not light up. I suggest you try another power cord.

This post is from stm32/stm8

Comments

I changed the power supply and cable, and it recognized 5V3A, but it still doesn't light up. I think there is something wrong.  Details Published on 2023-12-24 22:01
 
 
 

141

Posts

4

Resources
9
 
qiao--- Published on 2023-12-22 22:42 I am using the power adapter of the Raspberry Pi. If the power supply is insufficient, the LCD will not light up. It is recommended to try another power cord

I changed the power supply and cable, and it recognized 5V3A, but it still doesn't light up. I think there is something wrong.

This post is from stm32/stm8

Comments

Then you need to rule out whether it is a hardware or software problem before solving it.  Details Published on 2023-12-24 23:07
 
 
 

224

Posts

0

Resources
10
 
Tristan_C posted on 2023-12-24 22:01 I changed the power supply and cable, and it recognized 5V3A, but it still doesn't light up. I think there is something wrong

Then you need to rule out whether it is a hardware or software problem before solving it.

This post is from stm32/stm8

Comments

I have asked the manufacturer to help me, thank you  Details Published on 2023-12-25 00:09
 
 
 

141

Posts

4

Resources
11
 
qiao--- Published on 2023-12-24 23:07 Then you have to rule out whether it is a hardware or software problem, and then solve the problem.

Well, I asked the manufacturer to help me, thank you

This post is from stm32/stm8
 
 
 

21

Posts

0

Resources
12
 
Tristan_C posted on 2023-12-25 00:09 Well, I asked the original manufacturer to help me take a look, thank you

What is the problem causing the light not to light up?

This post is from stm32/stm8
 
 
 

21

Posts

0

Resources
13
 

Blogger, which red LED do you mean here? There are LED1/2/3/4/5/6/7 on the board?

"If you are a novice using this board, you must buy the official power cord." Can the blogger provide a purchase link for the official power cord?

This post is from stm32/stm8
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list