<div dir="ltr"><div>I have figured out.</div><div><br></div><div>I used my own BSP (stm32f7).</div><div>It happend only with SDRAM.</div><div>The example worked correctly with internal flash.</div><div><br></div><div>Also i wrote a small inline asm functions for atomic operations(increment/decrement).</div><div>They both worked correctly with internal RAM.</div><div>They worked correctly in bsp_hook, bsp_start, but they did not work in Init function(I recived _ARMV7M_Exception_default) with SDRAM.</div><div><br></div><div>I think i have problem with MPU configuration</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-13 10:00 GMT+05:00 Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 12/07/17 14:13, Mikhail Svetkin wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I updated RSB and RTEMS, but i had the same problem.<br>
<br>
arm-rtems4.12-gcc -v<br>
(gcc version 7.1.0 20170502 (RTEMS 4.12, RSB f3b8da031e42d126afd94d17582123<wbr>f66b78a68, Newlib 2.5.0.20170623) (GCC<br>
</blockquote>
<br></span>
The latest RSB is 83973200f0e69a897f9a35d68a689c<wbr>e706dcfb78, but this version is all right if you don't have an SMP system.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
rtems-git (e19da87ad706bf79fa0e22f1f7d68<wbr>e21bca2e296)<br>
</blockquote>
<br>
Ok.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Also i tried this example on sparc simulator and it's ok.<br>
</blockquote>
<br></span>
I tried this example on the realview_pbx_a9_qemu BSP. I am quite interested to find the problem. Which BSP do you use? Can you debug the example and figure out what "program is not responding" is actually?<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</div></div></blockquote></div><br></div>