Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE
Tool/software: Code Composer Studio
Hi,
I am trying to get the boot-loader example from controlSUITE\device_support\~Utilities\serial_flash_programmer\f2837xD_fw_upgrade_example working.
I have read all the application notes and TMR's.
Something is still not clear to me,
To my understanding, I need to write the flowing values:
DcsmZ1Regs.Z1_BOOTCTRL.bit.KEY = 0x5A;
DcsmZ1Regs.Z1_BOOTCTRL.bit.BMODE = 0x01;
This is done so the next time the device reset, using the "Get boot" mode the boot loader will go to SCI.
however, on the TMR, Z1_BOOTCTRL and Z2_BOOTCTRL are read only.
Indeed when trying to run this code on with the debugger attached, I cant write to these registers.
Also, can you please explain in more detailed the difference between Z1 and Z2?
why are there 2 zones? when should Z2 be used?
Thanks!