Cannot reach main function on my custom RT1020 board

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

Cannot reach main function on my custom RT1020 board

1,084 Views
info45
Contributor II

Hi all,

I'm currently developing a custom board based on the MIMXRT1020-EVK (Flash is IS25LP064).

The sample project of MIMXRT1020-EVK is trying to run, but when the program is executed from IS25LP064, it cannot reach the Main function with the following error.

---
Break at address "0x215d34" with no debug information available, or outside of program code.
---

IS25LP046 is connected to the same GPIO_SDB1_06-11 as the evaluation board.

BOOT_MODE is set to 10 (internal boot) and BOOT_CONFIG is set to 0.

The console log is attached. Please give me some advice.

Labels (1)
7 Replies

935 Views
info45
Contributor II

This was due to the IS25LP064A's QE bit being '0'. I found a similar case in a past  post on the forum and set the QE bit to '1' and it worked! 

Best Regards,

0 Kudos

935 Views
FelipeGarcia
NXP Employee
NXP Employee

I am glad to hear that the problem has been resolved. Thanks for sharing the solution with the community!

 

Best regards,

Felipe

0 Kudos

935 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

 

Are you using the appropriate flash driver in your MCUXpresso project? Please see my snippet below.

pastedImage_2.png

Best regards,

Felipe

0 Kudos

935 Views
info45
Contributor II

Hi Felipe,

Thank you for your reply.

Yes, I've already set the driver "MIMXRT1020-EVK_IS25LP064.cfx" and the following screenshot is my setting.

pastedImage_2.png

Best regards,

0 Kudos

935 Views
FelipeGarcia
NXP Employee
NXP Employee

More likely this is a hardware issue then. Are you following the recommendations provided in the Hardware Development Guide for the MIMXRT1020 Processor?

 

Regards,

Felipe

0 Kudos

935 Views
info45
Contributor II

Thank you for your advice and document link.

I'll read the Hardware Development Guide and check my design again.

935 Views
info45
Contributor II

Also, if I check "Link application to RAM" and use SRAM, my program code and the debugger work without any problem.

0 Kudos