Hello @DanielRuvalcaba,
to answer your questions:
- You are using RT1170-EVK with a multi-core project - Yes
- You are using SDK 2.15.000 - Yes
- Basically, what you are trying to do it to run the multicore hello_world using How to move CM4 core project to SDRAM in RT1176, am I right? But this is not working on your side - It's kinda more complicated than that:
In general - yes, I'm trying to run multicore hello_world project using the "moving" guide and it's not working on my side BUT I have one project that is working (pure hello_world multicore example + the moving implementation) and second one that isn't even due to the fact I followed the exact same guide, I made sure that the first project is, in properties/configuration, the exact same, the only difference is that there's much more SDK components included on the CM4 side. But to find out what's wrong I already commented each included library that is different from the original hello_world project but without any luck to find out what's wrong (as I would expect - if the library/component isn't used at all the compiler will just do nothing with them so they act like there's no additional component - but maybe that's the wrong idea since it might do something in the Config Tool? I'm pretty new to the whole MCUXpresso and NXP MCUs).
When it comes to CM7 core, that's exactly the same - there should be no difference from the original hello_world example. But somehow this core is crashing when it comes to moving program from FLASH to SDRAM where the CM4 program should be (after this operation of course).
EDIT 1:
- Debugger: J-link Segger Plus compact
After some debugging today I'm experiencing some weird behaviour and probably found the problem but don't know how is it caused. Basically I checked the memory (break right before writing to the 0x80000000 memory space (SDRAM)) and when it comes to the simple hello_world example it looks like that:

Everything seems fine to me, there're some data etc. so I guess that's fine. However when it comes to the main project, then it looks like this:

So it looks like the SDRAM isn't initialized. But there's still like 5-10% chance I get the `????????` value one the 0x30009560 address and further on when using Memory monitor (it might be just some IDE thing - or what scares me more the memory is never initialized and the saved values are somehow from previous debug session of the hello_world example - it goes to such a hard fault that I have to:
- change onboard SW1 to - 0001
- boot hello_world example
- change ondboard SW1 to - 0010
- begin another main project debugging ).
What's also weird is the `len` value (or even the adress value - it's the same thing) which shows that even when I commented the libraries and I'm not using anything more than hello_world example at the moment, the Main project is larger for almost 10kB. And since the `pulSrc` value is different before the SDRAM write, it means either (or these are the scenerious I can imagine):
- ?? The commented libraries are still part of the project even tho noone uses them
- The CM7 part is the larger part of project even when it's coppied hello_world example - doesn't make any sense - I thought there might be something wrong with the memory setup and the sizes of memory space but it's the same for each project
- The program starts at further FLASH address (which would be really strange bcs there should be nothing before - except the vectors etc.) - but I guess even in case the compiler for some reason move the program to further address it still shouldn't be a problem
About the SDRAM - I saw some articles about initializing SDRAM through the j-link script. I never tried one but also it can't get out of my head that the hello_world example isn't using one either and the SDRAM in hello_world project seems pretty initialized to me and according to the the CM4 debug picture shown below the CM4 part is in the SDRAM

but when I'm debugging the main project CM4 part (it gets stuck at MCMGR_EarlyInit() waiting for TX register to be empty) it still shows the reset vector at the almost same spot..

So.. I'm pretty much confused.
Best regards,
Michal.