view wiki/Detailed CPU1-Upper Project.md @ 1017:5924a2d1d3ba GasConsumption

Prepare custom block update function: In the flash area of the font lib some sectors may be used for custom data or a boot updater image. With this change a flash option is added to the maintainance menu. IMPORTANT: The fimwareEraseProgram.c is needed for compiling the firmware now => Add it e.g. by adding a link from the OtherSources location to your source folder.
author Ideenmodellierer
date Thu, 29 May 2025 22:04:46 +0200
parents 5f11787b4f42
children
line wrap: on
line source

# How to Create From Scratch a Project for _CPU1-Upper_ Code #

The main CPU (aka. _CPU1 Discovery_) firmware is splitted in two parts:
- The proper _CPU1 Discovery_ firmware, with the main code.
- The _protected upper memory_ firmware, which is programmed during _OSTC4_ production, and contains (amongst other things) code used to upload and install firmware upgrades.

## Make a specific project ##

Follow the same procedure than for [CPU1-Discovery](Detailed CPU1-Discovery Project.md), (same processor, same includes) but include the `CPU1-Upper` source directory.

**
NOT FINISHED YET... BE PATIENT
**