We use a USB tool to connect the computer and the video scrambling and descrambling module to change the password, which is actually the encryption algorithm seed number. If we have installed the scrambling module on the drone and it is flying in the air, this method cannot change the password or the seed number of the scrambling algorithm. It can only be achieved by sending serial port commands.
Ändern Sie das FPV-Video-Scrambler-Passwort, wenn VTX in der Luft fliegt
Inhaltsverzeichnis
FPV video scrambling module configuration parameters
Module configuration parameters are all implemented by writing a 256×8 RAM im Modul. The configured parameters are valid after saving, resetting or powering on again
RAM -Parameterbeschreibung
Module configuration parameters are all implemented by writing a 256×8 RAM im Modul. The configured parameters are valid after saving, resetting, or re-powering on. Nachdem das System eingeschaltet oder zurückgesetzt wurde, Die serielle Schnittstelle druckt {AAAAAA}
RAM -Parameterdetails
RAM[0]: System-Reset-Steuerung, lesbar und beschreibbar, read and write have different meanings
Schreiben:
0X00: Setzen Sie das gesamte System zurück, Die serielle Schnittstelle kehrt zurück {AAAAAA}, Dies zeigt an, dass das System zurückgesetzt wurde
0X01: Speichern Sie die vom Benutzer eingestellten Parameter, Die serielle Schnittstelle kehrt zurück {000101}, zeigt an, dass die Ausführung erfolgreich war
0X02: Restore the parameters to the system default parameters, Die serielle Schnittstelle kehrt zurück {000202}, zeigt an, dass die Ausführung erfolgreich war
Other => Reserviert
Lesen:
BIT0: Input locked or not, 0: unlocked, 1: gesperrt
BIT7~BIT1: reserviert
RAM[1]: Video input mode, lesbar und beschreibbar, Standardwert 0x00
0X00: Force input mode to PAL, stronger anti-interference
0X01: Force input mode to NTSC, stronger anti-interference
Others reserved
RAM[2]: Module working mode. Lesbar und beschreibbar, Standardwert 0x00
0X00: Scrambling mode
0X01: Descrambling mode
Andere => reserviert
RAM[3] ~ RAM[4]: Scrambled random number, range 0~1023, lesbar und beschreibbar, Standardwert 0.
RAM[3] Hoch Byte, RAM[4] Low-Byte
Other RAMs are reserved and their contents cannot be read or written
Befehl modulkonfiguration
Configuration command is implemented by sending commands to it through the serial port
Befehlsformat: {+operation code+RAM address++check code+}
Die Symbole {} are all hexadecimal numbers represented by ASCII code
{: gibt den Beginn des Befehls an
+: indicates that this only indicates the connection, used for explanation, and does not exist in the actual command
<>: indicates that this parameter does not exist in the read command
}: zeigt das Ende des Befehls an
Operation code: 00 indicates write, FF indicates read, 1 Byte
RAM-Adresse: 1 Byte
Operand: Der Operand des Befehls ist 1 Byte. Im Lesevorgang, this byte does not exist
Code prüfen: (operation code + register address + ) Mod 256
Befehlsrückgabeformat:
Operation success return format: {+Adresse registrieren+Wert registrieren+Code prüfen+}
Reset command does not return
Rückgabeformat für Operationsfehler: {FFFFFF}
Serial Port Command Example:
Start-up:
RX: {AAAAAA}
TX: {00010001} – set PAL
RX: {010001} – Erfolg / oder {FFFFFF} – fail
TX: {00010102} – set NTSC
RX: {010102} – Erfolg / oder {FFFFFF} – fail
TX: {FF0100} – get video input mode
RX: {010102} – 0x01 & 0x01 = NTSC / oder {FFFFFF} – fail
TX: {00020002} – set Scrambling mode
RX: {020002} – Erfolg / oder {FFFFFF} – fail
TX: {00020103} – set Descrambler mode
RX: {020103} – Erfolg / oder {FFFFFF} – fail
TX: {FF0201} – get working mode
RX: {020103} – 0x01 & 0x01 = Descrambler mode / oder {FFFFFF} – fail
Set seed = 1000 (0x03e8) high byte 0x03, low byte 0xe8
TX: {00030306} – set high byte 0x03 / oder {FFFFFF} – fail
RX: {030306} – Erfolg / oder {FFFFFF} – fail
TX: {0004E8EC} – set low byte 0xe8
RX: {04E8EC} – Erfolg / oder {FFFFFF} – fail
TX: {FF0302} – get seed’s high byte
RX: {030306} – high byte = 0x03 / oder {FFFFFF} – fail
TX: {FF0403} – get seed’s low byte
RX: {04E8EC} – low byte = 0xe8 / oder {FFFFFF} – fail
TX: {00000101} – write settings
RX: {000101} – Erfolg / oder {FFFFFF} – fail
Chinese中文原文
FPV视频加扰模块配置参数
模块配置参数都是通过写模块内部的一个256×8的RAM来实现,所配置的参数在保存复位或重新上电后有效.
RAM参数说明
模块配置参数都是通过写模块内部的一个256×8的RAM来实现,所配置的参数在保存复位或重新上电后有效,系统上电或复位后,串口会打印{AAAAAA}
RAM参数说明
RAM[0] :系统复位控制,可读可写,读和写代表的意义不一样
写:
- 0X00:复位整个系统,串口返回{AAAAAA},表示系统已经复位
- 0X01:保存用户设置的参数, 串口返回{000101},表示执行成功
- 0X02:恢复参数为系统默认参数, 串口返回{000202},表示执行成功
- 其它 => 保留
读:
- BIT0:输入锁定与否,0:未锁定,1:锁定
- BIT7~BIT1:保留
RAM[1] :视频输入模式,可读可写,默认值0X00
- 0X00:强制输入模式为PAL,抗干扰更强
- 0X01:强制输入模式为NTSC,抗干扰更强
- 其它保留
RAM[2] :模块工作方式。可读可写,默认值0X00
- 0X00:加扰模式
- 0X01:解扰模式
- 其它 => 保留
RAM[3] ~RAM[4]:加扰随机数,范围0~1023,可读可写,默认值0。
RAM[3]高字节,RAM[4]低字节
其它的RAM保留,不能读写其内容
FPV视频加扰模块配置命令
配置命令是通过串口向其发送命令来实现
命令格式: {+操作码+RAM地址+<操作数>+校验码+} 符号{}内都是ASCII码表示的16进制数字
{ : 表示命令开始
+ : 表示这里仅表示连接,用于说明,在实际命令中并不存在
<> :表示该参数读命令中没有
} : 表示命令结束
操作码 : 00 表示写, FF表示读,1Byte
RAM地址: 1Byte
操作数 : 命令的操作数 1字节,在读操作中,这个字节没有
校验码 : (操作码 + 寄存地址 + <操作数>) Mod 256
命令返回格式 :
操作成功返回格式: {+寄存器地址+寄存器的值+校验码+}
复位命令没返回
操作失败返回格式:{FFFFFF}



Stelle eine Frage
Vielen Dank für deine Antwort. ✨