Hello,
In my application I need to program TMS320F28035 MCU using serial interface such as I2C, SPI or UART.
I read boot rom reference manuel. As I understand for serial programming with serial booting I should follow these steps.
- Project is compiled and COFF output file is converted to hex file by using hex utulity.exe command.
- If I2C interface is used for serial programming converted hex file is loaded to eeprom with device adress 0x50. After setting correct GPIO pins for I2C boot and resetting then device enters to I2C boot and hex file loaded to eeprom is transfered to flash memory of C2803x micro.
- The same is true for SPI and UART booting. For SPI booting converted hex file is loaded to SPI memory (It can be SD memory). Then after setting GPIO pins and resetting then hex file saved in SPI memory is transfered to C2803x micro.
- For SCI or UART booting converted hex file is transfered to C2803x flash by using PC and programs like C2Prog, codeskink or hyperlink.
For serial flash programming using boot loader should I follow this steps?
Second question is about choosing boot mode.
Is it possible to choose I2C or SPI boot without using emulator? That is I think these modes are choosen in emulation mode.
Or is it possible to choose these boot modes in stand alone mode? That is by setting GPIO pins and resetting MCU is enough for entering I2C and SPI boot mode?
Thanks,
Raşit GÖKALAN