Part Number: TMS320F280049C
Other Parts Discussed in Thread: UNIFLASH
Tool/software: Code Composer Studio
I'm trying to figure out how to configure the bootloader to ignore all GPIO pins and always boot from FLASH. Looks like according to section 4.3.3.1 in SPRUI33A I need to set Z1-OTP-BOOTPIN-CONFIG = 0x5affffff and BOOTDEF.BOOTDEF0 to 0x03.
How do you write the OTP memory? The example progranm boot_ex2_customBootConfig appears to only write the emulation boot config registers.
This project also has this warning in more than one location:
// Change the value of STANDALONE_BOOT to a non-zero value in order to emulate the
// standalone boot process. WARNING: the standalone boot process requires the
// user-configurable DCSM OTP (one-time programmable) registers to be programmed.
// Please ensure the DCSM OTP registers are programmed before choosing to emulate
// the standalone boot process.
This sounds like you must program the OTP registers before you can emulate boot modes. Is this correct?
Finally can UniFlash be used for this?
If so is the menu shown in the attached image the correct location to do so?
How do the register names used in UniFlash (Z1OTP-BOOTCTRL Z1OTP-GPREG3, Z1OTP-BOOTCTRL Z1OTP-GPREG3) those used in the TRM (Z1-OTP-BOOTPIN-CONFIG, Z1-OTPBOOTDEF-LOW and Z1-OTP-BOOTDEF-HIGH)? I was unable to find addresses in either the datasheet or the TEM.
Do you have to program Z1x and Z2x locations?
Do you need to do anything with the ECC registers?


