Firmware for the Mobilinkd TNC3. STM32L433-based Bluetooth/LE KISS TNC.
 
 
 
Go to file
Rob Riggs 1be6b066bc Regulatory testing mode. Disable the BT module, enable demodulator, and transmit a test beacon at regular intervals. 2018-11-14 16:57:01 -06:00
.settings Minor project updates. 2018-10-28 21:37:12 -05:00
Drivers Update STM32L4 HAL library to version 1.13.0. 2018-10-28 20:15:55 -05:00
Inc Set serial number in BM78 DIS and USB descriptor, and return it via KISS HW commands. 2018-10-29 14:06:52 -05:00
Middlewares Update STM32L4 HAL library to version 1.13.0. 2018-10-28 20:15:55 -05:00
Src Don't send any ITM messages when KISS_LOGGING is disabled. 2018-11-14 16:53:35 -06:00
TNC Regulatory testing mode. Disable the BT module, enable demodulator, and transmit a test beacon at regular intervals. 2018-11-14 16:57:01 -06:00
newlib Commit bulk of code for new project. Still some cleanup to do to make it work with new PCB. 2018-08-26 22:28:24 -05:00
startup Commit bulk of code for new project. Still some cleanup to do to make it work with new PCB. 2018-08-26 22:28:24 -05:00
.cproject Minor project updates. 2018-10-28 21:37:12 -05:00
.gitignore Add debug logging to the pool allocator. 2018-09-21 21:06:06 -05:00
.mxproject Minor project updates. 2018-10-28 21:37:12 -05:00
.project Update various Eclipse project files. 2018-09-19 22:50:05 -05:00
LICENSE Initial commit 2018-06-24 09:48:50 -05:00
README.md Add debug logging to the pool allocator. 2018-09-21 21:06:06 -05:00
STM32L433CCUx_FLASH.ld Trivial change to linker script. 2018-09-19 22:23:15 -05:00
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 Updates from Cube update. Make USB_CE OD. 2018-10-28 21:36:50 -05:00
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 Add BM78 support. Add a README file to start documenting build/debug stuff. Add ARM fir filter code. Add ST/LINK config files. 2018-09-19 22:17:37 -05:00
stm32l4x.cfg Add BM78 support. Add a README file to start documenting build/debug stuff. Add ARM fir filter code. Add ST/LINK config files. 2018-09-19 22:17:37 -05:00

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.