3.3.1:UID Signature
1:About placeholders
UID_KEYADDR_PLACEHOLEDR_EN When not masked, an overflow error is reported no matter how the address is changed.
Treatment:
- The first method is to mask out the placeholders so that there will be no reserved space in the program space.
- The second method is to move the signature address toward the front address of the flash.
caution
If the first method is used, masking the placeholder space for the signature data means that the compiler's automatic checking will be skipped, and the actual signature address that is written, must not have any data or it will be overwritten by the signature.
2:Verify signature
This can be done by adding test code to the code, such as IO output signals, or by adding a logging feature to the developer version of the firmware to output the signature results to the log port.
3:Write Signature
- In online mode: Use full-featured automatic programming.
- In offline mode: Use offline mode normally.
tip
If you use ICWKEY for signing, you can only use offline mode.