Could anyone explain me what is wrong with instruction execution on am335x(Beaglebone black) or IDE Code Composer Studio v6 (Ubuntu 14.04) or dubugger(Blackhawk 100v2)?
I receive strange number of cycles per instruction(CPI) while debugging code step by step. (I mean from 190 cycles per BL instruction in good scenario to 17,179,869,606 cycles per STRB instruction)
I have tried different code locations (SRAM, L3OCMC0, DDR0) , with or without MMU & caching but still can figure out why it take so long to do simple task.
How many cycles usually takes instruction (e.g. BL) fetched from SRAM memory?
P.S. It bare-metal tests with no Linux environment or StarterWare SDK. All configuration done by beagleboneblack.gel script (CPU 500MHz, DDR3 400MHz)