view wiki/Detailed CPU1-Upper Project.md @ 678:05cdd367dbd0 Betatest

Bugfix: deco planner did not initialize properly Redoing a deco calculation in the planner, after a change in used gasses, did result in wrong gas usage figures. And a restart after sleep made things right again. This all feels like some initialization problem. Nothing very important as it's only a desktop planner, but a bug it is. Code reading, I found the not correctly initialized data. Reported-by: Teun (forum user tdewilt2) Signed-off-by: Jan Mulder <jan@jlmulder.nl>
author Jan Mulder <jan@jlmulder.nl>
date Thu, 21 Apr 2022 21:02:50 +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
**