Firmware for the Mobilinkd TNC3. STM32L433-based Bluetooth/LE KISS TNC.
 
 
 
Go to file
Rob Riggs b19e1a5a5d Handle single-byte transfers over USB more efficiently. Linux seems to do only single byte transfers for ACM ports. 2018-10-28 21:01:24 -05:00
.settings Add debug logging to the pool allocator. 2018-09-21 21:06:06 -05:00
Drivers Update STM32L4 HAL library to version 1.13.0. 2018-10-28 20:15:55 -05:00
Inc
Middlewares Update STM32L4 HAL library to version 1.13.0. 2018-10-28 20:15:55 -05:00
Src
TNC Handle single-byte transfers over USB more efficiently. Linux seems to do only single byte transfers for ACM ports. 2018-10-28 21:01:24 -05:00
newlib
startup
.cproject
.gitignore Add debug logging to the pool allocator. 2018-09-21 21:06:06 -05:00
.mxproject
.project
LICENSE
README.md Add debug logging to the pool allocator. 2018-09-21 21:06:06 -05:00
STM32L433CCUx_FLASH.ld
bm78_eeprom Update BM78 EEPROM loading/configuration process. BT security is disabled because that was the only way to get both EDR and LE to work on both Linux and Android at the same time. 2018-10-28 20:18:21 -05:00
firmware.ioc
make_bm78_eeprom_c.py Update BM78 EEPROM loading/configuration process. BT security is disabled because that was the only way to get both EDR and LE to work on both Linux and Android at the same time. 2018-10-28 20:18:21 -05:00
stlink-tnc3.cfg
stm32l4x.cfg

README.md

This is the firmware for the TNC3 version 2.1.1 hardware.

Building

Use Eclipse with CDT and the GNU MCU Eclipse plugins.

Debugging

Logging is enabled in debug builds and is output via ITM (SWO). The firmware is distributed with an openocd stlink config file that enables ITM output to a named pipe -- swv.

To read from this pipe, open a terminal and run:

while true; do tr -d '\01' < swv; done

If you change the MCU's core clock, you need to adjust the timing in the stlink-tnc3.cfg config file.