2021-10-08 02:20 PM
I am trying to understand the semantics of the "value" field in the option bytes in Cube Programmer. On my STM32G0 part, the PCROP1A_STRT and PCROP1A_END fields have "value" and "address" fields. What are valid inputs for the "value" field? Thanks!
Solved! Go to Solution.
2021-10-08 05:35 PM
PCROP1A_STRT can be any 9-bit value, though it will only have an effect in the corresponding memory region actually exists on the device. The value corresponds to an address according to the following formula (per the Reference Manual):
In this case, it corresponds to 0x08000000 + 0xFF * 0x200 = 0x0801FE00.
The address is shown for convenience. They are not independent values.
In this case, since the start address is after the end address, the region is empty.
2021-10-08 05:35 PM
PCROP1A_STRT can be any 9-bit value, though it will only have an effect in the corresponding memory region actually exists on the device. The value corresponds to an address according to the following formula (per the Reference Manual):
In this case, it corresponds to 0x08000000 + 0xFF * 0x200 = 0x0801FE00.
The address is shown for convenience. They are not independent values.
In this case, since the start address is after the end address, the region is empty.