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.

AM437x QSPI NOR XIP debug with CCS6.1

Hi,

 

currently I am using CCS6.1 running on Linux U12.04-64 with the AM437x Starterkit on board XDS100v2. I am trying to debug code that resides in QSPI NOR, which is execute-in-place XIP starting at addresses 0x30000000. The code in QSPI is u-boot-qspiboot.bin. Here is a sequence to get that started:

[] Boot up from SDCARD to u-boot prompt, btw QSPI flash is already flashed with u-boot-qspiboot.bin

[] # sf probe 0

[] Connect with CCS to A9

[] Run GEL script default à AM43xxStartState (this will put it in SPV mode and turn MMU off)

[] Run GEL script default à Disable Watchdog

[] Set 0x47900064 register to 0x3 (now QSPI is visible through 0x30000000)

[] Load symbols of u-boot-qspiboot

[] Set PC to symbol “reset”

[] Now I can step from there, or run

 

My primary problem is that HW breakpoints don't seem to work. The CPU runs right past them. Has anyone tried this?

 

Thanks,

--Gunter

  • Gunter,

    There is an older thread that reports this issue as well with Cortex A9 cores.

    e2e.ti.com/.../423881

    A bug was filed (SDSCM00051939) but it is currently on limbo state. I will try to reassign it to folks that can take a look at it.

    Unfortunately the latest CCS with the latest TI Emulators component still does not work.

    I apologize for the inconvenience,
    Rafael