Tiny210 bare metal development first experience

I have been working on Tiny210's bare metal since yesterday. It's a bit rusty after not playing for a long time.
Since the development board CD comes with bare metal program routines, I first ran a simple lighting and opened the debugging channel before learning.

First use method 1:
refer to the national embedded video burning superboot (the LCD is removed without printing after burning, because the driver in the BOOT does not match),
download the .bin file, and always prompt Can not open / dev / secbulk0 to
enter the dev directory Check that the secbulk0 file does not exist. Analyze that the dev belongs to the driver. As long as the process is correct, there should be no problems. Carefully see that the miniUSB is the power supply line, so the program cannot be downloaded through Superboot.
Therefore, method 2 is used.

Method 2:
Refer to the system CD bare metal development tutorial manual
1. Remove the SD card and format
2. Compile the bare metal program on the CD
3. Use ./wirte2sd to write the bin file to the SD card
4. Insert the SD card to the development board and dial to Boot from SD card, remove display
5, power on

Insert picture description here

Published 163 original articles · Liked 183 · Visit 120,000+

Guess you like

Origin blog.csdn.net/qq_31339221/article/details/89293998