New project with default settings can build but crash when run

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

New project with default settings can build but crash when run

2,456 Views
tfri
Contributor I

Hi,

I have just installed MCUXpresso v11.2.1 with SDK_2.x_EVK-MIMXRT685 v2.8.2.

There are no problems building, running and debugging a few of the existing sample Projects such as e.g. the hello World demo. However, when I create a new Project (from the Quick start panel), selecting the MIMXRT685-EVK, with default settings, I can build but when I debug it does not even got to the main function or even the resetISR (as far as I can see). It does not stop on the main breakpoint and when I pause the execution I just get:
Break at address "0x1c04a" with no debug information available, or outside of program code."

I cannot find what the problem is by comparing the working imported hello World sample with the non-working newly created default Project.

Is there some configuration needed not set as default for the selected EVK?

Kind regards

Tomas

0 Kudos
Reply
6 Replies

2,409 Views
tfri
Contributor I

Moved reply

0 Kudos
Reply

2,451 Views
converse
Senior Contributor V

Please export and post your project here.

0 Kudos
Reply

2,446 Views
tfri
Contributor I

The only configuration that is not a default one for the included Project, is that the SDK debug console is UART instead of default semihost.

Kind regards

Tomas

0 Kudos
Reply

2,420 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @tfri,

Be sure that the boot configuration is set as default. 

ISP0 = 1
ISP1 = 0
ISP2 = 1

Alexis_A_0-1604101133573.png

Best Regards,

Alexis Andalon

0 Kudos
Reply

2,403 Views
tfri
Contributor I

Hi @Alexis_A 

Yes the boot configuration is correctly set.

Also, it does work if I import e.g. the hello world project. The problem occurs when I create a new project (with the wizard) even with default settings for the correct EVK. Furthermore, if I open the PIO editor tool, for the imported hello world project, it says that the format is old and it might not work if I save it.

Hence, it seems as if the new MCUXpresso is just not working with the CPU/EVK we are evaluating.

0 Kudos
Reply

2,377 Views
tfri
Contributor I

Hi,

I may be clutching at straws here but it seems to work if I select the board component "flash_config" when creating the new project. At least I now get to the main breakpoint. I will continue to do some tests to see if it is really working as expected.

The "flash_config" is selected for the "hello World" sample Project but not for a default new Project.

Best regards
Tomas

0 Kudos
Reply