| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
LPC17xx/40xx Memory tests
Peripheral examples

## Detailed Description

Example description
This example runs a few memory tests on external DRAM memory. The tests include walking 0 and 1, address and inverse address, and pattern tests.

These tests are meant to be run via a debugger inside IRAM and will not run standalone.

Special connection requirements
There are no special connection requirements for this example.

Build procedures:
LPC17xx/40xx example quickstart for Keil uVision4
LPC17xx/40xx example quickstart for IAR EWARM
LPC17xx/40xx example quickstart for Code Red Xpresso

Supported boards and board setup:
Embedded Artists' LPC1788 Developer's Kit
Embedded Artists' LPC4088 Developer's Kit

Submitting LPCOpen issues:
Community support for LPCOpen

## Macros
#define | DRAM_BASE_ADDRESS (uint32_t *) EMC_ADDRESS_DYCS0
#define | DRAM_SIZE (8 * 1024 * 1024)

## Functions
int | main (void)
| Main routine for example_memtest.

## Macro Definition Documentation

#define DRAM_BASE_ADDRESS (uint32_t *) EMC_ADDRESS_DYCS0

Definition at line 69 of file memtest.c.

#define DRAM_SIZE (8 * 1024 * 1024)

Definition at line 70 of file memtest.c.

## Function Documentation

int main | ( | void |  | ) |

Main routine for example_memtest.

Main program body.

Returns
  Nothing

Definition at line 88 of file memtest.c.