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

Neo neo at nenaco.de
Sat Aug 13 15:43:46 CEST 2016


Hello Peter,
I made some changes and since then I haven't seen this any more.
....don't know what the reason was....
Thanks!

Best regards
Neo

Am 12.08.2016 um 16:23 schrieb Peter Kietzmann:
> 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
>



More information about the devel mailing list