Use the board to actually operate i. MXRT is almost 2 weeks old, summarize the learning steps and the basics you need to know to prevent you from taking a detour


There's still a bit of a threshold to play skate RT, there's a lot to learn, and if the foundation isn't solid it can be a bit of a struggle to learn. So I've shared the path I've taken over the past few days to make it less difficult.

The following options are a few of the big mountains that everyone must face when studying RT

(1) XIP external Flash starts operation.

(2) Slightly more complex clock configurations.

(3) L1 cache and MPU settings.

(4) FlexRAM configuration, i.e., the allocation of DTCM, ITCM and OCRAM.

(5) Decentralized loading problem.

(6) Use of Flashloader, the project batch must use this because we need to set up the encryption operation of the external flash.

(7) A variety of boot methods, such as SD card, HyperFlash, QSPI Flash, emmc, NAND, etc.

(8) Boot ROM and peripheral power is the ultimate mountain of RT and is the last thing you need to tackle again, with a five-star complexity factor.

From a purely application point of view, it's okay not to learn these things, it's simply to use them as a microcontroller and download them to flash to run. But to perform and meet the requirements of the project, you have to put some effort into it, or the performance will not perform and the actual result will be slightly worse.

Regarding the base manual for our X1 board, I will start working on it next week, and the V1 integrated board later when it is released along with the base manual.

Learning Steps.

1, after receiving the board, the user manual inside the basic things to understand the next, basically half a day to a day to read it.

2. find a simple example of a running light and slip it in first. The main test is to debug whether the download is working properly.

(1) CMSIS-DAP commissioning and download

(2) JLINK debugging and downloading

(3) Debugging and downloading of STLINK

3, debug download and so on to understand, we need to overall control the architecture of this chip, not rushed to understand the various peripherals. The framework that holds the whole chip together has two main points

(1) One is the clock tree, which is this post.

(2) The other is a block diagram of the entire chip design, which is this post (no system block diagram at RT for now).

4, to understand the scattered load file some basic commands, RT memory allocation on the scattered load alive, this is what we must learn, and later to master proficiently

5, understand several files in the XIP folder, beginners can understand, no need to study in depth, study this is still very strenuous.

6, learn the use of flashloader, if you are a beginner, you can first do not learn, the pit inside this huge, but you product mass production, later is necessary to learn, the current only need to understand can

7, L1 cache and MPU settings are also to learn, if you are learning, first with the project default configuration can be, and later slowly learn to understand

8, FlexRAM need to learn the official notes on that application, if you learn it for the first time, it is recommended to use the system default allocation, do not go backwards it

9. RT supports various boot methods, like emmc, NAND, SD card, QSPI Flash, HyperFlash, etc. For beginners, just learn to use HyperFlash, almost like a generic monolith

10, the last one is the ultimate boss, based on Boot ROM product mass production and encryption issues, which encryption is the most complex, no knowledge of this area, basically can not get.

And RT's peripheral power supply is also very complex, beginners do not study him, the reference manual up to 6 large chapters in the explanation of this, the board can power up and use it.

With these 10 understandings above, you can basically operate the RT like a general purpose microcontroller. Feel free to add your own perspective.

1、The gods teach you xdebug and the most important php debugging tips
2、a retard of our time
3、CCBN 2018 International Radio and Television Show to kick off in Beijing on March 22
4、Which screen gets the most attention in tens of thousands of square meters
5、More than twenty funding projects in Haidian will be filed intensively

    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送