Repository navigation
Add hi3516dv100_lite_anxinshi-asrih698t (HI3516D_N81820 speed dome, Pelco-D pan/tilt) - #210
Conversation
…elco-D pan/tilt) The Anxinshi ASRIH698T-020-20X is the XiongMai HI3516D_N81820 main board in a 20x pan/tilt dome. Its base MCU speaks Pelco-D, address 1, 9600 8N1, over RS-485 on UART1, which the reporter of OpenIPC/firmware#2385 drove by hand on nightly-20261020-ef421c8 once OpenIPC/linux#111 gave the board ttyAMA1. muxes.sh repeats what the stock firmware does at every boot: UART1 RXD/TXD on their pads, and the UART1_RTSN ball kept as GPIO9_2, the transceiver's direction pin, driven high. It resets low, which is receive, and nothing sent would reach the bus. customizer.sh points majestic's Pelco-D actuator at ttyAMA1 at 9600 and narrows the WebUI pad to pan and tilt. Cloned from hi3516dv100_lite_xm-n81820, the varifocal on the same board, with two differences. FLASH_SIZE is 8: the dome boots the 8M layout (5120k rootfs per its mtdparts in #2219) and its chip size is not known, so a 16M image could not be written to it. And majestic drives one actuator, which here is the pan/tilt head, so the MS41908M lens is not driven by majestic on this image.
PR Summary by QodoAdd Anxinshi ASRIH698T 8M profile with Pelco-D pan/tilt
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
1. The dome image cannot initialize video
|
Device profile for the Anxinshi ASRIH698T-020-20X speed dome: the XiongMai HI3516D_N81820 main board (hi3516dv100, IMX291 DC) in a 20x pan/tilt dome. From OpenIPC/firmware#2385.
Pan/tilt: a base MCU speaking Pelco-D, address 1, 9600 8N1, over RS-485 on UART1. The reporter drove it by hand on
nightly-20261020-ef421c8once OpenIPC/linux#111 enabled ttyAMA1. Their report: #2385 (comment). Pan left/right and tilt up/down all work.muxes.shruns on every boot, before majestic opens the port:0x7C/0x84= 1).0x78= 0) and drives it high. That pin is the transceiver's direction pin, which the stock firmware also drives. It resets low, which is receive, so nothing sent would reach the bus.customizer.shsetsptz_control=pelco-d,ptz_port=/dev/ttyAMA1,ptz_speed=9600,ptz_caps='pan tilt'and.ptz.enabled.Differences from the sibling
hi3516dv100_lite_xm-n81820(the varifocal on the same board):FLASH_SIZE="8". The dome boots the 8M layout (5120k rootfs, per its mtdparts in firmware#2219), and its chip size is unknown. The reporter has no UART, so the image must fit the partitions it already has.ptz.actuator, and here that is the pan/tilt head. The board's MS41908M zoom/focus would need majestic-af to drive two actuators at once, which is a separate change.Local build (
./builder.sh, firmware020f895):uImage 1815/2048 KB,rootfs.squashfs 4540/5120 KB.majestic-af.soand the DC IMX291 sensor files.uart@20090000.ci-matrix.py --self-testpasses.Not run on a camera as a whole image. The individual steps were run by hand by the reporter. The profile still needs a boot on the dome.