[riot-devel] MRF24J40 radio module driver - Stack-Pointer corrupted

Peter Kietzmann peter.kietzmann at haw-hamburg.de
Fri Aug 12 16:23:21 CEST 2016


Hi Neo,

unfortunately I don't have an idea out of my head. Which board do you 
use for development? Obviously you landed in the cortex common panic 
handler:

https://github.com/RIOT-OS/RIOT/blob/master/cpu/cortexm_common/panic.c#L34

It would be great if could share your code so someone (e.g. me) could 
counter check.

Best regards
Peter

Am 02.08.2016 um 23:44 schrieb Neo:
> Hello to everyone,
> during the porting of the MRF24J40 driver i get the following
> error-message:
>
> Stack pointer corrupted, reset to top of stack
> *** RIOT kernel panic:
> HARD FAULT HANDLER
>
>    pid |  name       | state   Q  | pri | stack (used) | location
>     -   | isr_stack   | -         -     |  -    |  1024 ( 508) | -
>     1  | idle           | pending Q | 15 |    256 ( 140) | 0x 200006a0
>     2  | main         | running Q | 7   |  2048 (788)  | 0x 200007a0
>     3  | pktdump  | bl rx       -  | 6   |  2048 (248)  | 0x 20001f6c
>     4  | 6lo           | bl rx      -   | 3   |  1024 (296)  | 0x 20002d34
>     5  | ipv6         | bl rx      -   | 4   |  1024 (388)  | 0x 20001490
>     6  | udp         | bl rx      -   | 5   |  1024 (280)  | 0x 2000353c
>     7  | mrf24j40 | bl rx     -   | 3   |  1024 (564)  | 0x 20000ff4
>     8  | RPL          | bl rx     -   | 5  |   1024 (208)  | 0x 20002864
>         | SUM        | bl rx     -    |     |   10496 (3420)
>
> *** halted.
>
> Inside isr -13
>
>
> The failure happens, when I use the command ifconfig without parameters
> in the gnrc_networking example.
> Has anyone an idea about the reason of that fault?
>
> Thanks,
> Neo
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

-- 
Peter Kietzmann

Hamburg University of Applied Sciences
Dept. Informatik, Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49-40-42875-8426
Web: http://www.haw-hamburg.de/inet


More information about the devel mailing list