Which processor?Are you referring to doing your own SoC design?regards,joseph
Hi,If it is only ARM Chip then knowledge of Debug arch is more than enough.. If you are talking from SoC point of view.. were you may hv zero, one or more other processor.. then you will need a special controller which uses Test Scan Cain to reach to all the programmable registers or processors debug ports in serial or parallel mannar. This is typically called ICE. This ICE is connected to JTAG. JTAG is a way to connect this SoC to outside world to the ARM/ARM Based SoC. In production devices typically this ICE is dissabled(using fuse) so that there will not be any 'insight' to outside world. Regards,Kedar Kulkarni[font="Verdana"][color="#FF8C00"]One day all digial world will be in my ARMs[/color].[/font]
It depends on the chip you use. Some microcontrollers has firmware protection features (on the system level) so you will need to check with your microcontroller providers/vendors on this. It is unlikely that you can enable it by ROM code, but you might be able to erase the whole flash and reprogram it.
Hello,I have a question from customer regarding how to disable JTAG in their final product to prevent their application code from explosion from JTAG interface.Since I am not familiar with JTAG debug module and ARM core interaction mechanism, I would like to know if there is any document talking about the JTAG debug detail procedure. (1) We have a plan to disable the JTAG port during reset stage of the MCU, and enable it with the built-in ROM code in certain stage. I am not sure if it is workable, any attention needed?(2) Is the system reset a must when entering JTAG debug mode? If not, please help explain the detail procedure on how JTAG take control of core.Thanks a lot!
Thanks for your comments.But I still have a concern: in production devices, the ICE will be disabled. Does that means there are no way to enable it again, and there is no way to control the device through JTAG port anymore. I am still looking for a method to dynamically control the access of JTAG interface, by password, or something else. I am stiil not sure if it workable that we disable the JTAG interface in reset stage and enable it by ROM code in later stage.Thanks!