Hi Tim,
We followed your valid suggestion and now, we were able to observe the same instability in data transmission that the data was sent only after three to four trials. The attached bench sends data over DCAN after the mentioned trials.
Snippet from UART log file DCAN_Test_v02.log:
rxdata:2=74735f5f sharedDram=1 +1=8
rxdata:3=70006c61 sharedDram=1 +1=8
rxdata:4=7363775f sharedDram=1
# ./pruloader
INFO: Starting PRU_memAccess_DDR_PRUsharedRAM example.
INFO: Executing example.
INFO: Loading Data. success
INFO: Executing example.
success
INFO: Initializing example.
rxdata:0=69007265 sharedDram=80 +1=9
UART Observation:
The one in Red is invalid and Green is valid
During initial trial, the control/code stops in initDcan function, after few trials it reaches till the end of initDcan function and so.
We are not sure about the cause for the problem, we are trying to debug with memory dumps of text and data region. Would be very helpful if you have some inputs to us.
(Please visit the site to view this file)