Hi,
I was attempting to try out this platform as I have some available here at work and am also working on Thread.
I am able to build the examples, setup the JLinkGDBServer and flash the output to the board. However, it looks as though currently I never advance past the reset handler. Please find the serial output from the gdb session in which I flashed the elf file to the board. Since I see other people have gone thru this exercise successfully, kind of puzzled as to where to start debugging this. I can't step thru the code
Any input/help would be appreciated
Thanks
Victor
<==========excerpt from gdb session start ==================================================================>
johnsv@johnsv-desktop:~/open_thread_codelab/openthread_src/openthread-master/output/efr32/bin$ arm-none-eabi-gdb ot-cli-ftd
GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<
http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<
http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ot-cli-ftd...done.
(gdb) target remote
127.0.0.1:2331Remote debugging using
127.0.0.1:2331Default_Handler ()
at /home/johnsv/open_thread_codelab/openthread_src/openthread-master/examples/../examples/platforms/efr32/../../../third_party/silabs/gecko_sdk_suite/v1.0/platform/Device/SiliconLabs/EFR32MG12P/Source/GCC/startup_efr32mg12p.c:356
356 while(1);
(gdb) load
Loading section .text, size 0x2c8c8 lma 0x0
Loading section .ARM.exidx, size 0x8 lma 0x2c8c8
Loading section .data, size 0x294 lma 0x2c8d0
Start address 0x202f8, load size 183140
Transfer rate: 14903 KB/sec, 3896 bytes/write.
(gdb) monitor reset
Resetting target
(gdb) c
Continuing.
^C
Program received signal SIGTRAP, Trace/breakpoint trap.
Default_Handler ()
at /home/johnsv/open_thread_codelab/openthread_src/openthread-master/examples/../examples/platforms/efr32/../../../third_party/silabs/gecko_sdk_suite/v1.0/platform/Device/SiliconLabs/EFR32MG12P/Source/GCC/startup_efr32mg12p.c:356
356 while(1);
(gdb) where
Cannot access memory at address 0x2003fff4
#0 Default_Handler ()
at /home/johnsv/open_thread_codelab/openthread_src/openthread-master/examples/../examples/platforms/efr32/../../../third_party/silabs/gecko_sdk_suite/v1.0/platform/Device/SiliconLabs/EFR32MG12P/Source/GCC/startup_efr32mg12p.c:356
#1 <signal handler called>
Backtrace stopped: Cannot access memory at address 0x2003fff0
(gdb) bt
#0 Default_Handler ()
at /home/johnsv/open_thread_codelab/openthread_src/openthread-master/examples/../examples/platforms/efr32/../../../third_party/silabs/gecko_sdk_suite/v1.0/platform/Device/SiliconLabs/EFR32MG12P/Source/GCC/startup_efr32mg12p.c:356
#1 <signal handler called>
Backtrace stopped: Cannot access memory at address 0x2003fff0
(gdb)
<==========excerpt from gdb session end ==================================================================>