different bluetooth firmware upload process
This commit is contained in:
parent
b6b20eda8c
commit
71a3d09419
Binary file not shown.
8
cyw43-firmware/Cargo.toml
Normal file
8
cyw43-firmware/Cargo.toml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[package]
|
||||||
|
name = "cyw43-firmware"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
349
cyw43-firmware/src/lib.rs
Normal file
349
cyw43-firmware/src/lib.rs
Normal file
@ -0,0 +1,349 @@
|
|||||||
|
#![no_std]
|
||||||
|
|
||||||
|
pub const BLUETOOTH_FIRMWARE_OFFSETS: [(u32, usize); 28] = [
|
||||||
|
(0x1921e000, 66),
|
||||||
|
(0x1921f000, 251),
|
||||||
|
(0x1921f0fb, 251),
|
||||||
|
(0x1921f1f6, 251),
|
||||||
|
(0x1921f2f1, 251),
|
||||||
|
(0x1921f3ec, 251),
|
||||||
|
(0x1921f4e7, 251),
|
||||||
|
(0x1921f5e2, 251),
|
||||||
|
(0x1921f6dd, 251),
|
||||||
|
(0x1921f7d8, 251),
|
||||||
|
(0x1921f8d3, 251),
|
||||||
|
(0x1921f9ce, 251),
|
||||||
|
(0x1921fac9, 251),
|
||||||
|
(0x1921fbc4, 94),
|
||||||
|
(0x190d0200, 251),
|
||||||
|
(0x190d02fb, 251),
|
||||||
|
(0x190d03f6, 251),
|
||||||
|
(0x190d04f1, 251),
|
||||||
|
(0x190d05ec, 251),
|
||||||
|
(0x190d06e7, 251),
|
||||||
|
(0x190d07e2, 251),
|
||||||
|
(0x190d08dd, 251),
|
||||||
|
(0x190d09d8, 251),
|
||||||
|
(0x190d0ad3, 251),
|
||||||
|
(0x190d0bce, 251),
|
||||||
|
(0x190d0cc9, 11),
|
||||||
|
(0x192038d4, 4),
|
||||||
|
(0x19204164, 4),
|
||||||
|
];
|
||||||
|
|
||||||
|
pub const BLUETOOTH_FIRMWARE: [u8; 5952] = [
|
||||||
|
0x42, 0x52, 0x43, 0x4d, 0x63, 0x66, 0x67, 0x53, 0x00, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x01, 0x01, 0x04,
|
||||||
|
0x18, 0x92, 0x00, 0x00, 0x00, 0x03, 0x06, 0xac, 0x1f, 0x12, 0xa2, 0x43, 0x43, 0x00, 0x01, 0x1c, 0x00, 0xf0, 0x21,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x42, 0x52, 0x43, 0x4d, 0x63, 0x66, 0x67, 0x44, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xd2, 0x0b, 0x00, 0x00, 0x03, 0x03, 0x18, 0x53, 0x44, 0x49, 0x4f, 0x20, 0x33, 0x37, 0x5f, 0x34, 0x4d,
|
||||||
|
0x20, 0x77, 0x6c, 0x62, 0x67, 0x61, 0x5f, 0x42, 0x55, 0x20, 0x52, 0x50, 0x49, 0x00, 0x16, 0x03, 0x02, 0x00, 0x00,
|
||||||
|
0x02, 0x01, 0x90, 0x01, 0x08, 0x01, 0x32, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x32,
|
||||||
|
0x00, 0xff, 0x0f, 0x00, 0x00, 0x62, 0x08, 0x00, 0x00, 0x70, 0x00, 0x64, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00,
|
||||||
|
0x00, 0x00, 0xac, 0x00, 0x32, 0x00, 0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0x2f, 0x00, 0x64, 0x01, 0x60, 0x00, 0xff,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x68, 0x01, 0x60, 0x00, 0xff, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00,
|
||||||
|
0x6c, 0x01, 0x60, 0x00, 0xff, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x70, 0x01, 0x60, 0x00, 0xff, 0x00, 0x00,
|
||||||
|
0x00, 0x11, 0x00, 0x00, 0x00, 0x74, 0x01, 0x60, 0x00, 0xff, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x78, 0x01,
|
||||||
|
0x60, 0x00, 0xff, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x7c, 0x01, 0x60, 0x00, 0xff, 0x00, 0x00, 0x00, 0x1f,
|
||||||
|
0x00, 0x00, 0x00, 0x84, 0x01, 0x60, 0x00, 0xff, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, 0x04, 0x03, 0x0c, 0x20,
|
||||||
|
0x01, 0x20, 0x00, 0x0f, 0x14, 0x1a, 0x66, 0x0a, 0x15, 0x00, 0x00, 0x05, 0x03, 0x15, 0x00, 0x1b, 0x78, 0x50, 0xff,
|
||||||
|
0xff, 0x3f, 0x00, 0x05, 0x03, 0x1f, 0x64, 0xb0, 0xbd, 0x0a, 0x05, 0x00, 0xff, 0xff, 0x07, 0xbc, 0x09, 0x01, 0x04,
|
||||||
|
0x02, 0x0f, 0x00, 0x00, 0x22, 0x03, 0x02, 0x01, 0x00, 0xf0, 0x01, 0x28, 0x04, 0x00, 0x00, 0x00, 0x20, 0x15, 0x32,
|
||||||
|
0x00, 0xff, 0xff, 0xfa, 0xff, 0x01, 0x01, 0x06, 0x00, 0x28, 0x15, 0x32, 0x00, 0x00, 0x00, 0x7f, 0xfe, 0x34, 0x10,
|
||||||
|
0x20, 0x02, 0x2c, 0x09, 0x64, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0xf0, 0x01, 0x28, 0x01, 0x00,
|
||||||
|
0x00, 0x00, 0x20, 0x15, 0x32, 0x00, 0xff, 0xff, 0xfa, 0xff, 0x05, 0x01, 0x06, 0x06, 0x28, 0x15, 0x32, 0x00, 0x00,
|
||||||
|
0x00, 0x7f, 0xfe, 0x34, 0x10, 0x20, 0x02, 0x2c, 0x09, 0x64, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00,
|
||||||
|
0xf0, 0x01, 0x28, 0x02, 0x00, 0x00, 0x00, 0x20, 0x15, 0x32, 0x00, 0xff, 0xff, 0xfa, 0xff, 0x01, 0x01, 0x06, 0x00,
|
||||||
|
0x28, 0x15, 0x32, 0x00, 0x00, 0x00, 0x7f, 0xfe, 0x34, 0x10, 0x20, 0x02, 0x2c, 0x09, 0x64, 0x00, 0x0e, 0x00, 0x00,
|
||||||
|
0x00, 0x0e, 0x00, 0x00, 0x00, 0xf0, 0x01, 0xa0, 0x01, 0x03, 0x00, 0x00, 0x00, 0x10, 0x15, 0x32, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xf0, 0xf0, 0xf0, 0x00, 0x14, 0x15, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xf0, 0xf0, 0x00, 0x18,
|
||||||
|
0x15, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xf0, 0xf0, 0x00, 0x1c, 0x15, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x4c, 0x4c, 0x00, 0x00, 0x20, 0x15, 0x32, 0x00, 0xff, 0xff, 0xfa, 0xff, 0x05, 0x01, 0x06, 0x06, 0x24, 0x15, 0x32,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x28, 0x15, 0x32, 0x00, 0x00, 0x00, 0x7f, 0xfe, 0x34, 0x10,
|
||||||
|
0x20, 0x02, 0x34, 0x15, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x38, 0x15, 0x32, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x15, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0xca, 0x06, 0x00, 0x00,
|
||||||
|
0x2c, 0x09, 0x64, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x64, 0x00, 0x51, 0x00, 0x00,
|
||||||
|
0x00, 0x10, 0x00, 0x00, 0x00, 0x78, 0x08, 0x64, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x07,
|
||||||
|
0xb5, 0x03, 0x00, 0x06, 0x0a, 0x23, 0x3c, 0x5a, 0x6e, 0x7d, 0x05, 0x5c, 0x03, 0x3e, 0x03, 0x48, 0x03, 0x5c, 0x03,
|
||||||
|
0x48, 0x03, 0x98, 0x03, 0x7a, 0x03, 0x84, 0x03, 0x98, 0x03, 0x84, 0x03, 0xd4, 0x03, 0xb6, 0x03, 0xc0, 0x03, 0xd4,
|
||||||
|
0x03, 0xc0, 0x03, 0x1a, 0x04, 0xfc, 0x03, 0x06, 0x04, 0x1a, 0x04, 0x06, 0x04, 0x60, 0x04, 0x42, 0x04, 0x4c, 0x04,
|
||||||
|
0x60, 0x04, 0x4c, 0x04, 0xa6, 0x04, 0x88, 0x04, 0x92, 0x04, 0xa6, 0x04, 0x92, 0x04, 0x14, 0xff, 0x14, 0xff, 0x14,
|
||||||
|
0xff, 0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x44, 0x02, 0x30, 0x02, 0x26, 0x02, 0x12, 0x02, 0x1c, 0x02, 0x80, 0x02,
|
||||||
|
0x6c, 0x02, 0x62, 0x02, 0x4e, 0x02, 0x58, 0x02, 0xbc, 0x02, 0xa8, 0x02, 0x9e, 0x02, 0x8a, 0x02, 0x94, 0x02, 0x02,
|
||||||
|
0x03, 0xee, 0x02, 0xe4, 0x02, 0xd0, 0x02, 0xda, 0x02, 0x48, 0x03, 0x34, 0x03, 0x2a, 0x03, 0x16, 0x03, 0x20, 0x03,
|
||||||
|
0x8e, 0x03, 0x7a, 0x03, 0x70, 0x03, 0x5c, 0x03, 0x66, 0x03, 0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x14,
|
||||||
|
0xff, 0x14, 0xff, 0x06, 0x00, 0x00, 0x00, 0x60, 0x00, 0x05, 0x9c, 0x02, 0xff, 0xa0, 0x02, 0xff, 0xa4, 0x02, 0xff,
|
||||||
|
0xa8, 0x02, 0xff, 0xac, 0x02, 0xff, 0x00, 0x00, 0x60, 0x00, 0x05, 0xc8, 0x02, 0xff, 0xcc, 0x02, 0xff, 0xd0, 0x02,
|
||||||
|
0xff, 0xd4, 0x02, 0xff, 0xd8, 0x02, 0xff, 0x00, 0x00, 0x60, 0x00, 0x05, 0x88, 0x03, 0xff, 0x8c, 0x03, 0xff, 0x90,
|
||||||
|
0x03, 0xff, 0x94, 0x03, 0xff, 0x98, 0x03, 0xff, 0x00, 0x00, 0x60, 0x00, 0x05, 0x9c, 0x03, 0xff, 0xa0, 0x03, 0xff,
|
||||||
|
0xa4, 0x03, 0xff, 0xa8, 0x03, 0xff, 0xac, 0x03, 0xff, 0x00, 0x00, 0x60, 0x00, 0x05, 0x80, 0x03, 0xff, 0x84, 0x03,
|
||||||
|
0xff, 0xa0, 0x06, 0xff, 0xb4, 0x02, 0xff, 0x38, 0x07, 0xff, 0x00, 0x00, 0x60, 0x00, 0x03, 0xa4, 0x06, 0xff, 0x5c,
|
||||||
|
0x06, 0xff, 0x98, 0x06, 0xff, 0x45, 0x3d, 0x34, 0x2f, 0x2e, 0x38, 0x33, 0x2d, 0x2a, 0x27, 0x88, 0x86, 0x86, 0x86,
|
||||||
|
0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4, 0x18, 0x03, 0xfa, 0x65, 0x04, 0xcc, 0x4e, 0x4a, 0x3d, 0x39, 0x37,
|
||||||
|
0x40, 0x3a, 0x33, 0x2e, 0x2d, 0x88, 0x86, 0x86, 0x86, 0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4, 0x1a, 0x03,
|
||||||
|
0xfa, 0x66, 0x04, 0xcc, 0x5f, 0x58, 0x4d, 0x47, 0x43, 0x4b, 0x45, 0x3d, 0x37, 0x35, 0x88, 0x86, 0x86, 0x86, 0x85,
|
||||||
|
0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4, 0x1f, 0x03, 0xfa, 0x66, 0x04, 0xcc, 0x6d, 0x6a, 0x59, 0x53, 0x52, 0x57,
|
||||||
|
0x51, 0x47, 0x40, 0x3e, 0x88, 0x86, 0x86, 0x86, 0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4, 0x1f, 0x03, 0xfa,
|
||||||
|
0x66, 0x04, 0xcc, 0x80, 0x79, 0x68, 0x60, 0x5d, 0x61, 0x5a, 0x50, 0x48, 0x46, 0x88, 0x86, 0x86, 0x86, 0x85, 0xa8,
|
||||||
|
0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4, 0x1f, 0x03, 0xfa, 0x67, 0x04, 0xcc, 0x90, 0x8a, 0x78, 0x6f, 0x6b, 0x6f, 0x65,
|
||||||
|
0x59, 0x51, 0x4f, 0x88, 0x86, 0x86, 0x86, 0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4, 0x1f, 0x03, 0xfa, 0x67,
|
||||||
|
0x24, 0xff, 0x01, 0x07, 0xb5, 0x03, 0x04, 0x06, 0x0a, 0x23, 0x3c, 0x5a, 0x6e, 0x7d, 0x05, 0x5c, 0x03, 0x3e, 0x03,
|
||||||
|
0x48, 0x03, 0x5c, 0x03, 0x48, 0x03, 0x98, 0x03, 0x7a, 0x03, 0x84, 0x03, 0x98, 0x03, 0x84, 0x03, 0xd4, 0x03, 0xb6,
|
||||||
|
0x03, 0xc0, 0x03, 0xd4, 0x03, 0xc0, 0x03, 0x1a, 0x04, 0xfc, 0x03, 0x06, 0x04, 0x1a, 0x04, 0x06, 0x04, 0x60, 0x04,
|
||||||
|
0x42, 0x04, 0x4c, 0x04, 0x60, 0x04, 0x4c, 0x04, 0xa6, 0x04, 0x88, 0x04, 0x92, 0x04, 0xa6, 0x04, 0x92, 0x04, 0x14,
|
||||||
|
0xff, 0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x44, 0x02, 0x30, 0x02, 0x26, 0x02, 0x12, 0x02,
|
||||||
|
0x1c, 0x02, 0x80, 0x02, 0x6c, 0x02, 0x62, 0x02, 0x4e, 0x02, 0x58, 0x02, 0xbc, 0x02, 0xa8, 0x02, 0x9e, 0x02, 0x8a,
|
||||||
|
0x02, 0x94, 0x02, 0x02, 0x03, 0xee, 0x02, 0xe4, 0x02, 0xd0, 0x02, 0xda, 0x02, 0x48, 0x03, 0x34, 0x03, 0x2a, 0x03,
|
||||||
|
0x16, 0x03, 0x20, 0x03, 0x8e, 0x03, 0x7a, 0x03, 0x70, 0x03, 0x5c, 0x03, 0x66, 0x03, 0x14, 0xff, 0x14, 0xff, 0x14,
|
||||||
|
0xff, 0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x06, 0x00, 0x00, 0x00, 0x60, 0x00, 0x05, 0x9c, 0x02, 0xff, 0xa0, 0x02,
|
||||||
|
0xff, 0xa4, 0x02, 0xff, 0xa8, 0x02, 0xff, 0xac, 0x02, 0xff, 0x00, 0x00, 0x60, 0x00, 0x05, 0xc8, 0x02, 0xff, 0xcc,
|
||||||
|
0x02, 0xff, 0xd0, 0x02, 0xff, 0xd4, 0x02, 0xff, 0xd8, 0x02, 0xff, 0x00, 0x00, 0x60, 0x00, 0x05, 0x88, 0x03, 0xff,
|
||||||
|
0x8c, 0x03, 0xff, 0x90, 0x03, 0xff, 0x94, 0x03, 0xff, 0x98, 0x03, 0xff, 0x00, 0x00, 0x60, 0x00, 0x05, 0x9c, 0x03,
|
||||||
|
0xff, 0xa0, 0x03, 0xff, 0xa4, 0x03, 0xff, 0xa8, 0x03, 0xff, 0xac, 0x03, 0xff, 0x00, 0x00, 0x60, 0x00, 0x05, 0x80,
|
||||||
|
0x03, 0xff, 0x84, 0x03, 0xff, 0xa0, 0x06, 0xff, 0xb4, 0x02, 0xff, 0x38, 0x07, 0xff, 0x00, 0x00, 0x60, 0x00, 0x03,
|
||||||
|
0xa4, 0x06, 0xff, 0x5c, 0x06, 0xff, 0x98, 0x06, 0xff, 0x45, 0x3d, 0x34, 0x2f, 0x2e, 0x38, 0x33, 0x2d, 0x2a, 0x27,
|
||||||
|
0x88, 0x86, 0x86, 0x86, 0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4, 0x18, 0x03, 0xfa, 0x65, 0x04, 0xcc, 0x4e,
|
||||||
|
0x4a, 0x3d, 0x39, 0x37, 0x40, 0x3a, 0x33, 0x2e, 0x2d, 0x88, 0x86, 0x86, 0x86, 0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4,
|
||||||
|
0xa4, 0xf4, 0x1a, 0x03, 0xfa, 0x66, 0x04, 0xcc, 0x5f, 0x58, 0x4d, 0x47, 0x43, 0x4b, 0x45, 0x3d, 0x37, 0x35, 0x88,
|
||||||
|
0x86, 0x86, 0x86, 0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4, 0x1f, 0x03, 0xfa, 0x66, 0x04, 0xcc, 0x6d, 0x6a,
|
||||||
|
0x59, 0x53, 0x52, 0x57, 0x51, 0x47, 0x40, 0x3e, 0x88, 0x86, 0x86, 0x86, 0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4,
|
||||||
|
0xf4, 0x1f, 0x03, 0xfa, 0x66, 0x04, 0xcc, 0x80, 0x79, 0x68, 0x60, 0x5d, 0x61, 0x5a, 0x50, 0x48, 0x46, 0x88, 0x86,
|
||||||
|
0x86, 0x86, 0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4, 0x1f, 0x03, 0xfa, 0x67, 0x04, 0xcc, 0x90, 0x8a, 0x78,
|
||||||
|
0x6f, 0x6b, 0x6f, 0x65, 0x59, 0x51, 0x4f, 0x88, 0x86, 0x86, 0x86, 0x85, 0xa8, 0xa6, 0xa6, 0xa6, 0xa4, 0xa4, 0xf4,
|
||||||
|
0x1f, 0x03, 0xfa, 0x67, 0x24, 0xff, 0x02, 0x07, 0x7f, 0x00, 0x06, 0x05, 0x5c, 0x03, 0x3e, 0x03, 0x48, 0x03, 0x5c,
|
||||||
|
0x03, 0x48, 0x03, 0x98, 0x03, 0x7a, 0x03, 0x84, 0x03, 0x98, 0x03, 0x84, 0x03, 0xd4, 0x03, 0xb6, 0x03, 0xc0, 0x03,
|
||||||
|
0xd4, 0x03, 0xc0, 0x03, 0x1a, 0x04, 0xfc, 0x03, 0x06, 0x04, 0x1a, 0x04, 0x06, 0x04, 0x60, 0x04, 0x42, 0x04, 0x4c,
|
||||||
|
0x04, 0x60, 0x04, 0x4c, 0x04, 0xa6, 0x04, 0x88, 0x04, 0x92, 0x04, 0xa6, 0x04, 0x92, 0x04, 0x14, 0xff, 0x14, 0xff,
|
||||||
|
0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x01, 0x00, 0x00, 0x00, 0x60, 0x00, 0x05, 0x9c, 0x02, 0xff, 0xa0,
|
||||||
|
0x02, 0xff, 0xa4, 0x02, 0xff, 0xa8, 0x02, 0xff, 0xac, 0x02, 0xff, 0x45, 0x3d, 0x34, 0x2f, 0x2e, 0x4e, 0x4a, 0x3d,
|
||||||
|
0x39, 0x37, 0x5f, 0x58, 0x4d, 0x47, 0x43, 0x6d, 0x6a, 0x59, 0x53, 0x52, 0x80, 0x79, 0x68, 0x60, 0x5d, 0x90, 0x8a,
|
||||||
|
0x78, 0x6f, 0x6b, 0x02, 0x07, 0x7f, 0x04, 0x06, 0x05, 0x5c, 0x03, 0x3e, 0x03, 0x48, 0x03, 0x5c, 0x03, 0x48, 0x03,
|
||||||
|
0x98, 0x03, 0x7a, 0x03, 0x84, 0x03, 0x98, 0x03, 0x84, 0x03, 0xd4, 0x03, 0xb6, 0x03, 0xc0, 0x03, 0xd4, 0x03, 0xc0,
|
||||||
|
0x03, 0x1a, 0x04, 0xfc, 0x03, 0x06, 0x04, 0x1a, 0x04, 0x06, 0x04, 0x60, 0x04, 0x42, 0x04, 0x4c, 0x04, 0x60, 0x04,
|
||||||
|
0x4c, 0x04, 0xa6, 0x04, 0x88, 0x04, 0x92, 0x04, 0xa6, 0x04, 0x92, 0x04, 0x14, 0xff, 0x14, 0xff, 0x14, 0xff, 0x14,
|
||||||
|
0xff, 0x14, 0xff, 0x14, 0xff, 0x01, 0x00, 0x00, 0x00, 0x60, 0x00, 0x05, 0x9c, 0x02, 0xff, 0xa0, 0x02, 0xff, 0xa4,
|
||||||
|
0x02, 0xff, 0xa8, 0x02, 0xff, 0xac, 0x02, 0xff, 0x45, 0x3d, 0x34, 0x2f, 0x2e, 0x4e, 0x4a, 0x3d, 0x39, 0x37, 0x5f,
|
||||||
|
0x58, 0x4d, 0x47, 0x43, 0x6d, 0x6a, 0x59, 0x53, 0x52, 0x80, 0x79, 0x68, 0x60, 0x5d, 0x90, 0x8a, 0x78, 0x6f, 0x6b,
|
||||||
|
0x00, 0x07, 0x04, 0x3f, 0x00, 0x00, 0x00, 0x04, 0x07, 0x98, 0x01, 0x00, 0x32, 0x1f, 0x00, 0x00, 0x1d, 0x00, 0x00,
|
||||||
|
0x1c, 0x01, 0x00, 0x1a, 0x02, 0x00, 0x17, 0x02, 0x00, 0x15, 0x12, 0x00, 0x13, 0x55, 0x00, 0x11, 0x64, 0x00, 0x0f,
|
||||||
|
0x11, 0x00, 0x0e, 0x03, 0x00, 0x0d, 0x14, 0x00, 0x0b, 0x50, 0x00, 0x0a, 0x64, 0x00, 0x09, 0x23, 0x00, 0x08, 0x23,
|
||||||
|
0x00, 0x07, 0x03, 0x00, 0x07, 0x16, 0x00, 0x06, 0x15, 0x00, 0x05, 0x13, 0x00, 0x05, 0x16, 0x00, 0x04, 0x13, 0x00,
|
||||||
|
0x04, 0x26, 0x00, 0x04, 0x19, 0x00, 0x03, 0x05, 0x00, 0x03, 0x08, 0x00, 0x03, 0x2a, 0x00, 0x02, 0x03, 0x00, 0x02,
|
||||||
|
0x16, 0x00, 0x02, 0x09, 0x00, 0x02, 0x2b, 0x00, 0x02, 0x3d, 0x00, 0x02, 0x3f, 0x00, 0x01, 0x02, 0x00, 0x01, 0x15,
|
||||||
|
0x00, 0x01, 0x18, 0x00, 0x01, 0x3a, 0x00, 0x01, 0x1d, 0x00, 0x01, 0x1f, 0x00, 0x01, 0x8f, 0x00, 0x01, 0xef, 0x00,
|
||||||
|
0x01, 0x3f, 0x01, 0x01, 0x8f, 0x01, 0x01, 0xcf, 0x01, 0x01, 0x0f, 0x02, 0x01, 0x4f, 0x02, 0x01, 0x7f, 0x02, 0x01,
|
||||||
|
0xaf, 0x02, 0x01, 0xcf, 0x02, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x03, 0x07, 0x2a, 0x01, 0x00, 0x00, 0x00, 0x01,
|
||||||
|
0x00, 0x00, 0x00, 0x14, 0x0a, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x02, 0xfe, 0x0b, 0xe4, 0xfe,
|
||||||
|
0x1c, 0x01, 0xe4, 0xfe, 0x1c, 0x01, 0x0a, 0x02, 0xfe, 0x0b, 0xf1, 0xff, 0x0f, 0x00, 0xf1, 0xff, 0x0f, 0x00, 0x05,
|
||||||
|
0x07, 0x24, 0x00, 0x01, 0x08, 0x08, 0x0c, 0x00, 0x08, 0x01, 0x04, 0x02, 0x00, 0x03, 0xfc, 0x04, 0xf8, 0x05, 0xf4,
|
||||||
|
0x06, 0xf0, 0x07, 0x0c, 0x00, 0x08, 0x01, 0x04, 0x02, 0x00, 0x03, 0xfc, 0x04, 0xf8, 0x05, 0xf4, 0x06, 0xf0, 0x07,
|
||||||
|
0x0f, 0x03, 0x28, 0x02, 0x78, 0x14, 0x7f, 0x5a, 0x00, 0x14, 0x02, 0x14, 0x1e, 0x00, 0x02, 0x03, 0x00, 0x1e, 0xaa,
|
||||||
|
0x33, 0x19, 0x05, 0xcf, 0x00, 0x80, 0x0a, 0x92, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0xa2, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x08, 0xd0, 0x38, 0x20, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x01, 0xb8,
|
||||||
|
0x01, 0xac, 0x9b, 0x20, 0x00, 0x20, 0x15, 0x32, 0x00, 0xff, 0xff, 0xfa, 0xff, 0x01, 0x01, 0x06, 0x00, 0x28, 0x15,
|
||||||
|
0x32, 0x00, 0x00, 0x00, 0x7f, 0xfe, 0x34, 0x10, 0x20, 0x02, 0x2c, 0x09, 0x64, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x0e,
|
||||||
|
0x00, 0x00, 0x00, 0x20, 0x15, 0x32, 0x00, 0xff, 0xff, 0xfa, 0xff, 0x05, 0x01, 0x06, 0x06, 0xf8, 0x00, 0x64, 0x00,
|
||||||
|
0x51, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x78, 0x08, 0x64, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x28, 0x15, 0x32, 0x00, 0x00, 0x00, 0x7f, 0xfe, 0x34, 0x10, 0x20, 0x02, 0x2c, 0x09, 0x64, 0x00, 0x0e, 0x00,
|
||||||
|
0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x20, 0x15, 0x32, 0x00, 0xff, 0xff, 0xfa, 0xff, 0x01, 0x01, 0x06, 0x00, 0xf8,
|
||||||
|
0x00, 0x64, 0x00, 0x51, 0x00, 0x00, 0x00, 0xd3, 0x00, 0x00, 0x00, 0x78, 0x08, 0x64, 0x00, 0x02, 0x00, 0x00, 0x00,
|
||||||
|
0x02, 0x00, 0x00, 0x00, 0x28, 0x15, 0x32, 0x00, 0x00, 0x00, 0x7f, 0xfe, 0x34, 0x10, 0x20, 0x02, 0x2c, 0x09, 0x64,
|
||||||
|
0x00, 0x0e, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x07, 0x0a, 0x0d, 0x00, 0x07, 0x00, 0x0a, 0x00, 0x07, 0x0b,
|
||||||
|
0x0d, 0x00, 0x04, 0x00, 0x08, 0x00, 0x2b, 0x0b, 0x0d, 0x00, 0x00, 0x00, 0x06, 0x00, 0x03, 0x01, 0x5c, 0xc4, 0x9c,
|
||||||
|
0x20, 0x00, 0x70, 0xb5, 0x00, 0x24, 0x12, 0x4d, 0x20, 0xe0, 0x12, 0x48, 0x02, 0x19, 0x11, 0x68, 0x21, 0xf0, 0x7f,
|
||||||
|
0x40, 0x09, 0x0e, 0x0a, 0xd0, 0x01, 0x29, 0x0b, 0xd0, 0x02, 0x29, 0x09, 0xd0, 0x03, 0x29, 0x0b, 0xd0, 0x04, 0x29,
|
||||||
|
0x09, 0xd0, 0x05, 0x29, 0x0b, 0xd0, 0x0d, 0xe0, 0x51, 0x68, 0x01, 0x60, 0x0a, 0xe0, 0x51, 0x68, 0xfa, 0xf5, 0xbb,
|
||||||
|
0xfe, 0x06, 0xe0, 0x51, 0x68, 0xfa, 0xf5, 0xcb, 0xfe, 0x02, 0xe0, 0x51, 0x68, 0xfa, 0xf5, 0xd1, 0xfe, 0x08, 0x34,
|
||||||
|
0xac, 0x42, 0xdc, 0xd3, 0x70, 0xbd, 0x98, 0x00, 0x00, 0x00, 0x1c, 0x9d, 0x20, 0x00, 0x03, 0x01, 0x9c, 0x01, 0x1c,
|
||||||
|
0x9d, 0x20, 0x00, 0x14, 0x8d, 0x00, 0x04, 0x5b, 0x49, 0x1f, 0x22, 0xec, 0x12, 0x07, 0x02, 0x01, 0x02, 0x0d, 0x00,
|
||||||
|
0x79, 0x2d, 0x07, 0x01, 0xed, 0x03, 0x0d, 0x00, 0x8d, 0xb5, 0x04, 0x01, 0x19, 0x05, 0x0d, 0x00, 0xd5, 0x43, 0x04,
|
||||||
|
0x02, 0x11, 0x02, 0x0d, 0x00, 0x2d, 0x65, 0x04, 0x02, 0x19, 0x02, 0x0d, 0x00, 0xed, 0xa2, 0x04, 0x02, 0x35, 0x02,
|
||||||
|
0x0d, 0x00, 0xf1, 0x82, 0x06, 0x01, 0x1d, 0x06, 0x0d, 0x00, 0x95, 0x99, 0x06, 0x02, 0x49, 0x02, 0x0d, 0x00, 0xd1,
|
||||||
|
0x6e, 0x03, 0x02, 0x69, 0x02, 0x0d, 0x00, 0xe5, 0x75, 0x03, 0x02, 0x8b, 0x02, 0x0d, 0x00, 0x11, 0x5b, 0x02, 0x02,
|
||||||
|
0xa5, 0x02, 0x0d, 0x00, 0xb9, 0xe7, 0x00, 0x01, 0x81, 0x09, 0x0d, 0x00, 0x71, 0x20, 0x01, 0x01, 0xcd, 0x09, 0x0d,
|
||||||
|
0x00, 0xd5, 0x7f, 0x03, 0x02, 0xb9, 0x02, 0x0d, 0x00, 0x19, 0x19, 0x05, 0x01, 0x11, 0x0c, 0x0d, 0x00, 0xb1, 0xb4,
|
||||||
|
0x00, 0x02, 0xc5, 0x02, 0x0d, 0x00, 0xb5, 0xfc, 0x05, 0x02, 0xcd, 0x02, 0x0d, 0x00, 0xb9, 0x2f, 0x00, 0x02, 0xd9,
|
||||||
|
0x02, 0x0d, 0x00, 0x33, 0x01, 0x28, 0xec, 0x05, 0x0d, 0x00, 0xfb, 0x00, 0x00, 0x00, 0xf0, 0x51, 0x27, 0x79, 0x05,
|
||||||
|
0xf3, 0xad, 0xc9, 0x9e, 0x95, 0x21, 0x49, 0x46, 0x91, 0xf1, 0x4b, 0x0c, 0xf3, 0x81, 0x88, 0xb3, 0x4a, 0x37, 0xf3,
|
||||||
|
0x7a, 0xae, 0xba, 0x58, 0xe0, 0xd0, 0xe0, 0x37, 0x33, 0x01, 0x28, 0xd8, 0x09, 0x0d, 0x00, 0xfb, 0x00, 0x00, 0x00,
|
||||||
|
0x75, 0xa0, 0xe4, 0xf5, 0xa2, 0x38, 0x0e, 0x0e, 0xa1, 0x0c, 0x4e, 0x46, 0x3a, 0x2a, 0x1a, 0x33, 0xfa, 0xa6, 0x79,
|
||||||
|
0x72, 0xe5, 0xf4, 0xd1, 0xf3, 0xe3, 0xe1, 0xfb, 0x91, 0x9f, 0x12, 0x0f, 0x34, 0x33, 0x01, 0x28, 0xd4, 0x38, 0x20,
|
||||||
|
0x00, 0x04, 0x00, 0x00, 0x00, 0x39, 0x5b, 0xd0, 0x9e, 0xa6, 0xbc, 0x73, 0x55, 0x7c, 0x30, 0xf3, 0xe0, 0x4f, 0x2c,
|
||||||
|
0x82, 0xca, 0x5e, 0x7b, 0xdf, 0xc7, 0x3e, 0x23, 0xec, 0xb1, 0xd2, 0x18, 0xe7, 0xf6, 0x80, 0x0f, 0x1b, 0xbb, 0x33,
|
||||||
|
0x01, 0x28, 0xe7, 0x06, 0x0d, 0x00, 0xfb, 0x00, 0x00, 0x00, 0x92, 0x75, 0x5a, 0xa1, 0x29, 0xac, 0x61, 0xb5, 0x71,
|
||||||
|
0x8e, 0x3f, 0xf3, 0xb0, 0xd6, 0x11, 0x3e, 0x7d, 0xf6, 0x87, 0x34, 0xc4, 0x0a, 0xa3, 0x31, 0x2d, 0x72, 0x8f, 0xb9,
|
||||||
|
0x45, 0xaf, 0x8c, 0xab, 0x33, 0x01, 0x28, 0xf1, 0x04, 0x0d, 0x00, 0xfb, 0x00, 0x00, 0x00, 0xd8, 0xf9, 0x29, 0x36,
|
||||||
|
0x16, 0xeb, 0x48, 0x9d, 0x58, 0x51, 0xce, 0xbd, 0x2b, 0x42, 0x74, 0x02, 0xfe, 0x62, 0x7d, 0xfe, 0x04, 0x46, 0x8d,
|
||||||
|
0x7c, 0x59, 0x9b, 0xd5, 0xbc, 0x35, 0x5b, 0x0b, 0x0a, 0x33, 0x01, 0x28, 0xdd, 0x08, 0x0d, 0x00, 0xfb, 0x00, 0x00,
|
||||||
|
0x00, 0x7f, 0xbf, 0xbe, 0xe3, 0x5c, 0x8f, 0xd5, 0x66, 0xa2, 0x17, 0x80, 0xa4, 0x35, 0x1a, 0x04, 0xb2, 0x80, 0xbd,
|
||||||
|
0xda, 0x72, 0x5e, 0xff, 0x68, 0x68, 0xd7, 0x45, 0xf3, 0x14, 0xf4, 0x0d, 0x7b, 0xab, 0x33, 0x01, 0x28, 0xfb, 0x02,
|
||||||
|
0x0d, 0x00, 0xfb, 0x00, 0x00, 0x00, 0x96, 0x0b, 0xfc, 0x2b, 0xc2, 0xaf, 0x3b, 0xa0, 0x85, 0x51, 0x68, 0xfc, 0xb1,
|
||||||
|
0xc2, 0x11, 0x29, 0x0a, 0xd5, 0x8d, 0x3b, 0xb2, 0x97, 0x3e, 0xc5, 0x06, 0x3f, 0xc6, 0xc1, 0xb0, 0xd4, 0xae, 0x2b,
|
||||||
|
0x33, 0x01, 0x28, 0xf6, 0x03, 0x0d, 0x00, 0xfb, 0x00, 0x00, 0x00, 0x32, 0xf8, 0xe5, 0x50, 0x49, 0x57, 0xf7, 0x31,
|
||||||
|
0x4a, 0x66, 0x06, 0xf5, 0x93, 0x29, 0x96, 0x5e, 0x3e, 0x63, 0x1f, 0x49, 0xe3, 0x00, 0xe0, 0x14, 0xfd, 0xe6, 0x75,
|
||||||
|
0xf2, 0x60, 0x73, 0x15, 0xa7, 0x33, 0x01, 0x28, 0xc9, 0x0c, 0x0d, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x54, 0xe1, 0x87,
|
||||||
|
0x64, 0x1b, 0x57, 0xae, 0x79, 0x2a, 0x8b, 0x78, 0x49, 0x11, 0xea, 0x5a, 0x65, 0x22, 0x77, 0xcd, 0xd1, 0xf8, 0xc9,
|
||||||
|
0x26, 0x89, 0xa6, 0x72, 0x47, 0x97, 0xbc, 0x01, 0x3a, 0x84, 0x33, 0x01, 0x28, 0xd3, 0x0a, 0x0d, 0x00, 0xfb, 0x00,
|
||||||
|
0x00, 0x00, 0x25, 0xd5, 0xcc, 0x2e, 0x8c, 0x15, 0x52, 0x18, 0xd9, 0x28, 0x48, 0xc4, 0x7c, 0x13, 0x37, 0xc9, 0xce,
|
||||||
|
0xb9, 0x48, 0xce, 0xa1, 0x13, 0x91, 0xb8, 0x2c, 0x48, 0xf4, 0x3f, 0x1c, 0xa5, 0xc7, 0x6a, 0x33, 0x01, 0x28, 0xe2,
|
||||||
|
0x07, 0x0d, 0x00, 0xfb, 0x00, 0x00, 0x00, 0xd2, 0x1f, 0xc7, 0xc1, 0xc8, 0xb0, 0xec, 0x89, 0x53, 0xf4, 0x00, 0xb0,
|
||||||
|
0x2d, 0xb3, 0xde, 0x20, 0xec, 0x00, 0xb0, 0x5d, 0x31, 0x2d, 0xf2, 0x44, 0x60, 0x60, 0xbc, 0xb9, 0xcc, 0x56, 0x28,
|
||||||
|
0xda, 0x33, 0x01, 0x28, 0xce, 0x0b, 0x0d, 0x00, 0xfb, 0x00, 0x00, 0x00, 0x55, 0xd8, 0x9d, 0x78, 0x0d, 0x01, 0xf7,
|
||||||
|
0xb8, 0x06, 0x17, 0xfb, 0x48, 0x10, 0x73, 0x1d, 0x3c, 0x11, 0x4e, 0xca, 0x7c, 0x1b, 0xf2, 0x6e, 0x7b, 0x19, 0xd2,
|
||||||
|
0xac, 0x2b, 0x82, 0x6e, 0xdf, 0xdb, 0x33, 0x01, 0x28, 0x00, 0x02, 0x0d, 0x00, 0xfb, 0x00, 0x00, 0x00, 0xdb, 0xf7,
|
||||||
|
0xd4, 0x05, 0xa2, 0x6d, 0xbb, 0xe6, 0x77, 0x99, 0xe8, 0x3c, 0x47, 0x5d, 0xa0, 0x92, 0xec, 0x5c, 0x79, 0x14, 0xc9,
|
||||||
|
0x00, 0x63, 0x39, 0x0f, 0x7d, 0xce, 0x70, 0xe6, 0x72, 0xae, 0x32, 0x33, 0x01, 0x28, 0x64, 0x41, 0x20, 0x00, 0x04,
|
||||||
|
0x00, 0x00, 0x00, 0x7e, 0x38, 0x53, 0x55, 0x65, 0x0e, 0x34, 0x52, 0x01, 0x7e, 0x2a, 0x8e, 0xe6, 0x00, 0x92, 0x2f,
|
||||||
|
0x38, 0xde, 0x3a, 0xbc, 0x00, 0x96, 0xc7, 0x41, 0x4a, 0x04, 0x81, 0x57, 0x9a, 0x22, 0xa5, 0xee, 0x06, 0x01, 0x04,
|
||||||
|
0x21, 0x03, 0x0d, 0x00, 0x13, 0x01, 0x01, 0x09, 0xfe, 0x00, 0x00, 0x91, 0xa9, 0x9e, 0xe2, 0xeb, 0x29, 0x32, 0xb3,
|
||||||
|
0xeb, 0x6d, 0x6e, 0x60, 0x43, 0x73, 0xd1, 0xa8, 0x43, 0xda, 0x86, 0x44, 0x03, 0x3e, 0x85, 0x4a, 0x6f, 0xbf, 0x8c,
|
||||||
|
0x0e, 0xcf, 0xbc, 0x23, 0xe5, 0xb7, 0x93, 0xbe, 0x83, 0x4f, 0x7b, 0xd9, 0x81, 0x65, 0x74, 0xdc, 0xfa, 0x97, 0x51,
|
||||||
|
0x30, 0x45, 0x91, 0xde, 0xc2, 0xee, 0xd2, 0x0f, 0xd0, 0xfe, 0x98, 0x74, 0xe9, 0xaf, 0x85, 0x69, 0xce, 0x0c, 0x4a,
|
||||||
|
0xf7, 0xf1, 0xff, 0x20, 0x46, 0x00, 0xf0, 0xdf, 0xf8, 0xa1, 0xf7, 0x67, 0xb8, 0x00, 0x00, 0xbd, 0xe8, 0x10, 0x40,
|
||||||
|
0x00, 0xf0, 0xa2, 0xb9, 0x10, 0x28, 0x09, 0xd8, 0x04, 0xf1, 0x0c, 0x00, 0x00, 0xf0, 0xe4, 0xf9, 0x20, 0xb1, 0x94,
|
||||||
|
0xf8, 0xe0, 0x00, 0x01, 0x21, 0x76, 0xf7, 0x86, 0xb9, 0x76, 0xf7, 0x7e, 0xb9, 0xc0, 0xb2, 0x8d, 0xf8, 0x03, 0x01,
|
||||||
|
0x25, 0x28, 0x3a, 0xf6, 0x82, 0xa0, 0x0a, 0x30, 0x7a, 0xf7, 0x57, 0xb8, 0x00, 0x00, 0x08, 0xd0, 0x20, 0x46, 0x00,
|
||||||
|
0xf0, 0x0e, 0xfb, 0x00, 0x28, 0x05, 0xd0, 0x03, 0x4d, 0x00, 0xbf, 0x99, 0xf7, 0x9e, 0xbb, 0x99, 0xf7, 0xea, 0xbb,
|
||||||
|
0x99, 0xf7, 0xe3, 0xbb, 0xb8, 0x58, 0x20, 0x00, 0x81, 0x43, 0x0a, 0xd1, 0x03, 0xb4, 0x30, 0x46, 0x49, 0x46, 0x22,
|
||||||
|
0x46, 0x00, 0xf0, 0x0a, 0xfb, 0x00, 0x28, 0x03, 0xbc, 0x03, 0xd0, 0x66, 0xf7, 0x98, 0xbe, 0x66, 0xf7, 0x27, 0xbe,
|
||||||
|
0x66, 0xf7, 0x83, 0xbe, 0x28, 0x46, 0x31, 0x46, 0x00, 0xf0, 0x1e, 0xfb, 0x18, 0xb1, 0x02, 0x48, 0xc0, 0x7c, 0x67,
|
||||||
|
0xf7, 0xa6, 0xb9, 0x67, 0xf7, 0xb7, 0xb9, 0x60, 0x44, 0x20, 0x00, 0x34, 0xb1, 0x00, 0xf0, 0x43, 0xfb, 0x18, 0xb1,
|
||||||
|
0x97, 0xf8, 0xcb, 0x10, 0x55, 0xf7, 0x31, 0xbc, 0x55, 0xf7, 0x35, 0xbc, 0x00, 0x20, 0x02, 0x90, 0xa8, 0x68, 0x00,
|
||||||
|
0x90, 0x67, 0xf7, 0x8a, 0xbe, 0xbd, 0xe8, 0x70, 0x40, 0x00, 0xf0, 0xbc, 0xbc, 0x06, 0x46, 0xe8, 0x19, 0x14, 0xf1,
|
||||||
|
0x08, 0x02, 0x8f, 0xf7, 0xf1, 0xbc, 0x08, 0x60, 0x00, 0xf0, 0xf5, 0xfc, 0xbd, 0xe8, 0x10, 0x40, 0x35, 0xf7, 0x8b,
|
||||||
|
0xbb, 0x00, 0x00, 0x01, 0x28, 0x02, 0xd0, 0x04, 0x28, 0x12, 0xd0, 0x14, 0xe0, 0x15, 0x48, 0x13, 0x49, 0x00, 0x68,
|
||||||
|
0x40, 0xf8, 0x0c, 0x1f, 0x24, 0x31, 0x41, 0x60, 0x3c, 0x31, 0x81, 0x60, 0x09, 0x21, 0x01, 0x75, 0x0f, 0x21, 0x41,
|
||||||
|
0x75, 0x81, 0x75, 0x41, 0xf2, 0x88, 0x30, 0x0e, 0x49, 0x01, 0xe0, 0x0e, 0x48, 0x0e, 0x49, 0x08, 0x60, 0x00, 0x20,
|
||||||
|
0x70, 0x47, 0x10, 0xb5, 0x0d, 0x48, 0x0d, 0x49, 0xb1, 0xf7, 0x20, 0xff, 0x0e, 0x49, 0x0c, 0x48, 0x08, 0x60, 0x39,
|
||||||
|
0xf1, 0xc8, 0xfc, 0xaf, 0xf2, 0x4f, 0x00, 0x0b, 0x49, 0x08, 0x60, 0x0b, 0x49, 0x0a, 0x20, 0x08, 0x70, 0x10, 0xbd,
|
||||||
|
0xac, 0x9b, 0x20, 0x00, 0x20, 0x22, 0x20, 0x00, 0x48, 0x1f, 0x20, 0x00, 0x71, 0x03, 0x0d, 0x00, 0x34, 0x3a, 0x20,
|
||||||
|
0x00, 0x60, 0x9c, 0x20, 0x00, 0x64, 0x00, 0x00, 0x00, 0xb4, 0x9d, 0x20, 0x00, 0x64, 0x05, 0x20, 0x00, 0x94, 0x3c,
|
||||||
|
0x20, 0x00, 0x25, 0x2b, 0x20, 0x00, 0x30, 0xb4, 0x00, 0x24, 0x0c, 0x60, 0x05, 0x2b, 0x1e, 0xdd, 0x06, 0x2b, 0x1c,
|
||||||
|
0xd0, 0x08, 0x2b, 0x1a, 0xd0, 0x3f, 0x2b, 0x18, 0xd1, 0x0f, 0x4c, 0x19, 0x2a, 0x06, 0xd0, 0x1a, 0x2a, 0x08, 0xd0,
|
||||||
|
0xa2, 0xf5, 0x80, 0x75, 0x8b, 0x3d, 0x0f, 0xd1, 0x07, 0xe0, 0x25, 0x68, 0x0d, 0x60, 0x64, 0x68, 0x06, 0xe0, 0xa5,
|
||||||
|
0x68, 0x0d, 0x60, 0xe4, 0x68, 0x02, 0xe0, 0x25, 0x69, 0x0d, 0x60, 0x64, 0x69, 0x4c, 0x60, 0x0c, 0x68, 0x00, 0x2c,
|
||||||
|
0x02, 0xd1, 0x30, 0xbc, 0x9c, 0xf7, 0x64, 0xbe, 0x30, 0xbc, 0x70, 0x47, 0x00, 0x00, 0x48, 0x9c, 0x20, 0x00, 0x38,
|
||||||
|
0xb5, 0x04, 0x46, 0xc0, 0x69, 0x00, 0x22, 0x41, 0x79, 0x00, 0x79, 0x74, 0xf7, 0x7f, 0xf8, 0x00, 0x21, 0x00, 0x91,
|
||||||
|
0xe1, 0x69, 0x00, 0x23, 0x0a, 0x68, 0x01, 0x46, 0x18, 0x46, 0x74, 0xf7, 0x74, 0xfd, 0x38, 0xbd, 0x2d, 0xe9, 0xf0,
|
||||||
|
0x41, 0x06, 0x46, 0x7d, 0xf7, 0xf0, 0xfa, 0x04, 0x00, 0x7d, 0xd0, 0x94, 0xf8, 0x3c, 0x00, 0xc0, 0x07, 0x7e, 0xd0,
|
||||||
|
0x40, 0x48, 0x00, 0x68, 0x80, 0x02, 0x1a, 0xd5, 0x04, 0xf1, 0x5c, 0x00, 0x94, 0xf8, 0x62, 0x10, 0x00, 0x22, 0x05,
|
||||||
|
0x46, 0xa6, 0xf7, 0x9d, 0xf8, 0xff, 0x28, 0x03, 0xd0, 0x00, 0x21, 0xa6, 0xf7, 0x72, 0xf8, 0x0c, 0xe0, 0x94, 0xf8,
|
||||||
|
0x62, 0x10, 0x28, 0x46, 0x74, 0xf7, 0x45, 0xfa, 0x30, 0xb1, 0x28, 0x46, 0x80, 0xf7, 0x8d, 0xfa, 0x10, 0xb1, 0xc0,
|
||||||
|
0x79, 0xff, 0x28, 0xee, 0xd1, 0x94, 0xf8, 0x62, 0x10, 0x22, 0x46, 0x04, 0xf1, 0x5c, 0x00, 0x7d, 0xf7, 0x0d, 0xfb,
|
||||||
|
0x05, 0x00, 0x0e, 0xd0, 0x68, 0x8f, 0x60, 0xb1, 0x34, 0xf7, 0xca, 0xf8, 0x07, 0x46, 0x15, 0xf8, 0xe2, 0x0f, 0x78,
|
||||||
|
0xf7, 0x37, 0xfb, 0x38, 0x46, 0x34, 0xf7, 0xc6, 0xf8, 0x28, 0x78, 0xa2, 0xf7, 0xa2, 0xfb, 0x30, 0x46, 0x7d, 0xf7,
|
||||||
|
0xd0, 0xfc, 0x30, 0x46, 0xa1, 0xf7, 0x31, 0xfa, 0x01, 0x20, 0x60, 0x87, 0x21, 0x48, 0x00, 0x78, 0x28, 0xb1, 0x4f,
|
||||||
|
0xf4, 0x46, 0x10, 0xc1, 0x69, 0x41, 0xf0, 0x80, 0x51, 0xc1, 0x61, 0x20, 0x46, 0x76, 0xf7, 0xf7, 0xfe, 0x1c, 0x48,
|
||||||
|
0x44, 0xf2, 0x10, 0x01, 0x00, 0x68, 0x08, 0x42, 0x26, 0xd1, 0x94, 0xf8, 0xe1, 0x00, 0x38, 0xb1, 0x30, 0x46, 0x7b,
|
||||||
|
0xf7, 0x29, 0xf9, 0x38, 0xb1, 0x00, 0x21, 0x7b, 0xf7, 0xd9, 0xf9, 0x07, 0xe0, 0x00, 0x20, 0xa2, 0xf7, 0x28, 0xfe,
|
||||||
|
0x03, 0xe0, 0x20, 0x21, 0x04, 0x20, 0x3f, 0xf7, 0x5a, 0xfe, 0x00, 0x21, 0x30, 0x46, 0xa2, 0xf7, 0xf4, 0xf8, 0x94,
|
||||||
|
0xf8, 0xe1, 0x00, 0x01, 0x28, 0x0b, 0xd1, 0x0d, 0x48, 0x00, 0x78, 0x01, 0x28, 0x07, 0xd1, 0x0c, 0x48, 0x00, 0x78,
|
||||||
|
0x01, 0x28, 0x03, 0xd1, 0x00, 0x21, 0x30, 0x46, 0x72, 0xf7, 0xb2, 0xf9, 0x20, 0x46, 0x00, 0xe0, 0x03, 0xe0, 0xbd,
|
||||||
|
0xe8, 0xf0, 0x41, 0xa2, 0xf7, 0x38, 0xbb, 0xbd, 0xe8, 0xf0, 0x81, 0xfc, 0x2f, 0x20, 0x00, 0x9f, 0x2f, 0x20, 0x00,
|
||||||
|
0x48, 0x31, 0x20, 0x00, 0x2c, 0x30, 0x20, 0x00, 0x34, 0x30, 0x20, 0x00, 0x10, 0xb5, 0x0f, 0x4c, 0x20, 0x68, 0x7b,
|
||||||
|
0xf7, 0x33, 0xf8, 0x02, 0x28, 0x11, 0xd0, 0x20, 0x68, 0x7b, 0xf7, 0x2e, 0xf8, 0x03, 0x28, 0x0c, 0xd0, 0x00, 0x20,
|
||||||
|
0x21, 0x68, 0x48, 0x61, 0x4f, 0xf4, 0x46, 0x10, 0xc1, 0x69, 0x21, 0xf0, 0x80, 0x51, 0xc1, 0x61, 0xbd, 0xe8, 0x10,
|
||||||
|
0x40, 0x75, 0xf7, 0x6a, 0xba, 0x21, 0x68, 0x88, 0x7b, 0x08, 0x31, 0x80, 0xf7, 0x3c, 0xfa, 0xed, 0xe7, 0x00, 0x00,
|
||||||
|
0x30, 0x30, 0x20, 0x00, 0x10, 0xb5, 0x3a, 0xf7, 0xa6, 0xff, 0x1d, 0x48, 0x4f, 0xf4, 0x46, 0x14, 0x00, 0x68, 0xc4,
|
||||||
|
0xf8, 0xa0, 0x00, 0x1b, 0x48, 0x00, 0x68, 0xc4, 0xf8, 0x94, 0x03, 0x1a, 0x48, 0x1a, 0x49, 0x00, 0x68, 0x08, 0x60,
|
||||||
|
0x09, 0x1f, 0x40, 0xf2, 0xad, 0x20, 0x08, 0x60, 0xe0, 0x69, 0x40, 0xf4, 0x00, 0x40, 0xe0, 0x61, 0xe0, 0x69, 0x20,
|
||||||
|
0xf0, 0x80, 0x50, 0xe0, 0x61, 0xe0, 0x69, 0x20, 0xf0, 0x01, 0x00, 0xe0, 0x61, 0x11, 0x49, 0x11, 0x48, 0x09, 0x1d,
|
||||||
|
0x08, 0x60, 0x9f, 0xf7, 0x0b, 0xfc, 0xa0, 0xf7, 0x39, 0xfd, 0x75, 0xf7, 0xfd, 0xfa, 0x9e, 0xf7, 0x45, 0xfe, 0x76,
|
||||||
|
0xf7, 0x34, 0xfd, 0xd4, 0xf8, 0x40, 0x03, 0x40, 0xf0, 0x20, 0x00, 0xc4, 0xf8, 0x40, 0x03, 0xa0, 0xf7, 0x0b, 0xfe,
|
||||||
|
0x76, 0xf7, 0x33, 0xfc, 0xbd, 0xe8, 0x10, 0x40, 0x3a, 0xf7, 0x04, 0xbe, 0x00, 0x00, 0xec, 0x35, 0x20, 0x00, 0xf0,
|
||||||
|
0x35, 0x20, 0x00, 0x04, 0x1f, 0x20, 0x00, 0xc0, 0x8b, 0x31, 0x00, 0x10, 0x32, 0x54, 0x76, 0x7c, 0xb5, 0x01, 0x68,
|
||||||
|
0x00, 0x91, 0x00, 0x79, 0x00, 0x25, 0x20, 0xf0, 0xe0, 0x00, 0x8d, 0xf8, 0x04, 0x00, 0x2c, 0x46, 0x6e, 0x46, 0x30,
|
||||||
|
0x5d, 0x46, 0xf7, 0x59, 0xfd, 0x05, 0x44, 0x02, 0x2d, 0x01, 0xd3, 0x01, 0x20, 0x7c, 0xbd, 0x64, 0x1c, 0x05, 0x2c,
|
||||||
|
0xf4, 0xd3, 0x00, 0x20, 0x7c, 0xbd, 0x2d, 0xe9, 0xf0, 0x5f, 0x04, 0x46, 0x4f, 0xf0, 0x00, 0x0b, 0x97, 0xf7, 0x88,
|
||||||
|
0xfa, 0x50, 0xb1, 0x17, 0x21, 0x20, 0x46, 0x93, 0xf7, 0x38, 0xf8, 0x20, 0x46, 0xbd, 0xe8, 0xf0, 0x5f, 0x02, 0x22,
|
||||||
|
0x00, 0x21, 0x58, 0xf7, 0x66, 0xbf, 0x20, 0x46, 0x3f, 0xf7, 0xee, 0xfb, 0x09, 0x26, 0x8f, 0x4d, 0x00, 0x28, 0x7d,
|
||||||
|
0xd0, 0x69, 0x68, 0xa0, 0x8b, 0x0a, 0x7b, 0xc0, 0xf3, 0xc0, 0x30, 0x02, 0xf0, 0x01, 0x02, 0x90, 0x42, 0x07, 0xd0,
|
||||||
|
0x94, 0xf8, 0xa5, 0x00, 0x09, 0x28, 0x03, 0xd1, 0x94, 0xf8, 0xa3, 0x00, 0xc0, 0x07, 0x66, 0xd0, 0x10, 0x22, 0x04,
|
||||||
|
0xf5, 0x80, 0x70, 0x0d, 0x31, 0xb1, 0xf7, 0x78, 0xfc, 0x94, 0xf8, 0xa5, 0x00, 0x1a, 0x27, 0x4f, 0xf0, 0x1d, 0x08,
|
||||||
|
0x1c, 0x28, 0x11, 0xd0, 0x94, 0xf8, 0xa4, 0x00, 0x4f, 0xf0, 0x17, 0x0a, 0x4f, 0xf0, 0x18, 0x09, 0x98, 0xb1, 0x02,
|
||||||
|
0x28, 0x0c, 0xd0, 0x01, 0x28, 0x0f, 0xd0, 0x05, 0x28, 0x08, 0xd0, 0x06, 0x28, 0x06, 0xd0, 0x1b, 0x28, 0x38, 0xd0,
|
||||||
|
0xb4, 0xe0, 0x20, 0x68, 0x58, 0xf7, 0xf6, 0xfb, 0x0a, 0xe0, 0x68, 0x68, 0x00, 0x7b, 0x00, 0xf0, 0x01, 0x02, 0x95,
|
||||||
|
0xe0, 0x94, 0xf8, 0xa3, 0x10, 0xc9, 0x07, 0x0e, 0xd0, 0x1b, 0x28, 0x14, 0xd0, 0x68, 0x68, 0x00, 0x7b, 0x00, 0xf0,
|
||||||
|
0x01, 0x01, 0x20, 0x46, 0x97, 0xf7, 0x02, 0xfa, 0xa0, 0x8b, 0x00, 0x04, 0x1b, 0xd4, 0x84, 0xf8, 0xa5, 0x70, 0x98,
|
||||||
|
0xe0, 0x01, 0x28, 0x02, 0xd0, 0x20, 0x46, 0x71, 0xf7, 0x40, 0xf9, 0x84, 0xf8, 0xa5, 0x60, 0x90, 0xe0, 0xa0, 0x8b,
|
||||||
|
0x00, 0x04, 0x0a, 0xd5, 0x68, 0x68, 0x00, 0x21, 0x00, 0x7b, 0x00, 0xf0, 0x01, 0x02, 0x20, 0x46, 0x97, 0xf7, 0xc7,
|
||||||
|
0xfa, 0x84, 0xf8, 0xa4, 0xa0, 0x82, 0xe0, 0x84, 0xf8, 0xa4, 0x90, 0x7f, 0xe0, 0x84, 0xf8, 0xa5, 0x80, 0x7c, 0xe0,
|
||||||
|
0x20, 0x68, 0x58, 0xf7, 0xbe, 0xfb, 0xa0, 0x8b, 0x00, 0x04, 0x0c, 0xd5, 0x68, 0x68, 0x00, 0x21, 0x00, 0x7b, 0x00,
|
||||||
|
0xf0, 0x01, 0x02, 0x20, 0x46, 0x97, 0xf7, 0xb0, 0xfa, 0x84, 0xf8, 0xa4, 0xa0, 0xbd, 0xe8, 0xf0, 0x9f, 0x02, 0xe0,
|
||||||
|
0x84, 0xf8, 0xa4, 0x90, 0xf9, 0xe7, 0x69, 0x68, 0xe3, 0x69, 0x04, 0xf1, 0x78, 0x07, 0x0a, 0x7b, 0xc3, 0xf3, 0xc0,
|
||||||
|
0x30, 0x02, 0xf0, 0x01, 0x02, 0x90, 0x42, 0x0b, 0xd0, 0x94, 0xf8, 0xa4, 0x00, 0x01, 0x28, 0x03, 0xd1, 0x94, 0xf8,
|
||||||
|
0xa3, 0x00, 0xc0, 0x07, 0x08, 0xd0, 0x94, 0xf8, 0xa5, 0x00, 0x09, 0x28, 0x0c, 0xd0, 0x94, 0xf8, 0xa5, 0x00, 0x0c,
|
||||||
|
0x28, 0x1e, 0xd0, 0x0b, 0xe0, 0x10, 0x22, 0x38, 0x46, 0x0d, 0x31, 0xb1, 0xf7, 0xf0, 0xfb, 0x84, 0xf8, 0xa5, 0x60,
|
||||||
|
0xd5, 0xe7, 0x94, 0xf8, 0xa3, 0x00, 0xc0, 0x07, 0xd1, 0xd0, 0x94, 0xf8, 0xa4, 0x00, 0x60, 0xb3, 0x02, 0x28, 0x23,
|
||||||
|
0xd0, 0x01, 0x28, 0x28, 0xd0, 0x04, 0x28, 0x26, 0xd0, 0x03, 0x28, 0x24, 0xd0, 0x05, 0x28, 0x1b, 0xd0, 0x06, 0x28,
|
||||||
|
0x19, 0xd0, 0x07, 0x28, 0x49, 0xd0, 0x2c, 0xe0, 0x20, 0x68, 0x58, 0xf7, 0x6e, 0xfb, 0xa0, 0x8b, 0x69, 0x68, 0x40,
|
||||||
|
0xf3, 0xc0, 0x32, 0x20, 0x46, 0x0d, 0x31, 0x52, 0x1c, 0x97, 0xf7, 0x62, 0xfa, 0xa0, 0x8b, 0x40, 0xf3, 0xc0, 0x31,
|
||||||
|
0x20, 0x46, 0x49, 0x1c, 0x97, 0xf7, 0x7d, 0xf9, 0x0d, 0x20, 0x84, 0xf8, 0xa5, 0x00, 0x15, 0xe0, 0x20, 0x46, 0xbd,
|
||||||
|
0xe8, 0xf0, 0x5f, 0x06, 0x23, 0x0b, 0x21, 0x56, 0xf7, 0x89, 0xba, 0x94, 0xf8, 0xa3, 0x20, 0xd2, 0x07, 0x1a, 0xd0,
|
||||||
|
0x43, 0xf3, 0xc0, 0x32, 0x20, 0x46, 0x0d, 0x31, 0x52, 0x1c, 0x97, 0xf7, 0x45, 0xfa, 0x00, 0x21, 0x20, 0x46, 0x97,
|
||||||
|
0xf7, 0xf4, 0xf9, 0x69, 0x68, 0xa0, 0x8b, 0x09, 0x7b, 0xc0, 0xf3, 0xc0, 0x30, 0x01, 0xf0, 0x01, 0x01, 0x48, 0x40,
|
||||||
|
0x80, 0xf0, 0x01, 0x02, 0x59, 0x46, 0x20, 0x46, 0xbd, 0xe8, 0xf0, 0x5f, 0x97, 0xf7, 0x0b, 0xb9, 0x01, 0x28, 0x02,
|
||||||
|
0xd0, 0x20, 0x46, 0x71, 0xf7, 0x97, 0xf8, 0x69, 0x68, 0x10, 0x22, 0x38, 0x46, 0x0d, 0x31, 0xb1, 0xf7, 0x8f, 0xfb,
|
||||||
|
0x4f, 0xe7, 0x20, 0x68, 0x58, 0xf7, 0x25, 0xfb, 0xa0, 0x8b, 0x69, 0x68, 0xc0, 0xf3, 0xc0, 0x32, 0x20, 0x46, 0xbd,
|
||||||
|
0xe8, 0xf0, 0x5f, 0x0d, 0x31, 0x97, 0xf7, 0x18, 0xba, 0x10, 0xb5, 0x90, 0xf8, 0x57, 0x10, 0x4a, 0x07, 0x01, 0xd5,
|
||||||
|
0x09, 0x07, 0x03, 0xd4, 0x00, 0xf0, 0x71, 0xf8, 0x00, 0x20, 0x10, 0xbd, 0x01, 0x20, 0x10, 0xbd, 0x00, 0x00, 0xb8,
|
||||||
|
0x58, 0x20, 0x00, 0x30, 0xb5, 0x11, 0xf8, 0x04, 0x4f, 0x00, 0x23, 0x7f, 0x25, 0xb5, 0xeb, 0x54, 0x0f, 0x02, 0xd1,
|
||||||
|
0x49, 0x78, 0x01, 0x23, 0x00, 0xe0, 0x61, 0x08, 0x12, 0x78, 0x00, 0x7f, 0x02, 0xf0, 0x07, 0x04, 0x00, 0xf0, 0x07,
|
||||||
|
0x00, 0x84, 0x42, 0x03, 0xd1, 0x05, 0x29, 0x08, 0xd1, 0x3b, 0xb1, 0x02, 0xe0, 0x1b, 0xb1, 0x05, 0x29, 0x01, 0xd1,
|
||||||
|
0x50, 0x07, 0x01, 0xd0, 0x01, 0x20, 0x30, 0xbd, 0x00, 0x20, 0x30, 0xbd, 0x70, 0xb5, 0x04, 0x46, 0x80, 0x78, 0x0d,
|
||||||
|
0x46, 0xc0, 0x43, 0x80, 0x07, 0x03, 0xd1, 0x20, 0x20, 0x47, 0xf7, 0x0b, 0xfa, 0x08, 0xb1, 0x01, 0x20, 0x70, 0xbd,
|
||||||
|
0x60, 0x7a, 0x20, 0xf0, 0x01, 0x00, 0x60, 0x72, 0x28, 0x46, 0x50, 0xf7, 0x72, 0xfc, 0x00, 0x20, 0x70, 0xbd, 0x2d,
|
||||||
|
0xe9, 0xf0, 0x41, 0x00, 0x26, 0x35, 0x46, 0x28, 0x46, 0x3f, 0xf7, 0x31, 0xfa, 0x04, 0x00, 0x0a, 0xd0, 0x04, 0xf1,
|
||||||
|
0x0c, 0x00, 0xab, 0xf7, 0xac, 0xf8, 0x07, 0x46, 0x04, 0xf1, 0x08, 0x00, 0xab, 0xf7, 0xa7, 0xf8, 0x38, 0x44, 0x06,
|
||||||
|
0x44, 0x6d, 0x1c, 0xed, 0xb2, 0x0d, 0x2d, 0xeb, 0xd3, 0x30, 0x46, 0xbd, 0xe8, 0xf0, 0x81, 0x10, 0xb5, 0xff, 0xf7,
|
||||||
|
0xe2, 0xff, 0x04, 0x46, 0x20, 0x20, 0x47, 0xf7, 0xdd, 0xf9, 0x08, 0xb1, 0x0a, 0x2c, 0x09, 0xd9, 0x05, 0x4c, 0xe0,
|
||||||
|
0x7a, 0x3f, 0xf7, 0x43, 0xf9, 0x3f, 0xf7, 0x6e, 0xf9, 0xff, 0x20, 0xe0, 0x72, 0x00, 0x20, 0x10, 0xbd, 0x01, 0x20,
|
||||||
|
0x10, 0xbd, 0xb8, 0x56, 0x20, 0x00, 0x06, 0x49, 0x4b, 0x68, 0x1a, 0x7b, 0x51, 0x08, 0x7f, 0x29, 0x02, 0xd1, 0x59,
|
||||||
|
0x7b, 0x41, 0xf0, 0x80, 0x01, 0x02, 0xf0, 0x01, 0x02, 0x24, 0x23, 0x56, 0xf7, 0xc9, 0xb9, 0xb8, 0x58, 0x20, 0x00,
|
||||||
|
0x7f, 0xb5, 0x06, 0x46, 0x01, 0x46, 0x00, 0x20, 0x8d, 0xf7, 0x15, 0xf8, 0x0d, 0x4d, 0x04, 0x46, 0x95, 0xf9, 0x00,
|
||||||
|
0x00, 0x03, 0x28, 0x11, 0xdc, 0x0b, 0x48, 0x08, 0x21, 0x80, 0x6a, 0x01, 0xeb, 0x80, 0x00, 0x47, 0xf7, 0xa9, 0xf9,
|
||||||
|
0x48, 0xb1, 0x28, 0x78, 0x40, 0x1c, 0x28, 0x70, 0x0c, 0x20, 0xad, 0xf8, 0x00, 0x00, 0x68, 0x46, 0x01, 0x96, 0x55,
|
||||||
|
0xf7, 0xa6, 0xfd, 0x94, 0xf9, 0x20, 0x00, 0x04, 0xb0, 0x70, 0xbd, 0xf0, 0x2f, 0x20, 0x00, 0x60, 0x58, 0x20, 0x00,
|
||||||
|
0x10, 0xb5, 0x14, 0x46, 0x0c, 0x30, 0x31, 0xf7, 0x9e, 0xfa, 0x4f, 0xf4, 0x46, 0x10, 0xd0, 0xf8, 0x04, 0x03, 0x4f,
|
||||||
|
0xf4, 0xc0, 0x01, 0xc1, 0xf8, 0x0c, 0x01, 0x00, 0x20, 0x60, 0x71, 0x10, 0xbd, 0x70, 0xb5, 0x05, 0x46, 0x00, 0x24,
|
||||||
|
0x38, 0xf7, 0xed, 0xfa, 0x00, 0xb1, 0x80, 0x24, 0x44, 0xea, 0x05, 0x00, 0xbd, 0xe8, 0x70, 0x40, 0x00, 0xf0, 0xf7,
|
||||||
|
0xb8, 0x2d, 0xe9, 0xf0, 0x5f, 0xb0, 0xf8, 0x0d, 0x40, 0x4f, 0xf0, 0x00, 0x0a, 0x06, 0x7b, 0xc7, 0x7b, 0x15, 0x46,
|
||||||
|
0x04, 0xf0, 0x01, 0x09, 0xc4, 0xf3, 0x00, 0x2b, 0x51, 0x46, 0x50, 0x46, 0x4f, 0xf4, 0x00, 0x73, 0x03, 0xfa, 0x00,
|
||||||
|
0xf2, 0x98, 0x46, 0x22, 0x42, 0x01, 0xd0, 0x49, 0x1c, 0xc9, 0xb2, 0x40, 0x1c, 0xc0, 0xb2, 0x05, 0x28, 0xf4, 0xd3,
|
||||||
|
0x2c, 0x81, 0xae, 0x71, 0xef, 0x71, 0xa0, 0x07, 0x01, 0xd5, 0x60, 0x07, 0x08, 0xd4, 0xe0, 0x05, 0x01, 0xd5, 0xe0,
|
||||||
|
0x07, 0x04, 0xd0, 0x29, 0xb1, 0xe0, 0x05, 0x01, 0xd5, 0x01, 0x29, 0x01, 0xd9, 0x12, 0x20, 0x4e, 0xe0, 0x30, 0x06,
|
||||||
|
0x01, 0xd4, 0x05, 0x2e, 0x01, 0xd9, 0x11, 0x20, 0x48, 0xe0, 0x04, 0x2e, 0x01, 0xd2, 0x5c, 0x48, 0x01, 0xe0, 0x5b,
|
||||||
|
0x48, 0x00, 0x1d, 0xb1, 0x07, 0x02, 0x68, 0xc9, 0x0e, 0xff, 0x23, 0x8b, 0x40, 0x9a, 0x43, 0xe3, 0xb2, 0x8b, 0x40,
|
||||||
|
0x13, 0x43, 0x03, 0x60, 0x4f, 0xf4, 0x48, 0x10, 0x50, 0xf8, 0x88, 0x1f, 0xb3, 0x00, 0x0f, 0x22, 0x9a, 0x40, 0x91,
|
||||||
|
0x43, 0x01, 0x60, 0x89, 0xf0, 0x01, 0x02, 0x00, 0x21, 0x30, 0x46, 0x38, 0xf7, 0xa8, 0xfa, 0xb9, 0xf1, 0x00, 0x0f,
|
||||||
|
0x20, 0xd0, 0x30, 0x46, 0x38, 0xf7, 0x8c, 0xfa, 0xc7, 0xb2, 0xbb, 0xf1, 0x00, 0x0f, 0x14, 0xd0, 0x00, 0x20, 0x42,
|
||||||
|
0x46, 0x02, 0xfa, 0x00, 0xf1, 0x21, 0x42, 0x01, 0xd0, 0x82, 0x46, 0x03, 0xe0, 0x40, 0x1c, 0xc0, 0xb2, 0x05, 0x28,
|
||||||
|
0xf5, 0xd3, 0x51, 0x46, 0x30, 0x46, 0x38, 0xf7, 0xe2, 0xf9, 0xaf, 0xf2, 0xf7, 0x01, 0x30, 0x46, 0x38, 0xf7, 0x33,
|
||||||
|
0xfa, 0x59, 0x46, 0x30, 0x46, 0x38, 0xf7, 0x33, 0xfa, 0x03, 0xe0, 0x39, 0x46, 0x30, 0x46, 0x38, 0xf7, 0x5c, 0xfa,
|
||||||
|
0xef, 0x71, 0x00, 0x20, 0x68, 0x71, 0xbd, 0xe8, 0xf0, 0x9f, 0x70, 0xb5, 0x00, 0xf1, 0x09, 0x05, 0x00, 0x7b, 0x14,
|
||||||
|
0x46, 0xc1, 0x08, 0x02, 0xd0, 0x30, 0x20, 0x50, 0x71, 0x70, 0xbd, 0x38, 0xf7, 0x59, 0xfa, 0xe0, 0x71, 0xe8, 0x78,
|
||||||
|
0xa0, 0x71, 0x00, 0x20, 0x60, 0x71, 0x70, 0xbd, 0x10, 0xb5, 0x14, 0x46, 0x00, 0xf1, 0x0c, 0x01, 0x35, 0x22, 0x2c,
|
||||||
|
0x48, 0xb1, 0xf7, 0x1a, 0xfa, 0x2b, 0x49, 0x48, 0x79, 0x6f, 0xea, 0x50, 0x12, 0x2a, 0x48, 0x43, 0x78, 0x62, 0xf3,
|
||||||
|
0x04, 0x13, 0x43, 0x70, 0x08, 0x68, 0x4d, 0x28, 0x01, 0xd9, 0x30, 0x20, 0x20, 0x70, 0x0a, 0x68, 0x25, 0x48, 0x27,
|
||||||
|
0x3a, 0x08, 0x2a, 0x0d, 0xd2, 0xdf, 0xe8, 0x02, 0xf0, 0x04, 0x08, 0x27, 0x2b, 0x2f, 0x33, 0x37, 0x3b, 0x02, 0x68,
|
||||||
|
0x42, 0xf4, 0x00, 0x52, 0x02, 0xe0, 0x02, 0x68, 0x22, 0xf4, 0x00, 0x52, 0x02, 0x60, 0x08, 0x79, 0x40, 0x06, 0x2f,
|
||||||
|
0xd5, 0x08, 0x89, 0x7c, 0xf7, 0x9f, 0xff, 0x04, 0x00, 0x2a, 0xd0, 0x01, 0x20, 0x7b, 0xf7, 0x6c, 0xf9, 0x00, 0x28,
|
||||||
|
0x25, 0xd0, 0x94, 0xf8, 0xe2, 0x10, 0x41, 0x73, 0x01, 0x21, 0x01, 0x73, 0xee, 0x21, 0x01, 0x75, 0x00, 0x21, 0x41,
|
||||||
|
0x60, 0x81, 0x60, 0xbd, 0xe8, 0x10, 0x40, 0xa0, 0xf7, 0x48, 0xbf, 0x02, 0x68, 0x42, 0xf4, 0x80, 0x42, 0xdf, 0xe7,
|
||||||
|
0x02, 0x68, 0x22, 0xf4, 0x80, 0x42, 0xdb, 0xe7, 0x02, 0x68, 0x42, 0xf4, 0x80, 0x52, 0xd7, 0xe7, 0x02, 0x68, 0x22,
|
||||||
|
0xf4, 0x80, 0x52, 0xd3, 0xe7, 0x02, 0x68, 0x42, 0xf0, 0x10, 0x02, 0xcf, 0xe7, 0x02, 0x68, 0x22, 0xf0, 0x10, 0x02,
|
||||||
|
0xcb, 0xe7, 0x10, 0xbd, 0x68, 0x00, 0x32, 0x00, 0x8c, 0x9c, 0x20, 0x00, 0xd9, 0x25, 0x20, 0x00, 0xfc, 0x2f, 0x20,
|
||||||
|
0x00, 0x10, 0xb5, 0x04, 0x46, 0x02, 0x22, 0xff, 0x21, 0x04, 0x20, 0x70, 0xf7, 0xf1, 0xfa, 0x8b, 0x22, 0x82, 0x72,
|
||||||
|
0xc4, 0x72, 0xbd, 0xe8, 0x10, 0x40, 0x70, 0xf7, 0x21, 0xb9, 0x0b, 0x4a, 0x12, 0x68, 0x02, 0xf0, 0x03, 0x03, 0x11,
|
||||||
|
0xb1, 0x1f, 0x21, 0x0a, 0x46, 0x01, 0xe0, 0x7f, 0x21, 0xff, 0x22, 0x1f, 0x28, 0x00, 0xd9, 0x2b, 0xb1, 0x88, 0x42,
|
||||||
|
0x01, 0xd9, 0x03, 0x2b, 0x01, 0xd3, 0x90, 0x42, 0x01, 0xd9, 0x01, 0x20, 0x70, 0x47, 0x00, 0x20, 0x70, 0x47, 0x00,
|
||||||
|
0x00, 0x14, 0x87, 0x31, 0x00, 0x10, 0xb5, 0x1b, 0x48, 0x33, 0xf7, 0x14, 0xfd, 0xb5, 0xf7, 0x84, 0xf9, 0x00, 0x28,
|
||||||
|
0x24, 0xd1, 0x18, 0x48, 0x00, 0x78, 0x00, 0x28, 0x20, 0xd0, 0x33, 0xf7, 0xc7, 0xfc, 0x04, 0x46, 0x16, 0x48, 0x00,
|
||||||
|
0x78, 0x3a, 0xf7, 0x19, 0xf9, 0x10, 0xb1, 0x01, 0x28, 0x07, 0xd0, 0x01, 0xe0, 0x3a, 0xf7, 0x4d, 0xfb, 0x20, 0x46,
|
||||||
|
0xbd, 0xe8, 0x10, 0x40, 0x33, 0xf7, 0xbb, 0xbc, 0x01, 0x22, 0x00, 0x23, 0x11, 0x46, 0x0e, 0x48, 0x46, 0xf7, 0xb4,
|
||||||
|
0xfb, 0x20, 0x46, 0x33, 0xf7, 0xb2, 0xfc, 0x33, 0xf7, 0xa9, 0xfc, 0x18, 0xb1, 0x0a, 0x49, 0x01, 0x20, 0x08, 0x60,
|
||||||
|
0x10, 0xbd, 0x01, 0x22, 0xbd, 0xe8, 0x10, 0x40, 0x4f, 0xf0, 0xff, 0x33, 0x11, 0x46, 0x04, 0x48, 0x46, 0xf7, 0xa1,
|
||||||
|
0xbb, 0x00, 0x00, 0x98, 0x42, 0x20, 0x00, 0xab, 0x26, 0x20, 0x00, 0xb9, 0x22, 0x20, 0x00, 0x74, 0x42, 0x20, 0x00,
|
||||||
|
0xc8, 0x22, 0x20, 0x00, 0x2a, 0x21, 0x01, 0x48, 0x46, 0xf7, 0x66, 0xb9, 0x04, 0x01, 0x60, 0x00, 0x00, 0xe0, 0x21,
|
||||||
|
0x00, 0xed, 0xf7, 0x05, 0x00,
|
||||||
|
];
|
@ -5,83 +5,17 @@ use crate::bus::Bus;
|
|||||||
use crate::consts::*;
|
use crate::consts::*;
|
||||||
use crate::{SpiBusCyw43, CHIP};
|
use crate::{SpiBusCyw43, CHIP};
|
||||||
|
|
||||||
#[derive(Debug)]
|
fn is_aligned(a: u32, x: u32) -> bool {
|
||||||
pub(crate) struct CybtFwCb<'a> {
|
|
||||||
pub p_fw_mem_start: &'a [u8],
|
|
||||||
pub fw_len: u32,
|
|
||||||
pub p_next_line_start: &'a [u8],
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Debug)]
|
|
||||||
pub(crate) struct HexFileData<'a> {
|
|
||||||
pub addr_mode: i32,
|
|
||||||
pub hi_addr: u16,
|
|
||||||
pub dest_addr: u32,
|
|
||||||
pub p_ds: &'a mut [u8],
|
|
||||||
}
|
|
||||||
|
|
||||||
pub(crate) fn is_aligned(a: u32, x: u32) -> bool {
|
|
||||||
(a & (x - 1)) == 0
|
(a & (x - 1)) == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn round_down(x: u32, a: u32) -> u32 {
|
fn round_down(x: u32, a: u32) -> u32 {
|
||||||
x & !(a - 1)
|
x & !(a - 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn cybt_fw_get_data(p_btfw_cb: &mut CybtFwCb, hfd: &mut HexFileData) -> u32 {
|
|
||||||
let mut abs_base_addr32 = 0;
|
|
||||||
|
|
||||||
loop {
|
|
||||||
let num_bytes = p_btfw_cb.p_next_line_start[0];
|
|
||||||
p_btfw_cb.p_next_line_start = &p_btfw_cb.p_next_line_start[1..];
|
|
||||||
|
|
||||||
let addr = (p_btfw_cb.p_next_line_start[0] as u16) << 8 | p_btfw_cb.p_next_line_start[1] as u16;
|
|
||||||
p_btfw_cb.p_next_line_start = &p_btfw_cb.p_next_line_start[2..];
|
|
||||||
|
|
||||||
let line_type = p_btfw_cb.p_next_line_start[0];
|
|
||||||
p_btfw_cb.p_next_line_start = &p_btfw_cb.p_next_line_start[1..];
|
|
||||||
|
|
||||||
if num_bytes == 0 {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
hfd.p_ds[..num_bytes as usize].copy_from_slice(&p_btfw_cb.p_next_line_start[..num_bytes as usize]);
|
|
||||||
p_btfw_cb.p_next_line_start = &p_btfw_cb.p_next_line_start[num_bytes as usize..];
|
|
||||||
|
|
||||||
match line_type {
|
|
||||||
BTFW_HEX_LINE_TYPE_EXTENDED_ADDRESS => {
|
|
||||||
hfd.hi_addr = (hfd.p_ds[0] as u16) << 8 | hfd.p_ds[1] as u16;
|
|
||||||
hfd.addr_mode = BTFW_ADDR_MODE_EXTENDED;
|
|
||||||
}
|
|
||||||
BTFW_HEX_LINE_TYPE_EXTENDED_SEGMENT_ADDRESS => {
|
|
||||||
hfd.hi_addr = (hfd.p_ds[0] as u16) << 8 | hfd.p_ds[1] as u16;
|
|
||||||
hfd.addr_mode = BTFW_ADDR_MODE_SEGMENT;
|
|
||||||
}
|
|
||||||
BTFW_HEX_LINE_TYPE_ABSOLUTE_32BIT_ADDRESS => {
|
|
||||||
abs_base_addr32 = (hfd.p_ds[0] as u32) << 24
|
|
||||||
| (hfd.p_ds[1] as u32) << 16
|
|
||||||
| (hfd.p_ds[2] as u32) << 8
|
|
||||||
| hfd.p_ds[3] as u32;
|
|
||||||
hfd.addr_mode = BTFW_ADDR_MODE_LINEAR32;
|
|
||||||
}
|
|
||||||
BTFW_HEX_LINE_TYPE_DATA => {
|
|
||||||
hfd.dest_addr = addr as u32;
|
|
||||||
match hfd.addr_mode {
|
|
||||||
BTFW_ADDR_MODE_EXTENDED => hfd.dest_addr += (hfd.hi_addr as u32) << 16,
|
|
||||||
BTFW_ADDR_MODE_SEGMENT => hfd.dest_addr += (hfd.hi_addr as u32) << 4,
|
|
||||||
BTFW_ADDR_MODE_LINEAR32 => hfd.dest_addr += abs_base_addr32,
|
|
||||||
_ => {}
|
|
||||||
}
|
|
||||||
return num_bytes as u32;
|
|
||||||
}
|
|
||||||
_ => {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
0
|
|
||||||
}
|
|
||||||
|
|
||||||
pub(crate) async fn upload_bluetooth_firmware<PWR: OutputPin, SPI: SpiBusCyw43>(
|
pub(crate) async fn upload_bluetooth_firmware<PWR: OutputPin, SPI: SpiBusCyw43>(
|
||||||
bus: &mut Bus<PWR, SPI>,
|
bus: &mut Bus<PWR, SPI>,
|
||||||
|
firmware_offsets: &[(u32, usize)],
|
||||||
firmware: &[u8],
|
firmware: &[u8],
|
||||||
) {
|
) {
|
||||||
// read version
|
// read version
|
||||||
@ -91,26 +25,15 @@ pub(crate) async fn upload_bluetooth_firmware<PWR: OutputPin, SPI: SpiBusCyw43>(
|
|||||||
let firmware = &firmware[version_length as usize + 2..];
|
let firmware = &firmware[version_length as usize + 2..];
|
||||||
// buffer
|
// buffer
|
||||||
let mut data_buffer: [u8; 0x100] = [0; 0x100];
|
let mut data_buffer: [u8; 0x100] = [0; 0x100];
|
||||||
// structs
|
|
||||||
let mut btfw_cb = CybtFwCb {
|
|
||||||
p_fw_mem_start: firmware,
|
|
||||||
fw_len: firmware.len() as u32,
|
|
||||||
p_next_line_start: firmware,
|
|
||||||
};
|
|
||||||
let mut hfd = HexFileData {
|
|
||||||
addr_mode: BTFW_ADDR_MODE_UNKNOWN,
|
|
||||||
hi_addr: 0,
|
|
||||||
dest_addr: 0,
|
|
||||||
p_ds: &mut data_buffer,
|
|
||||||
};
|
|
||||||
loop {
|
|
||||||
let mut aligned_data_buffer: [u8; 0x100] = [0; 0x100];
|
let mut aligned_data_buffer: [u8; 0x100] = [0; 0x100];
|
||||||
let num_fw_bytes = cybt_fw_get_data(&mut btfw_cb, &mut hfd);
|
// structs
|
||||||
if num_fw_bytes == 0 {
|
let mut pointer = 0;
|
||||||
break;
|
for (index, &(dest_addr, num_fw_bytes)) in firmware_offsets.iter().enumerate() {
|
||||||
}
|
let fw_bytes = &firmware[(pointer)..(pointer + num_fw_bytes)];
|
||||||
let fw_bytes = &hfd.p_ds[0..num_fw_bytes as usize];
|
assert!(fw_bytes.len() == num_fw_bytes);
|
||||||
let mut dest_start_addr = hfd.dest_addr + CHIP.bluetooth_base_address;
|
pointer += num_fw_bytes;
|
||||||
|
debug!("index = {}/{} dest_addr = {:08x} num_fw_bytes = {} fw_bytes = {:02x}", index, firmware_offsets.len(), dest_addr, num_fw_bytes, fw_bytes);
|
||||||
|
let mut dest_start_addr = dest_addr;
|
||||||
let mut aligned_data_buffer_index: usize = 0;
|
let mut aligned_data_buffer_index: usize = 0;
|
||||||
// pad start
|
// pad start
|
||||||
if !is_aligned(dest_start_addr, 4) {
|
if !is_aligned(dest_start_addr, 4) {
|
||||||
@ -118,6 +41,7 @@ pub(crate) async fn upload_bluetooth_firmware<PWR: OutputPin, SPI: SpiBusCyw43>(
|
|||||||
let padded_dest_start_addr = round_down(dest_start_addr, 4);
|
let padded_dest_start_addr = round_down(dest_start_addr, 4);
|
||||||
let mut memory_value_bytes = [0; 4];
|
let mut memory_value_bytes = [0; 4];
|
||||||
bus.bp_read(padded_dest_start_addr, &mut memory_value_bytes).await;
|
bus.bp_read(padded_dest_start_addr, &mut memory_value_bytes).await;
|
||||||
|
debug!("pad start padded_dest_start_addr = {:08x} memory_value_bytes = {:02x}", padded_dest_start_addr, memory_value_bytes);
|
||||||
// Copy the previous memory value's bytes to the start
|
// Copy the previous memory value's bytes to the start
|
||||||
for i in 0..num_pad_bytes as usize {
|
for i in 0..num_pad_bytes as usize {
|
||||||
aligned_data_buffer[aligned_data_buffer_index] = memory_value_bytes[i];
|
aligned_data_buffer[aligned_data_buffer_index] = memory_value_bytes[i];
|
||||||
@ -144,6 +68,7 @@ pub(crate) async fn upload_bluetooth_firmware<PWR: OutputPin, SPI: SpiBusCyw43>(
|
|||||||
let padded_dest_end_addr = round_down(dest_end_addr, 4);
|
let padded_dest_end_addr = round_down(dest_end_addr, 4);
|
||||||
let mut memory_value_bytes = [0; 4];
|
let mut memory_value_bytes = [0; 4];
|
||||||
bus.bp_read(padded_dest_end_addr, &mut memory_value_bytes).await;
|
bus.bp_read(padded_dest_end_addr, &mut memory_value_bytes).await;
|
||||||
|
debug!("pad end padded_dest_end_addr = {:08x} memory_value_bytes = {:02x}", padded_dest_end_addr, memory_value_bytes);
|
||||||
// Append the necessary memory bytes to pad the end of aligned_data_buffer
|
// Append the necessary memory bytes to pad the end of aligned_data_buffer
|
||||||
for i in offset..4 {
|
for i in offset..4 {
|
||||||
aligned_data_buffer[aligned_data_buffer_index] = memory_value_bytes[i as usize];
|
aligned_data_buffer[aligned_data_buffer_index] = memory_value_bytes[i as usize];
|
||||||
@ -177,7 +102,7 @@ pub(crate) async fn wait_bt_ready<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mut Bu
|
|||||||
success = true;
|
success = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Timer::after(Duration::from_millis(1)).await;
|
Timer::after(Duration::from_millis(100)).await;
|
||||||
}
|
}
|
||||||
assert!(success == true);
|
assert!(success == true);
|
||||||
}
|
}
|
||||||
@ -203,6 +128,7 @@ pub(crate) async fn bt_set_host_ready<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mu
|
|||||||
bus.bp_write32(HOST_CTRL_REG_ADDR, new_val).await;
|
bus.bp_write32(HOST_CTRL_REG_ADDR, new_val).await;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: use this
|
||||||
pub(crate) async fn bt_set_awake<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mut Bus<PWR, SPI>) {
|
pub(crate) async fn bt_set_awake<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mut Bus<PWR, SPI>) {
|
||||||
debug!("bt_set_awake");
|
debug!("bt_set_awake");
|
||||||
let old_val = bus.bp_read32(HOST_CTRL_REG_ADDR).await;
|
let old_val = bus.bp_read32(HOST_CTRL_REG_ADDR).await;
|
||||||
@ -219,6 +145,7 @@ pub(crate) async fn bt_toggle_intr<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mut B
|
|||||||
bus.bp_write32(HOST_CTRL_REG_ADDR, new_val).await;
|
bus.bp_write32(HOST_CTRL_REG_ADDR, new_val).await;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: use this
|
||||||
pub(crate) async fn bt_set_intr<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mut Bus<PWR, SPI>) {
|
pub(crate) async fn bt_set_intr<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mut Bus<PWR, SPI>) {
|
||||||
debug!("bt_set_intr");
|
debug!("bt_set_intr");
|
||||||
let old_val = bus.bp_read32(HOST_CTRL_REG_ADDR).await;
|
let old_val = bus.bp_read32(HOST_CTRL_REG_ADDR).await;
|
||||||
@ -226,10 +153,10 @@ pub(crate) async fn bt_set_intr<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mut Bus<
|
|||||||
bus.bp_write32(HOST_CTRL_REG_ADDR, new_val).await;
|
bus.bp_write32(HOST_CTRL_REG_ADDR, new_val).await;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) async fn init_bluetooth<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mut Bus<PWR, SPI>, firmware: &[u8]) {
|
pub(crate) async fn init_bluetooth<PWR: OutputPin, SPI: SpiBusCyw43>(bus: &mut Bus<PWR, SPI>, firmware_offsets: &[(u32, usize)], firmware: &[u8]) {
|
||||||
bus.bp_write32(CHIP.bluetooth_base_address + BT2WLAN_PWRUP_ADDR, BT2WLAN_PWRUP_WAKE)
|
bus.bp_write32(CHIP.bluetooth_base_address + BT2WLAN_PWRUP_ADDR, BT2WLAN_PWRUP_WAKE)
|
||||||
.await;
|
.await;
|
||||||
upload_bluetooth_firmware(bus, firmware).await;
|
upload_bluetooth_firmware(bus, firmware_offsets, firmware).await;
|
||||||
wait_bt_ready(bus).await;
|
wait_bt_ready(bus).await;
|
||||||
// TODO: cybt_init_buffer();
|
// TODO: cybt_init_buffer();
|
||||||
wait_bt_awake(bus).await;
|
wait_bt_awake(bus).await;
|
||||||
|
@ -214,6 +214,7 @@ pub async fn new<'a, PWR, SPI>(
|
|||||||
pwr: PWR,
|
pwr: PWR,
|
||||||
spi: SPI,
|
spi: SPI,
|
||||||
firmware: &[u8],
|
firmware: &[u8],
|
||||||
|
bluetooth_firmware_offsets: &[(u32, usize)],
|
||||||
bluetooth_firmware: &[u8],
|
bluetooth_firmware: &[u8],
|
||||||
) -> (NetDriver<'a>, Control<'a>, Runner<'a, PWR, SPI>)
|
) -> (NetDriver<'a>, Control<'a>, Runner<'a, PWR, SPI>)
|
||||||
where
|
where
|
||||||
@ -225,7 +226,7 @@ where
|
|||||||
|
|
||||||
let mut runner = Runner::new(ch_runner, Bus::new(pwr, spi), &state.ioctl_state, &state.events);
|
let mut runner = Runner::new(ch_runner, Bus::new(pwr, spi), &state.ioctl_state, &state.events);
|
||||||
|
|
||||||
runner.init(firmware, bluetooth_firmware).await;
|
runner.init(firmware, bluetooth_firmware_offsets, bluetooth_firmware).await;
|
||||||
|
|
||||||
(
|
(
|
||||||
device,
|
device,
|
||||||
|
@ -73,7 +73,7 @@ where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) async fn init(&mut self, firmware: &[u8], bluetooth_firmware: &[u8]) {
|
pub(crate) async fn init(&mut self, firmware: &[u8], bluetooth_firmware_offsets: &[(u32, usize)], bluetooth_firmware: &[u8]) {
|
||||||
self.bus.init().await;
|
self.bus.init().await;
|
||||||
|
|
||||||
// Init ALP (Active Low Power) clock
|
// Init ALP (Active Low Power) clock
|
||||||
@ -117,7 +117,7 @@ where
|
|||||||
self.bus.bp_write(ram_addr, firmware).await;
|
self.bus.bp_write(ram_addr, firmware).await;
|
||||||
|
|
||||||
debug!("loading bluetooth fw");
|
debug!("loading bluetooth fw");
|
||||||
bluetooth::init_bluetooth(&mut self.bus, bluetooth_firmware).await;
|
bluetooth::init_bluetooth(&mut self.bus, bluetooth_firmware_offsets, bluetooth_firmware).await;
|
||||||
|
|
||||||
debug!("loading nvram");
|
debug!("loading nvram");
|
||||||
// Round up to 4 bytes.
|
// Round up to 4 bytes.
|
||||||
|
@ -21,6 +21,7 @@ lora-phy = { version = "1" }
|
|||||||
lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"] }
|
lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"] }
|
||||||
lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"] }
|
lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"] }
|
||||||
cyw43 = { path = "../../cyw43", features = ["defmt", "firmware-logs"] }
|
cyw43 = { path = "../../cyw43", features = ["defmt", "firmware-logs"] }
|
||||||
|
cyw43-firmware = { path = "../../cyw43-firmware" }
|
||||||
cyw43-pio = { path = "../../cyw43-pio", features = ["defmt", "overclock"] }
|
cyw43-pio = { path = "../../cyw43-pio", features = ["defmt", "overclock"] }
|
||||||
|
|
||||||
defmt = "0.3"
|
defmt = "0.3"
|
||||||
|
@ -31,8 +31,9 @@ async fn wifi_task(
|
|||||||
#[embassy_executor::main]
|
#[embassy_executor::main]
|
||||||
async fn main(spawner: Spawner) {
|
async fn main(spawner: Spawner) {
|
||||||
let p = embassy_rp::init(Default::default());
|
let p = embassy_rp::init(Default::default());
|
||||||
|
let bluetooth_firmware_offsets = &cyw43_firmware::BLUETOOTH_FIRMWARE_OFFSETS;
|
||||||
|
let bluetooth_firmware = &cyw43_firmware::BLUETOOTH_FIRMWARE;
|
||||||
let fw = include_bytes!("../../../../cyw43-firmware/43439A0.bin");
|
let fw = include_bytes!("../../../../cyw43-firmware/43439A0.bin");
|
||||||
let bt_fw = include_bytes!("../../../../cyw43-firmware/43439A0_btfw.bin");
|
|
||||||
let clm = include_bytes!("../../../../cyw43-firmware/43439A0_clm.bin");
|
let clm = include_bytes!("../../../../cyw43-firmware/43439A0_clm.bin");
|
||||||
|
|
||||||
// To make flashing faster for development, you may want to flash the firmwares independently
|
// To make flashing faster for development, you may want to flash the firmwares independently
|
||||||
@ -48,7 +49,7 @@ async fn main(spawner: Spawner) {
|
|||||||
let spi = PioSpi::new(&mut pio.common, pio.sm0, pio.irq0, cs, p.PIN_24, p.PIN_29, p.DMA_CH0);
|
let spi = PioSpi::new(&mut pio.common, pio.sm0, pio.irq0, cs, p.PIN_24, p.PIN_29, p.DMA_CH0);
|
||||||
|
|
||||||
let state = make_static!(cyw43::State::new());
|
let state = make_static!(cyw43::State::new());
|
||||||
let (_net_device, mut control, runner) = cyw43::new(state, pwr, spi, fw, bt_fw).await;
|
let (_net_device, mut control, runner) = cyw43::new(state, pwr, spi, fw, bluetooth_firmware_offsets, bluetooth_firmware).await;
|
||||||
unwrap!(spawner.spawn(wifi_task(runner)));
|
unwrap!(spawner.spawn(wifi_task(runner)));
|
||||||
|
|
||||||
control.init(clm).await;
|
control.init(clm).await;
|
||||||
|
Loading…
Reference in New Issue
Block a user