annotate wiki/Detailed CPU1-Upper Project.md @ 1069:e0ba2b29dc1f
Icon_Integration tip
Dev Bugfix: Analog channel 0 overwrites digital channel 0:
The search for the next analog channel was stopped in case the iteration is reset to zero => channel 0 was always sampled, even if no connected sensor was detected. This caused the values of a connected digital sensor to be overwritten. The search loop will now (again) iterate till it finds a new sensor or till the index reachs the active sensor index.
| author |
Ideenmodellierer |
| date |
Tue, 17 Feb 2026 20:46:45 +0100 |
| parents |
5f11787b4f42 |
| children |
|
| rev |
line source |
|
38
|
1 # How to Create From Scratch a Project for _CPU1-Upper_ Code #
|
|
|
2
|
|
|
3 The main CPU (aka. _CPU1 Discovery_) firmware is splitted in two parts:
|
|
|
4 - The proper _CPU1 Discovery_ firmware, with the main code.
|
|
|
5 - The _protected upper memory_ firmware, which is programmed during _OSTC4_ production, and contains (amongst other things) code used to upload and install firmware upgrades.
|
|
|
6
|
|
|
7 ## Make a specific project ##
|
|
|
8
|
|
|
9 Follow the same procedure than for [CPU1-Discovery](Detailed CPU1-Discovery Project.md), (same processor, same includes) but include the `CPU1-Upper` source directory.
|
|
|
10
|
|
|
11 **
|
|
|
12 NOT FINISHED YET... BE PATIENT
|
|
|
13 **
|