|
GR712RC unit tests 1.0
Bare-metal C++ hardware tests for the PLATO DPU (IAA-CSIC, 2019)
|
Writes and check the configuration of the SDRAM memory. More...

Go to the source code of this file.
Functions | |
| int | main () |
Writes and check the configuration of the SDRAM memory.
Writes the memory configuration registers, it disables the SRAM and enables the SDRAM.
Configures the memory config Registers according with the physical parameters of the SDRAM chip used.
EXPLAIN THE CONFIGURATION VALUE
param [out] mem ( 0x40000000) stores the value of mem_cfg1 that should be 0x1003c0ff; param [out] mem ( 0x40000004) stores the value of mem_cfg2 that should be 0x8b606040; param [out] mem ( 0x40000008) stores the value of mem_cfg3 that should be 0x18184200;
Definition in file memory_config.cpp.
| int main | ( | ) |
Definition at line 31 of file memory_config.cpp.