Project

General

Profile

HSL FemtoHSL FemtoConsole » History » Version 2

laforge, 02/19/2016 10:48 PM
add notes about serial port

1 1 laforge
2 2 laforge
h1. Serial Console of the HSL Femto
3
4
5 1 laforge
There is a 3-pin header on the digital board of the HSL Femto.
6
7 2 laforge
It contains a RS-232 serial console of the TI [[DaVinci]] ARM core running at 115,200 bps
8 1 laforge
9
The pinout is as follows:
10 2 laforge
* Pin 1: TxD output of Femto
11
* Pin 2: RxD input of Femto
12
* Pin 3: Ground
13 1 laforge
14 2 laforge
*NOTE: There is a RS232 level shifter on board running the console at real RS232 voltage levels*, so don't expect the typical 3.3V CMOS level.
15 1 laforge
16
17 2 laforge
h2. Console commands
18
19
<pre>
20
21 1 laforge
help
22
Monitor Commands:
23
24
        lt   - list tasks
25
        ct   - clear multitask profile timers
26 2 laforge
        mr   - read memory: mr [[AddressSpace]] MemoryLocation [[BytesToRead]]
27
        mw   - write memory: mw [[AddressSpace]] MemoryLocation [[ValueToWrite]]
28
        crt  - crt AS [[TaskName]] EntryPoint [StackSize] [Priority] [Weight]
29
        rt   - Run a task: rt [[AddressSpace]] TaskName
30
        ht   - Halt a running task: ht [[AddressSpace]] TaskName
31
        kt   - Terminate a task: kt [[AddressSpace]] TaskName
32 1 laforge
        is   - Enable / disable INDRT over serial: is [on | off]
33 2 laforge
        clt  - close task: clt [[AddressSpace]] Taskname
34 1 laforge
        lA   - list Address Spaces: lA
35
        lo   - list Objects: lo [{+-}{aAcCilmstu}] [AddressSpace]
36
        la   - list Tasks/Activities: la [AddressSpace]
37
        lc   - list Connections: lc [AddressSpace]
38
        sm   - Inject message: sm <AddressSpace> <Object index> "<message>"
39
        lm   - list loaded images
40
        rset - reboots board (not always supported)
41
        bl   - get or set board location (not always meaningful)
42
        map  - display BSP memory table
43
        ti   - task info: ti <TaskID>
44
        oi   - kernel object info: oi <object index> <DomainID>
45 2 laforge
        nc [d<dev>] [[e [[EthernetAddress]]] | [i IPAddress] | [g Default Gateway] |
46 1 laforge
        [n Netmask] | [m Namesrvr] | [h Hostname] | [p<ON|OFF> (DHCP ON|OFF)] |
47
        [b<0|1> (TFTP Boot OFF|ON)] | [l Boot-Delay-seconds] |
48
        [t TFTP-Server-IPAddress] | [f filename-to-boot] | [r INDRT-Interface]
49
        [v SNTP-Server-IPAddress] | [z HH:MM Timezone Offset] |
50
                                                                        [o SNTP Polling Interval (s)]
51
        [s Save to non-volatile memory]] - network configuration
52 2 laforge
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)