Part Number:TMS320C6748
We have developed a custom board with a C6748 processor. For now we've been developing in debug mode, but the idea is to load the code for an embedded W25Q80 SPI serial NOR flash, connected to SPI1 port, chip select 1.
The design is basded on the LCDK but several things change. We already made our custom GEL file for debugging and such. However, after reading documentation an guides I'm not 100% sure of the steps required to flash the app to the SPI flash.
For what I understand, I take the .out file generated while compiling the project and run it through AISgen. I have to configure AISgen for the particular ROM bootloader version in our chips (the latest) and also configure PLL's and DDR the same way I do in the GEL file. For what I understand, what AISgen does is take your executable image (.out) and add to it a header with instructions for the ROM bootloader to properly configure the required stuff before launching the app. Am I right?
Then it comes the flashing itself. Now for this I think there's two ways, with serial flasher or through CCS. I plan on using serial flasher. For that, I should configure the board for UART2 boot, launch the flasher utility with the correct settings and it should work. However, I read somewhere that I need to customize this serial flasher utility for custom boards, and that's where I get lost. Can you please guide me?
So far, I get the serial flasher to do something:
Attempting to connect to device COM6... Press any key to end this program at any time. (AIS Parse): Read magic word 0x41504954. (AIS Parse): Waiting for BOOTME... (power on or reset target now) (AIS Parse): BOOTME received! (AIS Parse): Performing Start-Word Sync... (AIS Parse): Performing Ping Opcode Sync... (AIS Parse): Processing command 0: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 14112-Byte section to address 0x11800000. (AIS Parse): Processing command 1: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 744-Byte section to address 0x11803720. (AIS Parse): Processing command 2: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 32-Byte section to address 0x11803A28. (AIS Parse): Processing command 3: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 20-Byte section to address 0x11803A48. (AIS Parse): Processing command 4: 0x58535906. (AIS Parse): Performing Opcode Sync... (AIS Parse): Performing jump and close... (AIS Parse): AIS complete. Jump to address 0x118031A0. (AIS Parse): Waiting for DONE... (AIS Parse): Boot completed successfully. Waiting for SFT on the OMAP-L138... Flashing application sh8test.bin (130032 bytes) 100% [ ████████████████████████████████████████████████████████████ ] Image data transmitted over UART.
however it gets stuck in there. I haven't modified the flash loader (using LCDK config).
Thanks,
David