Skip to content

About

ESP32-C6 firmware labs and VigilCore dashboard for the Offensive Edge AI Exploitation training by Attify.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attify Edge AI Training Labs

This repository is for the Offensive Edge AI Exploitation training by Attify. It contains three ESP32-C6 firmware projects and the VigilCore monitoring dashboard.

Projects

Directory Description
jtag-l04 Four inference engines running quantized sine models on the main CPU and LP core
jtag-alarm Edge AI runtime with an alarm indicator and USB serial command interface
lp-sram Small application that reads configuration from LP SRAM and reports its operating mode
vigilcore Browser dashboard for the jtag-alarm firmware, using OpenOCD for telemetry

Each firmware directory is an independent ESP-IDF project with its own build output and configuration. Flash one firmware project at a time. VigilCore runs on the host computer and requires jtag-alarm on the connected board.

Build and flash

Use ESP-IDF 5.5.5 with the ESP32-C6 tools installed, an ESP32-C6 development board, and a USB data cable connected to its native USB Serial/JTAG port. Activate your ESP-IDF environment by sourcing its export.sh before building.

From this repository's root, choose a firmware directory. For example:

cd jtag-alarm
idf.py set-target esp32c6
idf.py build
idf.py -p /dev/ttyACM0 flash monitor

Replace /dev/ttyACM0 with your board's port. To build another firmware, change into jtag-l04/ or lp-sram/ and use the same commands. Exit the monitor with Ctrl+]. The per-project READMEs describe hardware requirements and behavior.

The inference projects include their model assets and component lockfiles. Their first build downloads dependencies using the ESP-IDF Component Manager. Build output and machine-specific configuration are ignored by Git.

VigilCore

Build and flash jtag-alarm, then follow the VigilCore setup. The dashboard uses the ELF from that build to locate its telemetry fields. Keep that ELF paired with the firmware flashed to the board.

VigilCore uses Python's standard library. Its host-side checks can be run from the repository root:

python3 -m unittest discover -s vigilcore/tests -v

Node.js is optional for these checks; it enables the browser-script regression test. The tests use simulated device data and do not require a board.

About

ESP32-C6 firmware labs and VigilCore dashboard for the Offensive Edge AI Exploitation training by Attify.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages