Basic knowledge of SCI serial port programming of TMS320F28035
[Copy link]
The bootloader (BootLoader - described in detail in the application manual provided by TI) is a program located in the on-chip boot ROM, which is executed after reset. The bootloader is used to transfer code from an external source to the internal memory after power-on (i.e., to solidify the code received by the I/O port into the FLASH).
In the application manual (TMS320F2803x Piccolo Technical Reference Manual - in the information under the TMS320F28335 chip on TI's official website), there are various boot mode configurations as shown in the figure below. The
commonly used JTAG burning is the Mode EMU in the figure below. The TRST pin of the emulation debugger (EMULTOR) corresponding to the JTAG port outputs a high level, that is, the Emulation Boot mode is directly selected.
SCI serial port download also needs to be selected through hardware settings (i.e. GPIO37 weak pull-down, GPIO34 weak pull-up, TRST is determined to be in a low level state); it should be noted that the SCI communication port must be GPIO28/29. The Boot Mode selection circuit on my control board is shown below.
|