GR712RC unit tests 1.0
Bare-metal C++ hardware tests for the PLATO DPU (IAA-CSIC, 2019)
Loading...
Searching...
No Matches
memory_run_bucle.cpp File Reference

Loops forever going down all the memory of the device writting a pattern. More...

#include <cstdint>
#include <mcal/mcal.h>
Include dependency graph for memory_run_bucle.cpp:

Go to the source code of this file.

Functions

int main ()

Detailed Description

Loops forever going down all the memory of the device writting a pattern.

Use case:
use_case memory_run_bucle

Initialize the microcontroller abstraction layer, and then loops forever the write the hole SDRAM memory with the pattern 0xA5A5A5A5. After that, goes over all the memory another time reading each memory position and checking that the value stored is the pattern.

Returns
In case of error, the program exit with an error. Other case, the program exits normally.
Note
The program should be linked to be executed on the build-in SRAM of GR712RC: -T linkcmds-ahbram
Author
Juan Manuel Gómez jmgom.nosp@m.ez@i.nosp@m.aa.es

Definition in file memory_run_bucle.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 22 of file memory_run_bucle.cpp.