Dear Sir or Madam,
Hello. I have a question about SDMA debug mode in i.MX6DL.
[Issue]
In case of data transfer via SDMA:
When the value of "Channel Control Block" and "Channel Context" becomes except zero, SDMA has entered in the debug mode.
When zaro clearing these memory areas, the problem didn't happen.
[Questions]
Why does the problem occur when Channel Control Block and Channel Context are except 0?
BSP: L3.14.28_1.0.0
Best Regards,
Keita
Hello,
According to section 55.4.5 (OnCE and PCU Debug States) of the i.MX6 S/DL RM :
"When a channel is running (that is, when CCR and CCPRI are different from 0,
which can be read in the PSW register), SDMA can execute a SoftBkpt instruction
from the channel script or receive a debug request. When either happens, the SDMA
enters its "Classical" Debug state, which is described in OnCE and Real-Time
Debug."
This means, that in Your case SoftBkpt instruction is located in the channel script
(what script is used ?) or a JTAG debug request has been received.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri,
Hello. Thank you for your reply.
> This means, that in Your case SoftBkpt instruction is located in the channel script
> (what script is used ?)
My customer has used "mcu_2_shp" script.
(The same phenomenon happened by using mcu_2_app, too.)
[Questions]
[Q1] (My 1st question)
Why does the problem occur when Channel Control Block and Channel Context are except 0?
I didn't understand the relation of the problem and these register (Channel Control Block, Channel Context).
[Q2]
> This means, that in Your case SoftBkpt instruction is located in the channel script
> (what script is used ?) or a JTAG debug request has been received.
Is it possible to use JTAG debugger for SDMA debug purpose?
Best Regards,
Keita