Other Parts Discussed in Thread: UNIFLASH, CONTROLSUITE
I have a custom bootloader that resides in Sector A. It is structured such that upon reset the bootloader is run which then checks for a valid application in another Section of Flash and then jumps to it. This has all been working reliably for some time.
I am now intersted in turning on the CSM. When I program a key to the CSM either using CCS v5.5 or Uniflash v3 my bootloader no longer runs. It seems as if the code is not branching appropriately to the codestart section.
I assumed that I could write a key to Sector A that had already been programmed (but not the key locations) as the flash manual states that flash writes of 1 bit are possible. I noticed that the jump to flash memory location resides right between the zeros and the key for the CSM. Could it be that the writing of the key somehow also over writes this?
What is the correct proceedure for loading code into sector A and programming the key as a seperate step?
Are there modifications that need to be made to the cmd file in order to support the CSM that I am missing?