I have MCUXpresso v11.2.1[build 4149], I am trying to create a new C++ empty project with MIMXRT1064 SDK v2.8.2. I used the following options, UART as Debug console, package as MIMXRT1064DVL6A, operating system as baremetal. Not redirecting SDK "PRINTF" to C library, Double float soft ABI. I have selected MIMXRT1064.cfx as linkserver driver.
when I select debug, it goes to run mode automatically instead of stopping at main. and when I pause debug, the Heap & stack usage tab shows weird values as shown below. I am able to debug example projects, so my board is working. any help would be appreciated.
I would guess that you have not defined your reset vector correctly. When using C++, don't forget to use extern "C" on your interrupted handlers (such as ResetISR etc).
I think I got different problems all at the same time. I found that my installation of IDE had a problem, so I reinstalled it. after that, I was able to debug with a J-link base debugger (for that I removed J44, J45, J46, J47, J48, J49 & J50 on MIMXRT1064-EVK), but Link server DAP probe is not working still, I have attached a screenshot in my original post about the status of HEAP & Stack when it is not working.