debug error

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

debug error

5,916 Views
vinaymanikkoth
Contributor II

modified the imxrt 1060 evk board to test HyperRam. debug fails with following messages after that. 

error log:

Thu Nov 12, 2020 23:59:00: IAR Embedded Workbench 8.50.6 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\bin\armproc.dll)
Thu Nov 12, 2020 23:59:00: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\config\debugger\NXP\iMXRT.dmac
Thu Nov 12, 2020 23:59:00: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\config\debugger\NXP\iMXRT_Trace.dmac
Thu Nov 12, 2020 23:59:01: None of the application was placed in flash memory.
Thu Nov 12, 2020 23:59:01: Downloaded C:\Users\manikkoth\Desktop\work\uClinux_IMXRT1060\keil_projects\sdk_imxrt1060\boards\evkmimxrt1060\driver_examples\flexspi\hyper_bus\polling_transfer\iar\
debug\flexspi_hyper_flash_polling_transfer.out to flash memory.
Thu Nov 12, 2020 23:59:01: 0 bytes downloaded into FLASH (0.00 Kbytes/sec)
Thu Nov 12, 2020 23:59:01: Loaded macro file: C:\Users\manikkoth\Desktop\work\uClinux_IMXRT1060\keil_projects\sdk_imxrt1060\boards\evkmimxrt1060\driver_examples\flexspi\hyper_bus\polling_transfer\
iar/evkmimxrt1060.mac
Thu Nov 12, 2020 23:59:01: Loading the CMSIS-DAP driver
Thu Nov 12, 2020 23:59:01: Probe: CMSIS-DAP probe SW module ver 1.21
Thu Nov 12, 2020 23:59:01: Probe: Connecting to CMSIS-DAP:0229000006d0b02700000000000000000000000097969905 firmware v.1.10
Thu Nov 12, 2020 23:59:01: Emulation layer version 4.67
Thu Nov 12, 2020 23:59:01: Notification to init-after-power-up hookup.
Thu Nov 12, 2020 23:59:01: CoreSight error: Cannot read IDCODE. No SWD access. Debugging is not possible.
Thu Nov 12, 2020 23:59:01: CMD_INTERPRETER: failed
Thu Nov 12, 2020 23:59:01: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\config\debugger\NXP\iMXRT.dmac(169,19): Error: Operation error.
Thu Nov 12, 2020 23:59:01: Error while calling macro execUserProbeConnect
Thu Nov 12, 2020 23:59:01: Notification to core-connect hookup.
Thu Nov 12, 2020 23:59:01: CPU status FAILED
Thu Nov 12, 2020 23:59:01: LowLevelReset(system, delay 200)
Thu Nov 12, 2020 23:59:04: Fatal error: Failed to connect to CPU Session aborted!
Thu Nov 12, 2020 23:59:05: Cannot initialize DAP access.
Thu Nov 12, 2020 23:59:05: IAR Embedded Workbench 8.50.6 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\bin\armproc.dll)
Thu Nov 12, 2020 23:59:05: Loading the CMSIS-DAP driver

 

tried running a known project as well. right now board has hyperRam mounted. 

Labels (1)
0 Kudos
27 Replies

981 Views
vinaymanikkoth
Contributor II

yes, not able to program at all. looks like main CPU is not responding to anything. attached the full screenshot of boot utility. let me know if this is not what you asked 

no vendor shows up when usb connected to J9. 

any suggestions to debug U1. 

0 Kudos

977 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi vinaymanikkoth,

   What's your selection in the below now?

OPTION1: USE Hyperflash( DNP R153~R158, Mount R356,R361~R366)
OPTION2: USE QSPI FLASH(Mount R153~R158, DNP R356,R361~R366)

   MIMXRT1060-EVK is using the QSPI option2 in default, do you already modify it?

   If you already modify option2 to option1, please modify back to option2, then try to connect with the QSPI flash, any progress or not?

  BTW, do you have external JLINK or not?

  If yes, you can use the external JLINK and the JLINK commander to connect your board, can you find the ARM core or not?

 

Best Regards,

Kerry

0 Kudos

958 Views
vinaymanikkoth
Contributor II

nothing changed. 

is there any way to verify MCU is powering-up properly ?

can i get the sample device so that i can try to replace the MCU ?

0 Kudos

953 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi vinaymanikkoth

  I have told you, you use the external JLINK to check your chip with the JLINK commander through the JTAG interface, whether the ARM core can be found or not.

Eg:

RT1052_JLINK.jpg

 

Please check it at first.

Best Regards,

Kerry

0 Kudos

942 Views
vinaymanikkoth
Contributor II

i dont have a JLINK. i tried to do the same using ULINK2. attached the screenshot of error. 

0 Kudos

937 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi vinaymanikkoth

  Do you have the NXP LPC-LINK2? That tool also can used as the JLINK.

  BTW, you need to use the SWD interface, not the JTAG, the RT chip in default using the SWD interface.

 

Best Regards,

Kerry

0 Kudos

1,524 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi vinaymanikkoth,

  Do you refer to the AN12239 application note about How to Enable HyperRAM with i.MX RT?

https://www.nxp.com/docs/en/nxp/application-notes/AN12239.pdf

The software project is:

https://www.nxp.com/docs/en/nxp/application-notes-software/AN12239SW.zip

Do you use the same hyperRAM as this application note?

Do you use this project directly, and debug it? If you are using the RT1060, this project should works OK on your board directly.

 

Wish it helps you!

Any updated information, please kindly let me know.

Kerry

0 Kudos