<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">Hi Chris , </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">I did the 'si' and more break points , and now I can see why it never stops .</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style=""><div class="gmail_default" style=""><font color="#0b5394" face="trebuchet ms, sans-serif">Breakpoint 7, arm_cp15_start_setup_translation_table (ttb=<optimized out>, client_domain=15, config_table=0x104348 <zynq_mmu_config_table>, </font></div><div class="gmail_default" style=""><font color="#0b5394" face="trebuchet ms, sans-serif">    config_count=14) at ../../../../../.././xilinx_zynq_zedboard/lib/include/bsp/arm-cp15-start.h:133</font></div><div class="gmail_default" style=""><font color="#0b5394" face="trebuchet ms, sans-serif">133<span class="" style="white-space:pre">        </span>  for (i = 0; i < ARM_MMU_TRANSLATION_TABLE_ENTRY_COUNT; ++i) {</font></div><div class="gmail_default" style=""><font color="#0b5394" face="trebuchet ms, sans-serif"><br></font></div><div class="gmail_default" style=""><font color="#0b5394" face="trebuchet ms, sans-serif"><div class="gmail_default">Breakpoint 8, arm_cp15_start_setup_translation_table (ttb=<optimized out>, client_domain=15, config_table=0x104348 <zynq_mmu_config_table>, </div><div class="gmail_default">    config_count=14) at ../../../../../.././xilinx_zynq_zedboard/lib/include/bsp/arm-cp15-start.h:134</div><div class="gmail_default">134<span class="" style="white-space:pre">   </span>    ttb [i] = 0;</div><div class="gmail_default"><br></div><div class="gmail_default">I checked the file arm-cp15-start.h and the debugger is stuck in this loop. When entering 'si' the gdb never stops on executing lines 133 then 134 then 133 again ...</div><div class="gmail_default">I don't know why it never stops in this loop. </div></font></div><div style="color:rgb(11,83,148);font-family:'trebuchet ms',sans-serif;font-size:small"><br></div><div style="color:rgb(11,83,148);font-family:'trebuchet ms',sans-serif;font-size:small">That explains why it never stops. But , I looked for this problem on the internet and nobody is talking about this. </div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="verdana, sans-serif" color="#073763">________<br></font></div><div><font face="verdana, sans-serif" color="#073763"><br></font></div><font face="verdana, sans-serif" color="#073763"><b>Badr EL HIOUEL</b> </font><div><div><font face="verdana, sans-serif" color="#073763">Mail :<a href="mailto:elh.badr@gmail.com" target="_blank"> elh.badr@gmail.com</a></font></div><div><br></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-03-25 9:59 GMT+01:00 Badr El Hiouel <span dir="ltr"><<a href="mailto:elh.badr@gmail.com" target="_blank">elh.badr@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">Hi Chris , </div><span class=""><br> <br><br>> Did XMD produce any output that indicates a problem? Please make sure XMD has not crashed. I have seen it crash in the past, however that was a while ago on an old SDK.<br>> Maybe set a few other breakpoints. I would set breakpoints on bootcard and Init.<br><br></span><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">​XMD has not crashed and there was any output that indicates a problem. I did this operation many times.​</div><span class=""><br><br>> If you have debugging info you should see the assembler source code for start.S and so you should be able to step it. If you see the source code try 's' or 'si'.</span><div><div><br></div><div><div class="gmail_default"><span style="color:rgb(11,83,148);font-family:'trebuchet ms',sans-serif;font-size:small">​Yes, i can see the source code of the start.S, I re-did this operation this morning again, and instead of doing cont I did next to debug the code line per line. And everything went fine until the line code of the start.S     </span></div><div class="gmail_default"><span style="color:rgb(11,83,148);font-family:'trebuchet ms',sans-serif;font-size:small"><br></span></div><div class="gmail_default"><span style="color:rgb(11,83,148);font-family:'trebuchet ms',sans-serif;font-size:small"> ​</span><font color="#0b5394" face="trebuchet ms, sans-serif">b<span style="white-space:pre-wrap">          </span>bsp_start_hook_0</font></div><div><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">​After I did next and it never stops. I think the problem is in this branch .. But what is the functionnality of this ? and where I can find this function ? </div><br></div><div><span class="">> I assume there is no watchdog hardware running?<br><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">​</div></span><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">I don't know how can I check if the watchdog is running or not. What can be the impact of the watchdog ? ​</div><span class=""><br><br>> I have never used XMD but I know users have. I have been using OpenOCD.<br><br></span><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">​I read papers you wrote about this technique. To perform it, we have to get other tools (than the tools of the kit )</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div>> Chris</div></div></div>
</blockquote></div><br></div>