Closed drvrh closed 6 years ago
ARM Internal Ref: ONME-3602
While debugging I found out that after calling the osDelay(milisec) function in the Thread.cpp file stops in the Assembler sentence STR R2, [R3] in line 88 in the irq_cm3.S file and I get the mentioned fault.
@betzw Are you aware of this?
Also, do you have this HW available to test this?
Seems to be ST NUCLEO_L152RE and X-NUCLEO-IDS01A4.
I have ST NUCLEO_L152RE and X-NUCLEO-IDS01A4.
Can you attach debugger and provide backtrace from what functions caused the hard fault?
While debugging I found out that after calling the osDelay(milisec) function in the Thread.cpp file stops in the Assembler sentence STR R2, [R3] in line 88 in the irq_cm3.S file and I get the mentioned fault.
2018-05-04 14:09 GMT+02:00 Wolfgang Betz notifications@github.com:
Can you pls. post also the list of registers with their content?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ARMmbed/mbed-os-example-mesh-minimal/issues/183#issuecomment-386581760, or mute the thread https://github.com/notifications/unsubscribe-auth/AI5_PnrprcQk3ZgiLSEsIXTZ1hQ9uTBEks5tvEUDgaJpZM4TjAdu .
-- With regards, Grega Mocnik, mag. inz. ele. (UN) - BSEE Lese 46c, 2391 Prevalje SLOVENIA Telephone: +386 31 296 019
I also want to know, why not only the 6lowpan stack is compiled but also the Thread and some Lora source?
Because that is how Mbed build system works. Everything is compiled in. It is a job of the linker to drop the unused references.
May I ask you another favor, could you pls. apply the Crash Log Parser Tool and report back the outcome of the tool?
Hi @drvrh , would you be able to provide those further logs/output requested by @SeppoTakalo and @betzw
Closing as there is not enough information provided.
Please reopen with requested information, if the problem still persist.
When I run mbed-os-example-mesh-minimal with settings for NUCLEO_L152RE and changed MBEDAPP.json file. I get the following error in debugging mode. I attach a print screen output log after compiling.
MBED_APP.json
Top of the my main.cpp
After debugging I can see this error on UART: