Hi all,
I previously had an NFC card reader demo working on a PN7462AU that was being programmed via an LPC-Link2 debug probe. This demo was running from the package SW3683 (in a folder called PN7462AU_ex_phExMain_mcux under the src folder with the name phExMain_15693.c. that I downloaded off of the NXP website for NFC card reading purposes for this specific board. My colleague was the one who had previously set it up for me. I would simply click on the green debug button and it would work - you would be able to bring an NFC tag close to the antenna and it would write to it then print those bytes to the screen.
However, I unplugged the 2 USBs connected to my PC - the LPC-LINK2 and the PN7462AU (which was just receiving power from the PC) and after moving to a different workstation, I replugged it in. I proceeded to click the green debug icon like I did before. However, right when I did this I was greeted with an error I did not understand (see below).

I tried searching up what this failed to execute MI command meant and one response told me that this may have been caused by removing the USB from the PC and causing a debug session to improperly terminate. The solution they proposed was reflashing firmware onto my connected devices. As such, I reflashed the firmware onto LPC-Link2 by running the LPScrypt tool provided by NXP. I believe this worked as the LPC-Linkll was properly identified as a com port on my device. However, when I tried reflashing the firmware on my PN7642AU device by following this tutorial and using the GUI flash tool: https://community.nxp.com/t5/NFC-Knowledge-Base/Program-the-firmware-to-PNEV5180B-board/ta-p/1115153
I was met with the error in this image:

Please note, that I tried to flash several files - not just the default one provided when you press the GUI flash icon but I was presented with the same error regardless.
I don't think this is a software issue I think it is a hardware issue. In fact, I think that if I can properly flash the PN7462AU with the right firmware, I can get this problem fixed. I also downloaded the NFC cockpit software and my PN7462AU device is not being recognized (when I select the dropdown beside open port at the bottom of the application, the dropdown's blank).
Other things I tried doing which may be noteworthy:
- I switched out the USB cables used for both devices. I haven't tried using an external power supply or changing the debug adapter cable yet though I feel this may not yield any changes. This is because, if I unplug the PN7462AU completely from USB power, I'm greeted with a different error which means it is not this USB's fault. If I unplug the debug adapter, I'm greeted with an immediate error that says one of the debug wires was unattached)
- I restarted my PC, restarted the MCUXpresso IDE, unplugged and replugged the USBs of my devices several times into my computer
- I tried setting up MCUXpresso and the development environment from scratch on a separate laptop. I started off by downloading MCUXpresso 11.7.1 on the new PC. I then tried to go to this website: https://mcuxpresso.nxp.com/en/select and select the right development board so I can download the right SDK for the PN7462AU. However, when I tried searching up PN7462AU on this website nothing showed up, so I followed the documentation on the NXP website and installed the SDK for the FRDM-K82F board which I presume is pretty similar (kind of weird though that the board I'm using does not have its own supported SDK). After that, I dragged the zipped SDK folder (that I had just downloaded from the above website) into the "Installed SDKs" tab in MCUXpresso. I then clicked the "Import SDK Examples" button in the bottom left of the screen and I selected hello world under the demo apps dropdown. After clicking finish, a frdmk82f_hello_world folder was created in my project explorer. The build of this folder was successful, but when I tried clicking the green debug icon, it gave me the error that it failed to connect to core:

P.S. If I try using the GUI flash tool that I used on the old PC, on my new setup, I'm presented with a similar error:

I've tried attacking this problem from a lot of angles and have failed and I've scrambled reading documentation for this board and other ones. Any help or guidance would be greatly appreciated.
Thanks so much!