This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c6748 SOM SPI Flash Boot and JTAG prints/debug

Hi,

I'm using 6748 SOM. I have my program is booting from SPI flash. I'm using AIS gen to generate my flash code.  

The problem I'm facing is that I have to remove the JTAG connection to enable the SPI flash boot. 

Is there anyway I can use the JTAG to print / debug the code while booting from SPI flash.  

Any help would be appreciated. 

AJ

  • Asif,

    Debugging the application after flashing it is not an recommended debug environment. I would recommend validating the application in CCS environment and then once the application is validated you can convert it to a SPI flash boot image and flash it on the device. when you create a SPI flash boot image, the processor will start executing your code as soon as the ROM boot completes and so you would not get a chance to connect to the device unless you but the processor in an idle loop as is the case in emulation debug mode described in the bootloader app note.

    If you still wish to go down this road, I would recommend using UART to print out your messages as has been described in this discussion but that seems additional work when you have the option to debug your application with full features in CCS.

    http://e2e.ti.com/support/embedded/starterware/f/790/t/153216.aspx

    Regards,

    Rahul