jlink connect fail

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

jlink connect fail

780 Views
wangdabing
Contributor I

when i mux  the GPIO_SD_B1_05 as gpio in my program ,then i can't download my image by swd with jlink ? anyone can help me ?

Labels (2)
0 Kudos
Reply
1 Reply

699 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi scott wang ,

  GPIO_SD_B1_05 is the special pins to RT1050/60 chip, it is the FLEXSPI_A_DQS, we recommend the customer leave this pin as float, otherwise, it will influence the flexspi flash operation speed.

   pastedImage_1.png

   So, I highly recommend you don't use this pins as other function.

   About your problem can't enter the debugger mode again, you can do the external flash erase at first by entering the serial download mode.

   You can use the MCUBootUtility tool to do it:

https://github.com/JayHeng/NXP-MCUBootUtility/archive/v2.2.0.zip

the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility

    If your external flash is QSPI, you also can use the JLINK command to erase it:

    exec EnableEraseAllFlashBanks

    erase all

pastedImage_5.png

You can try it on your side.

If you still have questions about it, please kindly let me know.

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply