Цитата(A. Fig Lee @ Apr 14 2015, 13:41)

В смысле? Плата подсоединена ни к тем ножкам UARTa в БЛЕ112?
Ну надо само собой будет перепаять ножки на БЛЕ112,
получить hex прошивки, найти инструкцию, которая меняет/устанавливает выбор UART (по моему P0SEL регистр,
надо будет дизассемблировать весь код и разбиратся).
Если там вообще ремаппинг есть.
А то и добавить придется и компильнуть ассемблер.
Нет, есть плата, куда будет впаиваться BLE112 и выведен JTAG на разъем, UART разведен как положено по datasheet.
Требуется - 1. прошить модуль, задав что рабочий UART0 на Р1, подключенный к микроконтроллеру.
2. Нужно ли еще что-то прошивать внутрь модуля, или все остальное пишет программист в программе для МК?
Нашел примеры у блюгига - UART 114k
<?xml version="1.0" encoding="UTF-8" ?>
- <project>
<gatt in="gatt.xml" />
<hardware in="hardware.xml" />
<image out="BLE112.hex" />
<device type="ble112" />
<boot fw="bootuart" />
</project>
<?xml version="1.0" encoding="UTF-8" ?>
- <configuration>
- <service uuid="1800">
<description>Generic Access Profile</description>
- <characteristic uuid="2a00">
<properties read="true" const="true" />
<value>Bluegiga UART Demo</value>
</characteristic>
- <characteristic uuid="2a01">
<properties read="true" const="true" />
<value type="hex">00</value>
</characteristic>
</service>
</configuration>
<?xml version="1.0" encoding="UTF-8" ?>
- <hardware>
<sleeposc enable="true" ppm="30" />
<usb enable="false" endpoint="none" />
<txpower power="15" bias="5" />
<usart channel="1" alternate="1" baud="115200" flow="true" endpoint="api" />
<wakeup_pin enable="true" port="0" pin="0" />
<port index="0" tristatemask="0" pull="down" />
<pmux regulator_pin="7" />
</hardware>
<?xml version="1.0" encoding="UTF-8" ?>
- <usb>
- <device bDeviceClass="2" bcdDevice="1" iManufacturer="Bluegiga" idVendor="2458" idProduct="0001" iProduct="Low Energy Dongle" iSerialNumber="1" bcdUSB="200">
- <configuration iConfiguration="CDC" bmAttributes="80" bMaxPower="25">
- <interface bInterfaceClass="2" bInterfaceSubClass="2" bInterfaceProtocol="1" iInterface="CDC control">
- <descriptor Type="24">
<data>001001</data>
</descriptor>
- <descriptor Type="24">
<data>0202</data>
</descriptor>
- <descriptor Type="24">
<data>060001</data>
</descriptor>
- <descriptor Type="24">
<data>010301</data>
</descriptor>
<endpoint bEndpointAddress="82" bmAttributes="3" wMaxPacketSize="40" bInterval="40" />
</interface>
- <interface bInterfaceClass="A" bInterfaceSubClass="0" bInterfaceProtocol="0" iInterface="CDC data">
<endpoint bEndpointAddress="84" bmAttributes="2" wMaxPacketSize="40" bInterval="1" />
<endpoint bEndpointAddress="4" bmAttributes="2" wMaxPacketSize="40" bInterval="1" />
</interface>
</configuration>
</device>
</usb>
И какойто hex файл - этого достаточно??
И где можно посмотреть содержание файла?? И что значит часть дескрипторов