Добавить порт SETProtocol v2 для TMS320F2812
This commit is contained in:
23
c/set-protocol/ports/tms320f2812/README.md
Normal file
23
c/set-protocol/ports/tms320f2812/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# SETProtocol v2 firmware port for TMS320F2812
|
||||
|
||||
`setp_tms2812_boot.c` implements the shared SETP v2 CAN firmware service for
|
||||
F2812 projects. It owns CAN reassembly, request/response framing, firmware state,
|
||||
idempotent blocks, CRC32 and SHA-256 verification. It does not include TI or
|
||||
board headers.
|
||||
|
||||
The target application provides callbacks for classic-CAN transmission, Flash
|
||||
erase/program/read, optional signature authorization, and reset. Receive ISR
|
||||
code must only copy frames into a queue; call `setp_tms2812_boot_process()` from
|
||||
task context.
|
||||
|
||||
Add these sources to a CCS project:
|
||||
|
||||
- `c/set-protocol/src/set_protocol.c`
|
||||
- `c/set-protocol/src/set_can.c`
|
||||
- `c/set-protocol/src/set_firmware.c`
|
||||
- `c/set-protocol/ports/tms320f2812/setp_tms2812_boot.c`
|
||||
|
||||
Add `c/set-protocol/include` and this directory to include paths. The port uses
|
||||
extended 29-bit SETP CAN identifiers and supports one firmware slot. A single
|
||||
slot has no power-loss rollback; production hardware should provide staging or
|
||||
A/B storage.
|
||||
Reference in New Issue
Block a user