Other Parts Discussed in Thread: C2000WARE,
Tool/software:
Major concern :- 1.Detailed steps to change BMSP0 to GPIO73 in Z1_BOOTCTRL and leave others to default ?
2.To test this I need to try EMU boot mode what value and which address. I tried using 0xFE5A for 0xD00 and 0x004A for 0xD01 but it is not working.
Issue:- Confusion on BMODE Behaviour When Switching Boot Modes Using BMSP Pins and Implementation of changing BMSP0
I'm working on a setup where:
- The application code should load from Flash by default.
- When Boot mode is switched to SCI mode, it should load code via the SCI bootloader.
Factory Default Setup:
- BMSP0 - GPIO84
- BMSP1 - GPIO72
- SCI TX - GPIO84
- SCI RX - GPIO85
Since there's a pin conflict with this setup, I tested the SCI bootloader using Emulation Boot Mode by modifying the memory location 0xD00 to 0x815A to switch the SCI pins to their alternate configuration:
- Alternate SCI TX - GPIO29
- Alternate SCI RX - GPIO28
Current Requirement:
I now want to change BMSP0 to GPIO73 instead of the default value to manage boot mode selection.
Questions:
- In the Z1_BOOTCTRL register, I understand the purpose of BMSP0, BMSP1, and Key, but what role does BMODE play if boot mode is selected using BMSP pins?
- If BMODE overrides the pin-based boot mode selection, how can I configure it to allow switching between Flash and SCI mode as per my requirement?
- To modify only BMSP0 while keeping all other parameters at default values, what value should I write to the Z1_BOOTCTRL register and HOW?
- Is there any document or code example available to implement this correctly?
Any guidance or references would be greatly appreciated.