Hello,
I like to be able to lock the Infineon XMC1400 after programming. For this the BMI (boot mode index) needs to be changed from UMD (programming mode) to UPM (production mode, locked).
I created a J-Flash project and found the possibility to define exit steps. I defined the steps to call the rom function that sets the BMI.
Adding 'Comment' steps do not appear in the logging, Reading registers aren't shown either.
It appears that the Init steps and Exit steps are not executed when using Production Programming. The programming of Flash works, and the build-in BMI change from ASC to UMD woks as well.
What are the conditions neccesary to execute ?
What is the state of the CPU and power after programming but before execute the Exit steps ?
Are there other possibilities of using J-Link+ to set the BMI ?
I like to be able to lock the Infineon XMC1400 after programming. For this the BMI (boot mode index) needs to be changed from UMD (programming mode) to UPM (production mode, locked).
I created a J-Flash project and found the possibility to define exit steps. I defined the steps to call the rom function that sets the BMI.
Adding 'Comment' steps do not appear in the logging, Reading registers aren't shown either.
It appears that the Init steps and Exit steps are not executed when using Production Programming. The programming of Flash works, and the build-in BMI change from ASC to UMD woks as well.
What are the conditions neccesary to execute ?
What is the state of the CPU and power after programming but before execute the Exit steps ?
Are there other possibilities of using J-Link+ to set the BMI ?