we designed a board base on the imx6ull-14x14evk, and our ap6236 as above images....
pin6----BT-WAKEUP , we pull up to 3.3v with 10K res;
pin34--BT-RST-N, we connect it to gpio1-io18;
first, the wifi of AP6236 is OK, and I use ssh to connect the board with it's wifi.
I do as below:
echo 18 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio18/direction
echo 1 > /sys/class/gpio/gpio18/value
and the pin34--BT-RST-N ,come from low to high(3.3v)
then , I run this:
sudo ./brcm_patchram_plus -d --enable_hci --no2bytes --tosleep 200000 --use_baudrate_for_download --baudrate 115200 --bd_addr "11:22:33:44:55:66" --patchram /lib/firmware/bcm/AP6236/BT/BCM4343B0.hcd /dev/ttymxc1 &
the console printf always as below:
writing
01 03 0c 00
01 03 0c 00
......
01 03 0c 00
the same operate can success to update fireware on the other develop board,
please someone can tell me ? what maybe the problem ,, I am sure uart2 is OK....
is the timing of pin6--BT-WAKEUP ,or pin34--BT-RST wrong?