Source Repository

The repository holds the flashing tooling, the reference documents and a Code Composer Studio theme for the TMS320F28379D.

ItemValue
Repositoryisarwar93/TI-Microcontroller-Flasher
Clonegit clone https://github.com/isarwar93/TI-Microcontroller-Flasher.git
PlatformWindows and Linux, C++ and shell

Repository layout

TI-Microcontroller-Flasher/
├── README.md
├── TI/
│   ├── sci_flasher/    host flasher, serial_flash_programmer
│   │   ├── serial_flash_programmer.cpp
│   │   ├── CMakeLists.txt, CMake/
│   │   ├── include/, source/, utils/
│   │   ├── linux_macros.h
│   │   └── serial_flash_programmer.vcxproj   Visual Studio project
│   ├── scripts/        payload build and flash scripts
│   │   ├── 2_cp_flash_kernel.sh
│   │   ├── bank_change_flash.py
│   │   ├── serial_comm.py
│   │   ├── firmware_builder.sh
│   │   ├── firmware_builder_cpu2.sh
│   │   ├── serial_flash_bank0.sh
│   │   ├── serial_flash_bank1.sh
│   │   ├── F2837xD_sci_flash_kernels_cpu01.txt
│   │   ├── F2837xD_sci_flash_kernels_cpu02.txt
│   │   ├── blinky_dc_cpu01.txt
│   │   ├── firmware_cpu1.txt
│   │   └── firmware_cpu2.txt
│   ├── FLASH_BANK_0/   binaries for bank 0
│   ├── FLASH_BANK_1/   binaries for bank 1
│   ├── Bootloader/
│   │   └── Smallbootloader
│   └── documents/      vendor reference PDFs
└── coding_theme/       Code Composer Studio theme

Reference documents

TI/documents/ keeps the vendor documentation this project is built on:

DocumentUsed for
tms320f28379d_datasheet.pdfdevice pinout, memory and peripherals
technical_reference_manual.pdfperipheral behaviour
flash_apis.pdfflash API used by the kernel
sciflashing.pdfserial flashing procedure
live_device_firmware_update.pdflive update flow
live_firmware_update_without_reset.pdfupdate without a reset
module_overview.pdfmodule level overview
can_bus.pdfCAN-bus expansion work
spruhm8k.pdfC2000 memory and resource guide
C2000Ware_v5.02.00.00_Release_Notes.pdftoolchain version notes
C2000 MCU 1-Day Workshop - C28x_Microcontroller_ODW_4-2.pdfworkshop material

The coding theme

coding_theme/ is a drop-in Eclipse theme for Code Composer Studio. It ships the theme definition, the Spectrum and Eclipse colour theme jars, and the mappings and schemas the editor needs. See CCS coding theme.