基于RT1052 Aworks SDRAM压力测试(十七)

本文主要是通过迁移的思维,记录本人初次使用周立功的Aworks框架进行BSP开发

本文主要讲述在RT1052上面,使用i.mxrt-dram-tool-v0.2工具进行压测试。

1. 原理

i.mxrt-dram-tool-v0.2工具其实是集成memtester工具对SDRAM进行压力测试。

2. 操作过程

1)MCU进入烧录serial download模式
在这里插入图片描述
2)接上串口,接上USB线
在这里插入图片描述

3)打工工具配置界面,打开串口和USB烧录线,选择对应硬件平台测试脚本,选择MCU工作时钟,点击运行即可。
在这里插入图片描述
4)测试结果

RT DRAM Tool V0.2 build on Mar 15 2019 17:48:43

  - Start Address(Hex): The memory address test starts from, the default is base address.
  - Test Size: No more than the total memory space, the default is total size.
  - Test Freq(MHz): DRAM frequency.
  - Loop Number: Stress testing loop number. '0' means limitless!

Executing DRAM script Done
Downloading IVT header...Done
Downloading file 'bin\rt1050_sdram_stress_test.bin' ..Done


########## Print out from target board ##########

DRAM test setting:
                  Base Address: 0x80000000;
                  Test Size: 33554432 Bytes;
                  Test Loop: 1;
                  DRAM Freq: 166;
                  Fail Stop: 1;
                  Enable Cache: 0;


memtester version 4.3.0 (32-bit)
Copyright (C) 2001-2012 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

want 32MB (33554432 bytes)
Loop 1/1:
  Stuck Address: ok
  Random Value: ok
  Compare XOR: ok
  Compare SUB: ok
  Compare MUL: ok
  Compare DIV: ok
  Compare OR: ok
  Compare AND: ok
  Sequential Increment: ok
  Solid Bits: ok
  Block Sequential: ok
  Checkerboard: ok
  Bit Spread: ok
  Bit Flip: ok
  Walking Ones: ok
  Walking Zeroes: ok
  8-bit Writes: ok
  16-bit Writes: ok

Done and Passed!
exit_code 0x0 

3. 总结

如果一开始就知道有这个工具的话会在调试第一版的硬件板本时使用。有可以在做高低温测试时,使用该工具测试板子的稳定性。

posted @ 2021-08-21 14:33  嵌入式实操  阅读(240)  评论(0编辑  收藏  举报