From 0ab878dcd26cd877cb0ca8188b64f11160140c1e Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Tue, 19 Apr 2016 13:29:22 -0700 Subject: [PATCH] cortexa: Add short delay after reset, before reattaching. Allows the early bootloader to configure the DDR ram. --- src/cortexa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cortexa.c b/src/cortexa.c index 10d4abe..fc0fc61 100644 --- a/src/cortexa.c +++ b/src/cortexa.c @@ -440,6 +440,8 @@ static void cortexa_reset(target *t) } } while (e.type == EXCEPTION_ERROR); + platform_delay(100); + cortexa_attach(t); }