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

Go down all the memory of the device writting a pattern. More...

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

Go to the source code of this file.

Functions

int main ()

Detailed Description

Go down all the memory of the device writting a pattern.

Use case:
use_case memory_count_gpio

Initialize the microcontroller abstraction layer, and then writes in each SDRAM memory position its address. Then loops forever reading each memory position and checking that the value stored follows the pattern.

Additionally, use the GPIO to transmit the address, that is being accessed.

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_count_gpio.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 39 of file memory_count_gpio.cpp.