c++11 std::atomic

Mikhail Svetkin mikhail.svetkin at gmail.com
Thu Jul 13 11:00:05 UTC 2017


I have figured out.

I used my own BSP (stm32f7).
It happend only with SDRAM.
The example worked correctly with internal flash.

Also i wrote a small inline asm functions for atomic
operations(increment/decrement).
They both worked correctly with internal RAM.
They worked correctly in bsp_hook, bsp_start, but they did not work in Init
function(I recived _ARMV7M_Exception_default) with SDRAM.

I think i have problem with MPU configuration

2017-07-13 10:00 GMT+05:00 Sebastian Huber <
sebastian.huber at embedded-brains.de>:

> On 12/07/17 14:13, Mikhail Svetkin wrote:
>
> I updated RSB and RTEMS, but i had the same problem.
>>
>> arm-rtems4.12-gcc -v
>> (gcc version 7.1.0 20170502 (RTEMS 4.12, RSB
>> f3b8da031e42d126afd94d17582123f66b78a68, Newlib 2.5.0.20170623) (GCC
>>
>
> The latest RSB is 83973200f0e69a897f9a35d68a689ce706dcfb78, but this
> version is all right if you don't have an SMP system.
>
> rtems-git (e19da87ad706bf79fa0e22f1f7d68e21bca2e296)
>>
>
> Ok.
>
>
>> Also i tried this example on sparc simulator and it's ok.
>>
>
> 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?
>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170713/2b96dd2b/attachment-0002.html>


More information about the users mailing list