Hello,
I currently develop an embedded software using TMS320C6678 using the Compiler CGT 8.1.0.
For debugging, JTAG is used by the way of Trace32 software.
It seems execution of some ASM instructions take very long time.
Timing measurement is done using registers TSCH/TSCL as CPU tick counter with CPU tick duration set to 1 nanosecond.
ldwnop.d2t2 *+b15(0x18), b4 lasts about 4 or 5 ns with B15 content located in L2 SRAM
ldwnop.d2t2 *+b4(0x10), b4 lasts about 120 ns with B4 content pointing on SPI configuration registers area (0x20BF0000)
Is this 120 ns duration normal or excessive ? a normal case would mean that TeraNet access time is about 100 ns !!!!
Is it possible such time could be linked to JTAG emulation with Trace32 ?
Note that only PLL and PSC are initialized, meaning that no Memory configuration isdone (Default Memory configuration is active)
Regards
Alban MICHELANGELI