Code crashes at __libc_init_array

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Code crashes at __libc_init_array

1,201 Views
prashanttawde
Contributor II

Hello,

I am working on MK61FX512 controller with MQX as RTOS. My development environment is Kinetis Design Studio.

I am running my application from DRAM memory. Currently, I am able to build, link MQX code to my application and it is debugging properly with jlink debugger.

Here, I am facing one issue. whenever code reaches to __libc_init_array call from toolchain_startup function. My code get crashes without any traces.

Any special library need to this during compilation or anything else I am missing here.

Thanks and Regards,

Prashant Tawde

2 Replies

538 Views
soledad
NXP Employee
NXP Employee

Hi,

Please check the below thread and let me know if this helps!!!

On the startup


Have a great day,
Sol


-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

538 Views
prashanttawde
Contributor II

Thanks Soledad. Issue is resolved now.

0 Kudos