BR20 CONTROL COMMANDS Bryston 21 July 2020 1.TCP/IP Commands: %2310ERRMQS. - return list of error message strings %2310ERRMCL. - clear all error codes %2310GETDa. - return dec value of param. a %2310GETDQS. - list of all parameter names %2310GETHa. - return hex value of param. a %2310GETSa. - return string label assigned to parameter named a %2310HELP. - display help file (helpcmd.txt) %2310INFOQS. - display 19-line system info page: 01:%13s PRODUCT NAME 02:%6d SERIAL NUM 03:%8d MANUF DATE 04:%16s MAIN SOFT REV 05:%8s BOOTLOADER REV 06:%4d MAINBOARD VER 07:%8x PIC32 ID 08:%8x ETHNET CHIP ID 09:%8x FLASH1 CHIP ID 10:%8x FLASH2 CHIP ID 11:%8x EEPROM CHIP ID 12:%8x TSENS CHIP ID 13:%8x HDMI RELEASE 14:%8x SPDF CHIP ID 15:%8x XMOS SOFTWARE REV 16:%8x PLD VERSION 17:%8x PIC16 KEYPAD REV 18:%8x VOLUME CHIP ID 19:%15s LCD CHIP ID 20:%15s AM/FM TUNER 21:%18s PI DISTRO INFO 22:%18s MAC ADDR 23:%16s NETBIOSNAME 24:%16s IP ADDRESS %2310INFOPI. - display Raspberry PI About info %2310INFOHD. - display HDMI board info %2310INFO?. - list all INFO parameters %2310INIT00. - force re-default of user param %2310INIT222. - unlock some special commands %2310INIT?. - list INIT command options %2310IPADQS. - Query the current IP Address returns "IPADxxx.xxx.xxx.xxx." %2310LIST00. - directory list on Flash1 %2310LIST08. - list all digital button assign %2310LIST09. - list all source user labels %2310LIST?. - list all LIST command options %2310MCTRxx - media control xx: PL = Play PA = Pause PP = Play/Pause toggle SP = Stop NX = Next track PR = Previous track %2310MSRCxx - select the main input source xx: 00,01 = AES1,2 (digital XLR) 02,03 = SPDIF1,2 04,05 = OPTI1,2 06,07 = USB1,USB2 08,11 = HDMI1-4 12 = Raspberry PI 13 = AM/FM Tuner 14,15 = BAL1,2 (analog XLR) 16,17 = RCA1,2 (analog) ? = list all source numbers %2310MMUT01. - mute outputs %2310MMUT00. - unmute outputs %2310MMUTQS. - query mute status %2310MPWR01. - power up %2310MPWR00. - power down %2310MPWRQS. - query power status %2310PCMDxx...xxx. - send command to Raspberry PI %2310PCMDRST. - reset internal serial port connection to Raspberry PI %2310PCMD?. - list all commands available for PI %2310PHIN01. - Output phase inversion %2310PTHDxx. - set passthru for HDMI1-4, xx=00-03 %2310SDACxx. (later renamed to %2310SSNDxx. ) - Set AK4490 DAC option bits (hex2) bits 0-2 = filter bits 3-4 = sound quality bits 5 = phase %2310SETDa d. - set parameter a (7chars) to 32-bit signed dec value d %2310SETD?. - list all parameter names %2310SETHa h. - set parameter a (7chars) to 32-bit hex value h Example %2310SETHhdforum 1e %2310SETSa s. - assign alphanumeric text s to parameter a example: %2310SETS12name Rapberry Pi %2310STATQS. - return status of all front panel LEDsflags in sequence: ghhhhhhhhrhhhhhhhh where g marks the green LED hex code r=red hex code. hhhhhhhh are hexadecimal digits 0..f indicationg the contents of the 32-bit LED register values. %2310STAT?. - show help explaining STATUS flags %2310TEMPQS. - returns board temperatue in C as signed integer, up to 3 characters %2310TEST01. - test all front panel LEDs %2310TEST00. - exit test mode %2310TRIGxx. - 00/01 disable/enable external trigger input. %2310UPSMxx. - 00/01 set upsampling off/on %2310____xxxxxxx. - comment 2.COMMANDS SENT THROUGH RS232 PORT (3.5mm STEREO HEADPHONE JACK): The format is the same as above except prefix %23 is replaced by # and the end character . (dot) is replaced by carriage return (\r = code 13) For example, the power-up command: %2310MPWR01. is written as: #10MPWR01\r 3.SPECIAL COMMANDS (RS232 and TCP/IP) (unlocked by #10INITxxx ) (only 1 or 2 characters, no terminating dot needed and no ending \r needed!) ? - display this text .c - clear error messages .C - clear terminal window .e - display error messages .E - close terminal window .i - display actual IP address .r - reboot .s - dump system params. .t - special test 4.USB Control Port, Mass Storage Device (port at the back) a) SWITCHES AND KEYWORDS in BP18.ini file in the USB IP=auto - autmatically assigned IP address by network router (DHCP) IP=aaa.bbb.ccc.ddd - specify static network IP address for BP18, for example IP=192.168.1.20 nocallhome=1 - disables calling home (takes precedence over all options) nocallhome=0 - enables calling home (default, same as omitting it) callhome_server=x - where the options x are as follows: x = no - disables Bryston server call x = 192.168.172.100 - defines Bryston server IP addr x = support.bryston.com - defines Bryston server URL ip_by_led=1 - enable display of the actual IP address, on power up, using tricolor LED flashing (at the back). Default is 0. (Note: only for troubleshooting, takes extra 30s on power up!) no_ip_by_usb=1 - disable writing IP address to ip.txt file in the USB flash vol=save - start volume at the last used and saved value (before standby) vol=dflt - start vol at hard-coded default (-60dB) vol=preset - same as vol=xxx.x except reads it from GlobPar.volmbp (from EEPROM) vol=xxx.x - start vol at the specified xxx.x dB value ("preset" option) hdmi_forum - bit-flag (hex value 0..F, to enable latest HDMI 2.0 "Forum" selectively for each HDMI input port. 1=Enable, 0=disable. b) KEYWORDS in the automatically created ip.txt file Note: Do not edit this file, ip.txt file may be overwritten any time. The file contains only one line: IP=aaa.bbb.ccc.ddd - shows an actual IP address of the BP18 Controller (not the same as Raspberry PI IP adress!) 5.Raspberry PI Botloader files: home/BOSSarm/berryboot/output/ config.txt - to configure the system line 32: dtoverlay=hifiberry-digi - BDP-PI and BP18 (USB port) dtoverlay=rpi-dac - for BDA3.14 (I2S) The files hifiberry-digi.dtbo and rpi-dac.dtbo are in home/BOSSarm/berryboot/output/overlays ---- End of file ---- ---- End of file ----