From edad78b6e60b39d3a6bec10ffab57bf6d32bdc83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 10 Nov 2013 19:47:42 +0000 Subject: [PATCH] do DMA from SDRAM to SDRAM --- BaS_gcc/sources/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaS_gcc/sources/dma.c b/BaS_gcc/sources/dma.c index 10d4570..00e1180 100644 --- a/BaS_gcc/sources/dma.c +++ b/BaS_gcc/sources/dma.c @@ -119,7 +119,7 @@ int dma_init(void) xprintf("DMA API version %d.%d initialized. Tasks are at %p\r\n", version / 0xff, version % 0xff, SYS_SRAM); // test - dma_memcpy((void *) 0x10000, (void *) 0xe0000000, 0x00100000); /* copy one megabyte of flash to RAM */ + dma_memcpy((void *) 0x10000, (void *) 0x03e00000, 0x00100000); /* copy one megabyte of flash to RAM */ xprintf("DMA finished\r\n"); return 0;