not able to enter debug or reset controller

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

not able to enter debug or reset controller

719 Views
sandeepa2
Contributor II

Hi,

I am using MIMXRT1064-EVK, I have connected two uart ports through a FTDI converter to PC

- {pin_num: L13, pin_signal: GPIO_AD_B1_10, label: DEBUG1_Tx}
- {pin_num: J13, pin_signal: GPIO_AD_B1_11, label: DEBUG1_Rx}

- {pin_num: M11, pin_signal: GPIO_AD_B0_02, label: DEBUG2_Tx}
- {pin_num: G11, pin_signal: GPIO_AD_B0_03, label: DEBUG2_Rx}

I have only RX, TX & ground lines through these converters.

If I connect any of these cables first to Laptop, then the micro USB cable to Laptop, am neither able to enter debug session nor reset the controller.

But once I connect the USB cable first, enter debug session, then connect USB serial cables, then next time onwards I am able to use the reset button SW9 or use IDE to reset.

 

Any help would be appreciated. Thank you.

Labels (1)
0 Kudos
3 Replies

706 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @sandeepa2,

Looking at these pins there's none that could cause the MCU to not boot. Could you confirm if there's any other connection or software in your project that could cause this issue?

Best Regards,

Alexis Andalon

0 Kudos

686 Views
Aravind_R
Contributor I

If we connect UART cables first to Laptop and then USB,we are able to measure only 832mV at MCU supply pins ,330mV at Reset pins and LED D20 is always ON.

0 Kudos

659 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @Aravind_R,

When the MCU is in an unpowered state, current injected through the device pins may bias internal device
structures (e.g. ESD diodes) and incorrectly power up these internal structures through inadvertent paths.
The presence of such residual voltage may influence different device-internal blocks in an unpredictable
manner and may ultimately result in unpredictable device behavior.


Once in the illegal state, powering up the device further and then applying reset does not necessarily clear
the illegal state.

So this should be the reason why the MCU doesn't boot with the presence of the FTDI.

Best Regards,

Alexis Andalon

0 Kudos