This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

f28377d boot mode change



Hi everybody,

I must change the location of the boot mode select pins like it is said below;

What is the instructions of doing this? How could I reach the related registers?

  • Hi,

    This is a read only register which gets loaded from a location in USER OTP (Z1-BOOTCTRL and Z2-BOOTCTRL) by BOOTROM code. User need to program one of this location (on fresh device, Z1-BOOTCTRL) in USER OTP using CCS Flash plug-in (or any other supported Flash tool) with proper value and the same will be reflected in the register shown above.

    Address in USER OTP for Z1-BOOTCTRL register is "0x7801E".

    Please note that this location can be programmed only once becasue it's in OTP (One Time Programmable) memory with ECC enable.

    Regards,

    Vivek Singh

  • We are adding below lines to our usual code. 

    EALLOW

    DcmsZ1Regs.Z1_BOOTCTRL.bit.KEY=0x5A

    DcmsZ1Regs.Z1_BOOTCTRL.bit.BMODE=0xFF

    DcmsZ1Regs.Z1_BOOTCTRL.bit.BOOTPIN0=0x58(which means gpio 88)

    DcmsZ1Regs.Z1_BOOTCTRL.bit.BOOTPIN1=0x56(which means gpio 86)

    EDIS

    but we are unable to change the pins what procedure we should follow could you please explain little more