Project

General

Profile

Feature #822

Complete flash via CAN

Added by Maximilian Seesslen 3 months ago. Updated 3 months ago.

Status:
Neu
Priority:
Normal
Target version:
-
Start date:
07/21/2026
Due date:
% Done:

0%

Estimated time:
CS Zielversion:

Description

When device is updated via CAN, it jumps into PhonyBL afterwards making the CAN flash procedure useless.
1) Keep CAN active and start phonyBL manually by button
2) Flash intern+extern in one step

1) Sounds goot. Keep CANFLasher as is without device-dependant behaviour. When just flashing firmware
the device would still end up inaccessible and CANFlashing would throw error telling device disapeared.

History

#1

Updated by Maximilian Seesslen 3 months ago

The device still boots to Phony-BL. Having the touch calibration in SPI-Flash is anoying. Firmware update should not destroy this.
Da kann ich grad einen CCandisBL erstellen der die Kalibrierung wegsichert.

handleMmpTransfer_finalize() in einer "class CCandisBL" implementieren. Dann kann generisch injeziert werden. Keine CANDis spezifischen Befehle im CANFlasher.

Beim FLaschen via USB erstmal verkraftbar. Dass kann dann einfach beim Reset-Button-Slot gemacht werden.

#2

Updated by Maximilian Seesslen 3 months ago

Media is now flashed before application. Even if there is a reboot after finished, it would end up in reverse bootloader.
Changes not enabling Phony-BL can be reverted.

Also available in: Atom PDF