Tool/software: Code Composer Studio
I am having trouble getting PRU to work consistently through shared memory. In shared memory, I have a structure of structures that represent data shared between the c6748 host and the PRU. The symtom exhibited by the problem (which is undefined at this point, since I'm asking the question) is that starting the PRU without stepping or using breakpoints fails to start PRU execution properly. If I single step or use breakpoints, I am able to start the PRU. The sequence I am using is reset by writing a 0 to control register, followed by program load (array transfer to pru imem), followed by enable execution by writing 0x03 to control register. Puzzlling! Is there other initialization step I should take at the front of the PRU code to ensure proper and consistent startup of PRU?