summaryrefslogtreecommitdiff
path: root/lib/ccdbg-flash.c
Commit message (Collapse)AuthorAge
* Move build and debug tools to 'cctools' directory.Keith Packard2009-06-04
| | | | | | These tools were merged in from the ccdbg package. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge ccdbg and altos sources into one giant repositoryKeith Packard2009-06-04
| | | | | | Keeping these separate isn't making things any easier. Signed-off-by: Keith Packard <keithp@keithp.com>
* Save/restore registers to host during memory operations. Cache ROM data.Keith Packard2008-12-30
| | | | | | | | | | | Because the debug port uses instructions for most operations, the debug code will clobber registers used by the running program. Save and restore these to avoid corrupting application data. If the ROM file is known, use that to return data instead of fetching it from the target to improve performance. Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix flashing less than a full page of data. Verify page at a time.Keith Packard2008-12-29
| | | | | | | | 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>
* Cleanup work; separating out the cp interface to be more abstract.Keith Packard2008-12-20
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Autotools.Keith Packard2008-12-19
Signed-off-by: Keith Packard <keithp@keithp.com>