Tool/software:
Hello expert, I want to burn DSP program on the upper computer, I specifically look at the fourth chapter and history of the chip manual, but I did not understand, may I ask if there is a specific manual of F28P65-CPU2 burning program: such as SCI burning program to FLASH which address to burn?
Hello,
Please refer to this application note for details about performing firmware upgrades for CPU1/2 over SCI on F28P65x.
may I ask if there is a specific manual of F28P65-CPU2 burning program: such as SCI burning program to FLASH which address to burn?
Please refer to Table 4-23 of the technical reference manual. This table lists all the entry points in flash memory that CPU2 can boot to.
Kind regards,
Skyler
Thank you for your reply. I read the document you recommended, but I didn't understand this process. I don't know where to look and which is the mainfunction, as shown in the figure1 below.
figure1
1.My ultimate goal is to add a host computer (QT) to our existing projects to download DSP programs;Which part should I look at for this figure1
figure2
My understanding
1) I should divide existing DSP engineering into boost engineering and application engineering;
2) The start of the existing DSP project is the default, how can I change this process?
3) The existing project.map file can see the text location (as shown in Figure 2), then the bootlooder program before the text location? What do you think?
2.This is where Chapter 4 of the data book corresponds to the process,
I can't find it under the corresponding path?
Hello,
1. Please refer to chapter 12 of the TMS320C28x Assembly Language Tools v22.6.0.LTS User's Guide for details about the C2000 Hex Utility.
2.
What needs to be updated for this upgrade?
I'm not clear on what exactly you're asking here. The flash_kernel_c28x_dual_ex1_c28x1 project should be loaded into RAM of the device (can be done via bootROM or CCS). Once the flash kernel is running in RAM, it is ready to receive a flash-based image to program in flash.
This flash-based application can be in a separate CCS project and you can generate a dedicated hex file for the application using the C2000 Hex Utility. Our examples use a post-build step highlighted in section 3 of the Serial Flash Programming of C2000 Microcontrollers app note. This post-build step builds a txt file that can be interpreted by bootROM and the flash kernel.
Kind regards,
Skyler
Thank you very much for your reply. At present, I want to apply it in the 28P65 project, the current project is CPU1 project and CPU2 project. If I want to do remote program burning, I need to add a BOOT project.
1 Can the BOOT project be rewritten by flash_kernel_c28x_dual_ex1_c28x1?
2 The BOOT project mainly receives program files from the host computer. If the BOOT project successfully receives program files, the Boot program directly jumps to the CPU1 project entry address and the CPU2 project entry address. This entry address corresponds to Figure 1 and the dual core automatically runs?
3 I don't understand the part in Figure 2. Is this part reflected in the flash_kernel_c28x_dual_ex1_c28x1 code?
4.flash_kernel_c28x_dual_ex1_c28x1, in this project, flash_kernel_c28x_dual_ex1_sci_flash_kernel_cpu1.c is the main function file, but does not call the code that interacts with the host.Figure 4 Main functions of functions written in the green box file?
Figure 1
Figure 2
Figure 3
Figure 4
Hello,
1. Yes, you can use a flash kernel to update any portion of flash.
2. Yes, the BEGIN memory section in the CPU1 linker file is the address you should branch to. The CPU1 application can then configure CPU2 and take it out of reset.
3. Yes, this is reflected in the source code. CPU2 images are programmed through the CPU1 kernel. For a reference on how the CPU1 application can allocate memory (RAM and flash) to CPU2, please refer to any of the multicore examples in C2000Ware. For example, you can refer to the LED blinky example at C2000Ware_Location\driverlib\f28p65x\examples\c28x_dual\led.
4. Yes, flash_kernel_x28x_dual_ex1_sci_get_function.c defines most of the functions that interact with the host.
Kind regards,
Skyler
Figure 1
Figure 2
Thank you especially for your reply about modifying the BOOT project
1 I want to change this process to the BOOT project of my project, I want to store my BOOT program in FLASH_BANK1, do I need to change this property, as shown in Figure 1? I'll just report all the errors?
2 CMD file in the program needs to change the green box to FLASH_BANK1, right? As shown in Figure 2
Hello,
1. You just need to update the linker cmd file to reflect this change. The codestart and all other initialized output sections should be mapped to flash bank 1 in your updated linker cmd file. You can use the 28p65x_generic_flash_lnk_cpu1.cmd file as a reference.
2. Yes, this is correct.
Kind regards,
Skyler