Expecting UART communications
I am working on this script with interaction with my firmware and apparently, it's not working as I expect it to. Basically, I have a bare-bones firmware module that I initiate manufacturing tests via the uart command line. I expect to see my prompt ">>" in which I then will send a command to initiate a test:
- ident: MTC-01
title: Load and Run Manufacturing Test Code
steps:
- command: identify nRF52
- command: erase nRF52
- command: program nRF52 softdevice.hex, zephyr.hex, NULL
- command: sleepms 5000
- command: uartCfg UART0 115200 8N1
- command: uartExpect UART0 ">>"
- uartcmd: uart UART0
send: "?\r\n"
- command: uartAwait UART0 10
My firmware emits via UART the following:
***** Booting Zephyr OS build zephyr-v2.0.0-1617-g0c8e7eaeef0a *****
Manufacturing Test Bluetooth initialized [00:00:00.009,399] .[0m<inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002).[0m [00:00:00.009,399] .[0m<inf> bt_hci_core: HW Variant: nRF52x (0x0002).[0m [00:00:00.009,429] .[0m<inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 2.0 Build 99.[0m [00:00:00.010,131] .[0m<inf> bt_hci_core: Identity: dc:e4:4b:c0:3c:42 (random).[0m [00:00:00.010,162] .[0m<inf> bt_hci_core: HCI: version 5.1 (0x0a) revision 0x0000, manufacturer 0x05f1.[0m [00:00:00.010,162] .[0m<inf> bt_hci_core: LMP: version 5.1 (0x0a) subver 0xffff.[0m Advertising successfully started >> [00:00:10.012,725] .[0m<dbg> bt_ctlr_llsw_nordic_lll_filter.rpa_refresh_start: .[0m
Please sign in to leave a comment.
Comments
0 comments