Skip to content

TI IWRL6432 Tooling to boot from SPI without QSPI flash populated

Notifications You must be signed in to change notification settings

DensityCo/iwrl6432-spi-boot-tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TI IWRL6432 Tooling to Boot from SPI without a QSPI Flash by transferring the firmware over SPI to RAM and booting

This example uses a Raspberry PI 4 (RPI4) as the SPI Controller.

Setup Ubuntu 24.04 Build Environment - Build for RPI4 Raspbian

Update the contents of your /etc/apt/sources.list to match the sources.list in this repo.

sudo dpkg --add-architecture arm64
sudo dpkg --print-foreign-architectures
sudo apt update -y
sudo apt install git build-essential cmake libdocopt-dev libuv1-dev flex bison libgtest-dev spi-tools gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libgpiod-dev libgpiod-dev:arm64 

Update the Raspbian environemnt on your RPI4 target

sudo apt update -y && sudo apt install libgpiod2

Configure SPI on your RPI4

https://pimylifeup.com/raspberry-pi-spi/

Initial Build

make ci

Incremental Build for RPI4 Target

make build.rpi4

Incremental Build for PC

make build.x86

Waveforms

Complete Saleae Waveform Capture

Saleae Capture File

Full Waveform

Device Status Command & Response

Command

Response

Continuous Download Command & Response

Command

Response

Continuous Download Payload (Abbreviated)

First Block

Last Complete Block

Final Partial Block with Padding

App Switch Command & Response

Command

Response

Notes

If the QSPI Flash is not populated in your design, you will also need to modify the chirp configuration to disable saving and restoring of calibration data to QSPI flash.

factoryCalibCfg: <save enable> <restore enable> <rxGain> <backoff0> <Flash offset>

About

TI IWRL6432 Tooling to boot from SPI without QSPI flash populated

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 80.3%
  • Python 8.9%
  • Makefile 8.8%
  • CMake 2.0%