Goodmorning,
I'm using imxrt1064-evk demo board and SDK version 2.9.1. I'm using optimize most (-O3) and linktime optimization flag enabled since we need the maximum performance.
Our main objective consists of sending raw ethernet frames. In order to do that, at first I tested the LWIP tcp raw echo example from the SDK and it worked perfectly. Then, reading lwip code, I didn't find any ready to use functions to send raw packets, hence I wrote some code on my own for this purpose.
When I try my custom functions, I get the error:
Thread #1 1 (Suspended : Signal : SIGHUP:Hangup)
HardFault_Handler() at 0x7000af40
<signal handler called>() at 0xffffffe9
But, if I untick the linktime optimization flag, the error doesn't happens and the code that I wrote, works.
I've got two questions:
Thank you in advance.
Regards,
Davidino
Solved! Go to Solution.
Hello to all,
I resolved the problem increasing RAM Stack space as I noticed that variables were created at an illegal space address.
Thank you,
Davidino
Hi @Davidino
Can you share your custom code here for me to reproduce your issue on my side? or send it to me via a support ticket .
Regards
Daniel
Hello @danielchen ,
thank you for your answer. I'll open a ticket stating that I need you to analyze the problem, but please read the following points:
Thank you.
Regards,
Davidino
Hello to all,
I resolved the problem increasing RAM Stack space as I noticed that variables were created at an illegal space address.
Thank you,
Davidino