]>
git.gag.com Git - fw/altos/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Keith Packard [Sun, 25 Jan 2009 16:38:48 +0000 (08:38 -0800)]
Support 'set' command
The 'set' command modifies target memory and registers
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 6 Jan 2009 05:45:21 +0000 (21:45 -0800)]
Expose ccdbg_set_clock API
This allows applications to change the debug port clock
rate on the fly.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 6 Jan 2009 05:44:44 +0000 (21:44 -0800)]
Use custom sdcc libraries (this needs to be configured...)
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 6 Jan 2009 05:43:44 +0000 (21:43 -0800)]
Have S51 ignore SIGINT while running under sdcdb.
This prevents keyboard interrupts from accidentally stopping
s51.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 31 Dec 2008 06:40:13 +0000 (22:40 -0800)]
Add simple and timer sample programs
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 31 Dec 2008 06:35:53 +0000 (22:35 -0800)]
Save/restore registers to host during memory operations. Cache ROM data.
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>
Keith Packard [Mon, 29 Dec 2008 20:35:11 +0000 (12:35 -0800)]
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>
Keith Packard [Sun, 28 Dec 2008 08:11:13 +0000 (00:11 -0800)]
Use SFR access funcs. Support 'dump' command. Add -m (monitor) flag.
Not all SFRs are visible in the unified address space, so the SFR-specific
accessors are required.
The dump command is the same as the various 'd*'
commands, but also supports dumping program memory.
The new -m (monitor) flag watches the command stream between s51 and sdcdb.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 28 Dec 2008 08:09:30 +0000 (00:09 -0800)]
Save/restore regs when reading/writing memory. Add SFR access.
The DPL and ACC registers are used by the memory access code,
so they need to be saved and restored. Stuff them up high in ram for now;
this should probably be fixed to pull them back to the host instead.
Special SFR access is required as not all SFRs are visible in the unified
address space.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 27 Dec 2008 19:25:58 +0000 (11:25 -0800)]
s51: get start address from ihx file. re-enable breakpoints after reset.
Use the start of the ihx file when asked to run from 0x0, this lets
sdcdb run programs from ram.
The reset command clears all hw breakpoints, so reset them afterwards.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 27 Dec 2008 07:05:04 +0000 (23:05 -0800)]
Switch to libusb-1.0 and use async interface.
The async libusb interface offers substantial performance benefits by not
making each command wait for the reply. This makes talking over this
interface almost reasonable.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 27 Dec 2008 01:58:48 +0000 (17:58 -0800)]
s51: add breakpoints and the ability to block awaiting a breakpoint.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 23 Dec 2008 03:11:56 +0000 (19:11 -0800)]
Add more commands to s51 assembly-language debugger
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 23 Dec 2008 03:10:27 +0000 (19:10 -0800)]
Make read_memory debug output use ccdbg_debug.
This makes it default to not being presented, which makes s51 much happier
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Mon, 22 Dec 2008 07:33:35 +0000 (23:33 -0800)]
Add preliminary version of s51, a UI clone of the 8051 emulator.
sdcdb provides source-level debugging using the 8051 emulator, s51. By
emulating that emulator a the UI level, we should be able to get source
debugging right on our target platform.
This is just the preliminary structure for the program with most commands
not yet implemented.
Keith Packard [Sun, 21 Dec 2008 07:30:06 +0000 (23:30 -0800)]
Cleanup work; separating out the cp interface to be more abstract.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 20 Dec 2008 05:13:04 +0000 (21:13 -0800)]
Clean up autotools stuff.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 20 Dec 2008 05:11:45 +0000 (21:11 -0800)]
Autotools.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 20 Dec 2008 03:08:13 +0000 (19:08 -0800)]
Ignore .ihx files
Keith Packard [Sat, 20 Dec 2008 03:07:37 +0000 (19:07 -0800)]
Move blink example to subdir
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 20 Dec 2008 03:04:26 +0000 (19:04 -0800)]
Clean up makefiles, move ihx files to .ihx
Keith Packard [Fri, 19 Dec 2008 22:39:57 +0000 (14:39 -0800)]
ignore more stuff
Keith Packard [Fri, 19 Dec 2008 22:37:53 +0000 (14:37 -0800)]
Add cc1111 isr stub example
Keith Packard [Fri, 19 Dec 2008 22:37:29 +0000 (14:37 -0800)]
Add blink-tiny flash and ram versions
Keith Packard [Fri, 19 Dec 2008 22:19:29 +0000 (14:19 -0800)]
Flash multiple pages. Eliminate off-by-one error in hex_image length.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 19 Dec 2008 19:04:16 +0000 (11:04 -0800)]
Add flash writing code.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 18 Dec 2008 20:37:32 +0000 (12:37 -0800)]
faster
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 18 Dec 2008 20:17:41 +0000 (12:17 -0800)]
cq
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 18 Dec 2008 20:07:06 +0000 (12:07 -0800)]
Add ability to load Intel HEX files. Add sample sdcc LED blinker.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 18 Dec 2008 08:18:50 +0000 (00:18 -0800)]
Add ability to read/write arbitrary memory. Write LED blinker program.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 18 Dec 2008 07:15:47 +0000 (23:15 -0800)]
Move manual bit-banging debug code to separate file
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 18 Dec 2008 07:15:19 +0000 (23:15 -0800)]
reduce clock to 50us
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 18 Dec 2008 07:12:59 +0000 (23:12 -0800)]
Fill out ccdbg-command to support all debug commands.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 18 Dec 2008 06:24:59 +0000 (22:24 -0800)]
Clean up bitbanging layer. Add debug printfs.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 17 Dec 2008 20:32:15 +0000 (12:32 -0800)]
Clean up sample debug files
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 9 Dec 2008 01:25:28 +0000 (17:25 -0800)]
Add support for input-only lines (-)
Keith Packard [Sun, 7 Dec 2008 00:32:27 +0000 (16:32 -0800)]
Add another example
Keith Packard [Sun, 7 Dec 2008 00:32:12 +0000 (16:32 -0800)]
Add libusb support and lots more examples
Keith Packard [Sat, 29 Nov 2008 06:57:07 +0000 (22:57 -0800)]
Random hacking
Keith Packard [Fri, 28 Nov 2008 01:07:15 +0000 (17:07 -0800)]
Add prototypes, add stub mainline, add .gitignore
Keith Packard [Thu, 27 Nov 2008 20:33:40 +0000 (12:33 -0800)]
cc1111 debug port access through cp2103 serial chip