Debian Codegraph @

extras/rs232-gen/README

raw
1 /*
2 * Simple RS232 generator for gpsim.
3 * - At most 32 discrete messages
4 * - At most 256 bytes per message
5 *
6 * Brian Behlendorf
7 */
8
9 Examples:
10 rs232-gen -b 115200 -d 100:0xFF,0x00 -d +100:0xFF,0x01
11 rs232-gen -b 9600 -f 4000000 -c 100:Test\ String
12
13 Example stc file:
14 # example.stc
15 load s example.cod
16 frequency 4000000 # must match the freq. used by rs232-gen
17 node uart_test
18 load c uart_stim.txt # the output from rs232-gen
19 attach uart_test rs232_stimulus portc7 # portb1 for 62x
20