Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
boards:wb15 [2023/12/06 07:07] darron [Demo firmware] |
boards:wb15 [2023/12/15 07:49] (current) darron [Upgrade procedure] |
||
---|---|---|---|
Line 15: | Line 15: | ||
WARNING: There is an option byte called ESE on this board, it you | WARNING: There is an option byte called ESE on this board, it you | ||
disable it the board will refuse to operate (untested). | disable it the board will refuse to operate (untested). | ||
+ | |||
+ | |||
+ | ===Pinout=== | ||
+ | |||
+ | < | ||
+ | LED | ||
+ | PB5 LD1 BLUE | ||
+ | PB0 LD2 GREEN | ||
+ | PB1 LD3 RED | ||
+ | |||
+ | BUTTON | ||
+ | PA0 B1 | ||
+ | PE4 B2 | ||
+ | PA6 B3 | ||
+ | RESET B4 | ||
+ | |||
+ | USART1 (ST-LINK) | ||
+ | PA10 TX_STLINK AF7 | ||
+ | PA9 RX_STLINK AF7 | ||
+ | |||
+ | X1 NX2016SA 32 MHz | ||
+ | OSC_IN | ||
+ | OSC_OUT | ||
+ | |||
+ | X2 NX2012SA 32.768 kHz | ||
+ | PC14 OSC32_IN | ||
+ | PC16 OSC32_OUT | ||
+ | </ | ||
+ | |||
===Firmware upgrade services=== | ===Firmware upgrade services=== | ||
Line 50: | Line 79: | ||
used to reset the option bytes. | used to reset the option bytes. | ||
- | The Android app demos work with stm32wb1x_BLE_Stack_full_fw.bin | + | The Android app demos work with stm32wb1x_BLE_Stack_full_fw.bin |
- | so probably best to stick with that one. | + | |
Line 87: | Line 115: | ||
</ | </ | ||
- | Now press firmware upgrade. | + | Now press firmware upgrade |
===Demo firmware=== | ===Demo firmware=== | ||
Line 98: | Line 126: | ||
==Program== | ==Program== | ||
+ | |||
+ | A pre-built hex file can be programmed, else the application built from a [[https:// | ||
< | < | ||
- | "/ | + | "/ |
</ | </ | ||
Line 186: | Line 216: | ||
The UUID " | The UUID " | ||
- | The handles that are known to operate p2pServer are 0x000E and 0x0011 | + | The handles that are known to operate p2pServer are 0x0E and 0x11 |
- | Handle 0x0011 turns button notification on and off and 0x000E is the blue LED. | + | Handle 0x0011 turns button notification on and off and 0x0E is the blue LED. |
For example, to turn on the LED: | For example, to turn on the LED: | ||
< | < | ||
- | char-write-cmd 0x000E 0x01 | + | char-write-cmd 0x0E 0x01 |
</ | </ | ||
Line 203: | Line 233: | ||
</ | </ | ||
- | NB The above works in interactive mode but not otherwise. | + | NB char-write-cmd |
- | + | ||
- | + | ||
+ | ==Python== | ||
+ | See [[tools: | ||
===Resources=== | ===Resources=== | ||
Line 214: | Line 243: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||
Line 222: | Line 257: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// |