X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao-tools%2Fao-dbg%2Fao-dbg.1;h=53e766490aeb2c8ef0585d712b7b098dbe058843;hp=a850c45407ed76b7e845c92ac2ea109bc1cee84f;hb=cf7b2e065d844d290ee43449ae37162839220158;hpb=4685fc541466afbeefc151bcb64cd054739c048b diff --git a/ao-tools/ao-dbg/ao-dbg.1 b/ao-tools/ao-dbg/ao-dbg.1 index a850c454..53e76649 100644 --- a/ao-tools/ao-dbg/ao-dbg.1 +++ b/ao-tools/ao-dbg/ao-dbg.1 @@ -35,6 +35,9 @@ ao-dbg \- hex debugger for cc1111 processors [\-h] [\-m] [\-T \fItty-device\fP] +[\--tty \fItty-device\fP] +[\-D \fIaltos-device\fP] +[\--device \fIaltos-device\fP] .SH DESCRIPTION .I ao-dbg connects to a cc1111 processor through either a suitable cc1111 board @@ -80,14 +83,29 @@ This should print a usage message, but does nothing useful currently. .IP "\-m" This option is not present in the original 8051 emulator, and causes ao-dbg to dump all commands and replies that are received from and sent to sdcdb. -.IP "\-T" +.TP +\-T tty-device | --tty tty-device This selects which tty device the debugger uses to communicate with the target device. The special name 'BITBANG' directs ao-dbg to use the cp2103 connection, otherwise this should be a usb serial port connected to a suitable cc1111 debug node. +.TP +\-D AltOS-device | --device AltOS-device +Search for a connected device. This requires an argument of one of the +following forms: +.IP +TeleMetrum:2 +.br +TeleMetrum +.br +2 +.IP +Leaving out the product name will cause the tool to select a suitable +product, leaving out the serial number will cause the tool to match +one of the available devices. .SH COMMANDS Once started, ao-dbg connects to the cc1111 and then reads and -executes commands, either from stdin, or the nework connection to +executes commands, either from stdin, or the network connection to sdcdb. .PP Unlike the command line, ao-dbg contains built-in help for each of these @@ -190,7 +208,7 @@ pins and then change the Port 1 data to set them high or low: > set sfr 0x90 0x00 # set P1_1 to low .IP "Reading the A/D converters" The six A/D converter inputs can each be connected to any of the P0 pins, -ground, the A/D voltage refernece, an internal temperature sensor or VDD/3. +ground, the A/D voltage reference, an internal temperature sensor or VDD/3. To read one of these values, select an A/D converter to use then start the conversion process. The cc1111 manual has the table for selecting the input on page 144.