Case study
tinycoral: reconstructing the Coral Edge TPU instruction set and USB runtime
tinycoral reconstructs the Google Coral Edge TPU instruction set and USB runtime for a tinygrad backend. It includes decoded instruction layouts, a code generator, DarwiNN executable handling and a Python driver for firmware upload, register access and DMA transfers; the author reports byte-identical generated programs against Google's compiler for supported operations.
- Targets
- Protocol
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 19
- Last commit
- 2026-10-04
- Language
- Python
- License (GitHub)
- MIT
GitHub data as of 2026-11-10
Evidence
- Observed
- Code, documentation and a demo observed; no download method found.
- Checked
- 2026-11-08
Requirements & limits
- Prerequisites: Google Coral USB Accelerator, Python 3.11+, libusb and the pinned tinygrad revision.
- Prerequisites: Offline compiler comparison needs the Google compiler, Docker and the tools dependencies.
- Limits: Whole-network compilation is limited to documented convolution, pooling and linear-layer chains.
- License: MIT license.
Cite
BibTeX
@misc{tinycoral-edge-tpu-case,
title = {{tinycoral: reconstructing the Coral Edge TPU instruction set and USB runtime}},
howpublished = {\url{https://github.com/FrederikRogalski/tinycoral}},
url = {https://github.com/FrederikRogalski/tinycoral},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/tinycoral-edge-tpu-case/}}
}Plain text
tinycoral: reconstructing the Coral Edge TPU instruction set and USB runtime. https://github.com/FrederikRogalski/tinycoral (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/tinycoral-edge-tpu-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · FrederikRogalski/tinycoral · Revision 6079494
- NOTES.md GitHub · FrederikRogalski/tinycoral · Revision 6079494
- docs/ARCHITECTURE.md GitHub · FrederikRogalski/tinycoral · Revision 6079494
More in Protocols
- ninebot-go: reconstructing Ninebot app cloud communication · Case study
- open-g2-hub: a local Even G2 client built on BLE protocol findings · Case study
- Edifier Speakers BLE: reconstructing M60 and M90 speaker control · Case study
- Halyard: reconstructing Shadow cloud PC streaming on handhelds · Case study
- Axial: mapping and controlling the DJI RS 4 Mini over Bluetooth · Case study
- Fiat Ducato X250: decoding the body CAN bus · Case study