From abac8b36270465a11410a5f814cf223084bf8007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 9 Dec 2012 10:36:50 +0000 Subject: [PATCH] flashing works with host-flash routine. Plugin doesn't for some reason --- BaS_gcc/mcf5474.bdm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BaS_gcc/mcf5474.bdm b/BaS_gcc/mcf5474.bdm index 4b116f0..fb8074c 100755 --- a/BaS_gcc/mcf5474.bdm +++ b/BaS_gcc/mcf5474.bdm @@ -71,6 +71,8 @@ flash 0xE0000000 # do not flash yet. First check if board can be initialized correctly #flash-plugin 0x10000000 0x4000 flash29.plugin + +# contrary to documentation, it seems we need to erase-wait after each sector erase 0xE0000000 0 erase-wait 0xE0000000 erase 0xE0000000 0x1000 @@ -80,7 +82,6 @@ erase-wait 0xE0000000 erase 0xE0000000 0x3000 erase-wait 0xE0000000 -blank-chk 0xE0000000 0x0 load -v bas.elf #load -v ram.elf wait