281x DSP does not require an emulator, serial port flash programming method[Copy link]
Considering the many working people who cannot afford the simulator! Here is a method to download flash to 281x using PC RS232: Step 1: Install CCS to ensure that your source code can be compiled into the downloaded source code: xxx.out file. Step 2: Install the serial port programming algorithm project file: sdf28xx_v3_0_serial (available for download on the Ti website). For details, please read the included: SDFlash_Serial_RefGuide_v3_0.pdf file. Step 3: Set the corresponding clock frequency in the algorithm project file and generate the .out file. (1) Import the F2812SerialFlash.pjt file in CC. File directory: C:CCStudio_v3.1specdigsdflashmydriversDSP281x_v3_0DSP281x_serialuildF28xxSerialFlash (2) Set the corresponding clock frequency of your target board in the corresponding PLL clock in Flash280x_API_Config.h. I use a 20M crystal. Select: #define CPU_RATE 10.000L // for a 100MHz CPU clock speed (SYSCLKOUT) (3) Save and compile the project file, generate the F2812SerialFlash.out file and store it in: C:CCStudio_v3.1specdigsdflashmydriversDSP281x_v3_0DSP281x_serial in Note: Make sure your program space is defined in the flash segment (modify it in the CMD file) Step 4: Install SdFlashV1.60 or higher Step 5: Edit the sdopts.cfg file, which is stored in the System32 directory of your Windows installation (1) Open sdopts.cfg with Notepad (2) Add the following text before "# End of sdopts.cfg": [EmulatorId=C1] EmuPortAddr=0xC1 EmuPortMode=RS232 EmuProductName=SERIAL_FLASH [EmulatorId=C2] EmuPortAddr=0xC2 EmuPortMode=RS232 EmuProductName=SERIAL_FLASH [EmulatorId=C3] EmuPortAddr=0xC3 EmuPortMode=RS232 EmuProductName=SERIAL_FLASH [EmulatorId=C4] EmuPortAddr=0xC4 EmuPortMode=RS232 EmuProductName=SERIAL_FLASH Copy code Step 6: Open SDFlash and specify the algorithm file path according to the method provided in SDFlash_Serial_RefGuide_v3_0.pdf In the Project settings, if you use COM1 of the PC, select C1 as the emulator and select C2 for COM2 Step 7: Connect the SCI_A of the DSP to the RS232 port of the PC. Set the following pins of the DSP to the corresponding levels, and then reset them. When reset: GPIOF4=0 GPIOF12=0 GPIOF3=1 GPIOF2=1 Note: GPIOf4 is SCI_A TXD terminal, after the reset is completed, the original DSP should be restored to the state where it can transmit signals. Step 8: Click the Flash item in the SdFlash menu--->click Start, that's it!!! PS: This method is relatively old, I have not tried it, and it is only for reference for friends who are interested.