diff options
author | Keith Packard <keithp@keithp.com> | 2008-12-29 12:35:11 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-12-29 12:35:11 -0800 |
commit | ea366058aa467a8a7caf17e7014758f3741ea7f7 (patch) | |
tree | 9ba6fdef7c8995460ff46c836fbad99e9c0a581f /ccload/ccload.c | |
parent | e0697186a2f9b6139636ff5d5c162879c85caf9c (diff) |
Fix flashing less than a full page of data. Verify page at a time.
The 8051 flashing code requires special help with counts with non-zero low
byte. Also, instead of verifying the entire flash contents at the end,
verify each page as it goes.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ccload/ccload.c')
-rw-r--r-- | ccload/ccload.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ccload/ccload.c b/ccload/ccload.c index b4bb1443..3e220914 100644 --- a/ccload/ccload.c +++ b/ccload/ccload.c @@ -54,6 +54,8 @@ main (int argc, char **argv) if (!dbg) exit (1); + ccdbg_add_debug(CC_DEBUG_FLASH); + ccdbg_debug_mode(dbg); ccdbg_halt(dbg); if (image->address == 0xf000) { |