Project

General

Profile

HSL FemtoHSL FemtoConsole » History » Version 1

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

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