Hi Eriza,

> On 10 Feb 2015, at 11:30, Eriza Fazli <[email protected]> wrote:
> 
> The thing is, RIOT crashes (HARD FAULT), somewhere in the call to
> at86rf231_transmit_tx_buf (which is called by at86rf231_send), I
> suspect at this line [1].

Your problem seems somehow related to this one on github [1]. My analysis
so far indicates this happen due to a race condition under very special 
conditions.
To track this down, could you test two approaches for me?

1. On your board, does the radio device has its own SPI bus? Could you report 
your
results when removing all `spi_acquire` and `spi_release` calls in 
at86rf231_spi.c?

2. Try to compile your application without compiler optimisation by changing the
the `CFLAGS` in Makefile.include from `-Os` to `-O0`. (If applicable).

Best, Thomas

[1] https://github.com/RIOT-OS/RIOT/issues/2418
_______________________________________________
users mailing list
[email protected]
http://lists.riot-os.org/mailman/listinfo/users

Reply via email to