load_firmwareV1.1 0xfffe 0x0007 ozyfw-sdr1k.hex
sleep 3000
upload_FPGAV1.1 0xfffe 0x0007 Ozy_Janus.rbf
rem        1E 00 - Reset chip
rem        12 01 - set digital interface active
rem        08 15 - D/A on, mic input, mic 20dB boost
rem        08 14 - ditto but no mic boost
rem        0C 00 - All chip power on
rem        0E 02 - Slave, 16 bit, I2S
rem        10 00 - 48k, Normal mode
rem        0A 00 - turn D/A mute off
write_i2cV1.1 0xfffe 0x7 0x1a  0x2  0x1e 0x00
write_i2cV1.1 0xfffe 0x7 0x1a  0x2  0x12 0x01
write_i2cV1.1 0xfffe 0x7 0x1a  0x2  0x08 0x15
write_i2cV1.1 0xfffe 0x7 0x1a  0x2  0x0c 0x00
write_i2cV1.1 0xfffe 0x7 0x1a  0x2  0x0e 0x02
write_i2cV1.1 0xfffe 0x7 0x1a  0x2  0x10 0x00
write_i2cV1.1 0xfffe 0x7 0x1a  0x2  0x0a 0x00
rem pause
