<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><div>On 29/06/2018 08:33,<span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">Chris Johns<chrisj@rtems.org></span> wrote:</div><div>>Are you running in secure mode, ie a secure boot with an AES key in the BBRAM or</div><div>>eFuse?</div><div> </div><div>>There is a bug in the Zynq with the SRST bit when operating in secure mode. You</div><div>>need an external hardware reset.</div><div><br></div></div><div>thanks reply, but i do not use AES key or efuse? i just use emultor to debug this function , </div><div><br></div><div>when i run to this line "<span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;">*pREG_PSS_RST_CTRL </span><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5; white-space: pre;"> </span><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;">= 1;" ( </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">pREG_PSS_RST_CTRL </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0); white-space: pre;"> is a pointer to register </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">PSS_RST_CTRL which i defined)</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">the program run fly . i just run program in cpu0 ,but when run fly ,the cpu1 is also in running state.</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">as in my opinion, i think when i run </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">"</span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">*pREG_PSS_RST_CTRL </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0); white-space: pre;"> </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">= 1;", the PC pointer in the ARM should jump to reset ISR in start.S, but it didn't.</span></div><div><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">is the software reset also send a pulse in the reset pin just i push reset button in the reset pin? is the bootrom will run again and then load fsbl again and then run my program? </span></div>
<div><br></div><div>sorry. i have some confuse about the above problems</div><div><br></div><div>best </div><div>ben</div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>bin.wang@qkmtech.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:chrisj@rtems.org">Chris Johns</a></div><div><b>Date:</b> 2018-06-29 08:33</div><div><b>To:</b> <a href="mailto:bin.wang@qkmtech.com">bin.wang@qkmtech.com</a>; <a href="mailto:users@rtems.org">Users</a></div><div><b>Subject:</b> Re: zynq bspreset function do not work</div></div></div><div><div>On 28/06/2018 17:13, bin.wang@qkmtech.com wrote:</div>
<div>> </div>
<div>> i want to use the zynq 7000 bspreset function to reset the system.</div>
<div>> but when i call this funtion ,the code run fly .</div>
<div>> what i should do before i call this funtion ?</div>
<div> </div>
<div>Are you running in secure mode, ie a secure boot with an AES key in the BBRAM or</div>
<div>eFuse?</div>
<div> </div>
<div>There is a bug in the Zynq with the SRST bit when operating in secure mode. You</div>
<div>need an external hardware reset.</div>
<div> </div>
<div>Chris</div>
<div> </div>
</div></blockquote>
</body></html>