Post Go back to editing

failed to connect to processor

Thread Summary

The user encountered a 0x80048020 error in CCES 3.0.2.0 when trying to connect to the ADSP-21569 on EV-21569-SOM REV B and EV-SOMCRR-EZKIT REV D, even after reinstallation and trying a different computer. The solution involved using DebugAgentFlashProgrammer.exe to reflash the firmware of the debug agent, which was previously showing version 0.0.0.0. The issue was resolved after reflashing the firmware.
AI Generated Content
Category: Hardware
Product Number: EV-SOMCRR-EZKIT

While debugging an application for adsp-21569 on EV-21569-SOM REV B sitting on EV-SOMCRR-EZKIT REV D using cces 3.0.2.0, it crashed.
Further attempts to debug, results in this message:

Error in launch sequence
[TpsdkServer] Failed to connect to processor.

Error: 0x80048020
Error Description: Selected emulator not detected

Since the setup worked before, it is not related to hardware or power.
I have re-installed cces and tried to run the SPDIF_ASRC_DAC_AudioPassthrough_21569 example but the error is the same.
I have also tried to connect from a different computer that used to work with it, also changed the usb-cable, but again receive the same error

please advise on how to bring this up running again.

Thank you

Thread Notes

Parents
  • Hi,

    The 0x80048020 error indicates a problem starting up/communicating with the emulator.

    Can you please check again by re-installing the driver manually? The drivers are found in the "Emu_Drivers" directory:
    <installation drive>:\analog\cces\3.0.2\Setup\Emu_Drivers

    Please refer "Installing drivers manually" in Emulator and Evaluation Hardware Troubleshooting Guide
    www.analog.com/.../EE356.pdf

    Also, Could you please try to replace the attached "libusb-1.0.dll" in the below directory. Before replacing take a backup copy of the original "libusb-1.0.dll" file that is already available in the directory and drop the new one and let us know the result of emulator connectivity.
    <installation drive>:\analog\cces\3.0.2\System

    If you are still facing the same issue, In order to accurately determine whether your emulator is faulty or not, can you please answer the following questions -

    1. Please share with us the screenshot results of ICE Test utility. ICE Test utility can be used to test for faulty JTAG connections, as well as testing your hardware configuration.
    2. If possible, can you try with different emulator(ICE-1000/ICE-2000) which operates correctly with the same target board and PC.
    3. If you have access to any other SOM/carrier board, could you please replace each other.
    4. Please refer "Jumper and Switch Settings" in the below system evaluation manuals and ensure the jumper and switch settings are set correctly in the EV-21569-SOM and EV-SOMCRR-EZKIT boards:
            https://www.analog.com/media/en/evaluation-boards-kits/evaluation-board/ev-21569-som-manual.pdf

            https://www.analog.com/media/en/technical-documentation/user-guides/ev-somcrr-ezkit-manual.pdf

    5. Try connecting the debug agent session by referring the switch settings in the above linked SOM manual and see the result.
    6. Please let us know whether you have purchased the board directly from Analog Devices or from distributor.

    Waiting for your reply.

    Regards,
    Santhakumari.V

    libusb-1.0.zip

  • Hi again,

    I have tried now the suggested steps but without success.

    a) usb drivers: i cannot install them manually because the device is not listed in the device manager even after the instructions from the EE356.pdf.

    b) i have replaced the libusb-1.0.dll but that did no help

    c) Answers to the questions

    1. I cannot find or select the ICE test utility in cces for this processor
    2. Ordered ICE-1500 in the meantime
    3. i have no other som or somcrr board unfortunately
    4. done
    5. I have ordered the ICE-1500 (as recommended for this DSP).
      1. changed the SW1 on somcrr on OFF,
      2. connected the ICE-1500
      3. launched cces and tried to debug the example program SPDIF_ASRC_DAC_AudioPassthrough_21569. During launch, an error occured that said that the firmware could not be downloaded, then this error is shown:
        Error in launch sequence
        [TpsdkServer] Failed to connect to processor.

        Error: 0x80048020
        Error Description: Selected emulator not detected
      4. The ICE-1500 was initially visible in the device manager as CrossCore Tools - ICE-1500, since the error, it is no longer visible as a USB device either.
    6. No, the ezkit was purchased from mouser

    ! It seems that the same happend to the ICE-1500 as to the on board debug agent ?! It looks like the download of the firmware for the debugger gets interrupted and leaves it in a unhealthy state.

  • Hi,

    Regarding ICE Test utility: Use the ICE Test utility to verify your emulation hardware, please follow the steps from attached screenshot to do the ICE Test.

    If any errors are detected during the test, they will be immediately displayed in the ICE Test dialog box, and the test will stop. Each error message will include a recommended solution to help resolve the issue.

    Please refer the below CCES help path for more detail on ICE Test Utility:
    CrossCore® Embedded Studio 3.x.x > Integrated Development Environment > Debugging Targets > Target Configurator > ICE Test > About ICE Test

    In order to isolate your issue, please share the below details, this will help us to assist you further:

    1. Share the screenshot of the device manager after connecting to the ICE-1500 emulator.
    2. Please share with us the screenshot results of ICE Test utility.
    3. Image of your hardware setup after power-up (i.e EV-21569-SOM REV B sitting on EV-SOMCRR-EZKIT REV D with ICE-1500)
    4. Try to open the CCES with the new workspace, then see whether the same issue occurs.
    5. If you have access to different machines, please confirm whether you are facing the same behavior when trying on other PC's too.

    Waiting for your reply.

    Best Regards,
    Santha kumari.V

  • Hi,

    I have gone through your instructions with the following results:

    1. device manager:
      emulator visible but greyed out
      device manager
    2. ice test:
      ice-1500 test
    3. HW image: The LED on ice-1500 is lightly on but was much brighter the first time hooked up to USB (before cces tried to debug)
    4. other workspace: same test result as before
    5. different computer: same test result as before

    In addtion, i have tested the onboard debug agent with the ice test and it gives the same message:

    Kind Regards,

    Fabian

  • Hi Fabian,

    If a particular board is booting a corrupted image from flash which might locking up the processor and not allowing the tools to connect.

    From the ADS-21569-SOM board image, we noted that the Boot Mode switch is currently set to position 1. We would recommend you try changing the boot mode pin to 0 on the target, power cycling the board, then trying to connect again.

    If you are still facing the same issue, can you please share us the below details to assist you further on this issue.

    1.Could you please try to uninstall and reinstall the CCES and see if it resolves the issue. Before uninstalling take a backup of the license.dat file.
    License.dat file is located at C:\ProgramData\Analog Devices\CrossCore Embedded Studio
    You can download CCES 3.0.2 from the below link.
    www.analog.com/.../software-download.html
    Before reinstalling, Please make sure whether you have installed any antivirus software. If so, please uninstall the antivirus software and then try again.
    2. Once again try to re-installing the driver manually and reboot the PC and power cycling the board and let us know the status.
    3. After reinstalling CCES IDE and EMU driver manually, run the ICE Test Utility and share the screenshot result if any different.
    4. Please share the screenshot of the device manager which shows the emulator and screenshot of the driver tab by clicking the emulator > properties > Driver.

    Waiting for your reply.

    Regards,
    Santhakumari.V

  • Hi again,

    thank you for your reply.

    in short, I did all the steps and the result is still the same with a connection error: 0x80048020.

    0. switched Boot Mode to 0

    1. no anti-virus software other than windows defender which i disabled by de-activating the real-time protection during the re-installation of cces

    2. re-installed EMU driver, rebooted, power-cycled the board:

    3. ice-test: still unable to connect

    What is going wrong?

    Kind Regards,

    Fabian

  • Hi Fabian,

    In order for us to accept this evaluation board/emulator back under an RMA we first need to confirm it is indeed faulty, this is to reduce the risk of unnecessary downtime for you.

    From your "ICE-1500 Emulator properties" screenshot, we noted that the driver installation of your emulator was not done successfully.

    In order to proceed further, can you please send us below details.

    1. Connect your ICE-1500 emulator alone (without connecting to the board) with different PC and check the whether the emulator detected under device manager. Share the screenshot of the device manager which shows the emulator and screenshot of the driver tab by clicking the emulator > properties > Driver if any different status.

    2. Do the ICE test for your ICE-1500 emulator alone (without connecting to the board) and check the first three steps getting passed.

    3. Connect your ADSP-21569 evaluation board through on-board debug agent and share the screenshot of the device manager which shows the evaluation board and screenshot of the driver tab by clicking the emulator > properties > Driver if any different status.

    4. Are you tried the re-installation of EMU driver with different PC and let know the status.

    5. Confirm whether you have purchased the emulator also from the Mouser.

    Waiting for your reply.

    Regards,
    Santhakumari.V

  • Hi Santhakumari

    1. ICE-1500 on different PC that had never cces installed, device manager screeshot when emulator is connected the first time:

    Installed cces on this PC in order to run ICE test. During installation the drivers got installed:

    2. However, the ICE test still fails with, and the device manager does not see the crosscore emulator either

    3. the ADSP-21569 evaluation board debug agent on the original PC where the "crosscore tools" is visible in device manager (but grayed out, and it stays grayed out when connecting the board or the evaluator)

    I have discovered this other usb device from analog devices listed under Universal Serial Bus Controllers

    4. Well, see under point 2., device is not detected

    5. The ICE-1500 has been bought directly from analog devices

    Note that the onboard debug agent has worked previously, then stopped working after the cces crashed when loading a dsp program to the board.

    The ice-1500 also seemed to work initially because it got detected by the PC and is still listed in the cross-core tools. The first time i tried to program the evaluation board through the ice-1500, the first error message was something about not succeeding to download the firmware of the emulator, then cces stayed at 21% download status forever. Subsequent trials of programming resulted then in the connection error initially reported here. 

    Also, the device manager does not see the emulators, and nothing is different if the emulator is connected or not. It looks as if the they are not recognized as a usb device anymore.

    From these observations, I suspect that cces is first programming the emulator with its firmware before programming the actual dsp code. It seems that this firmware update of the emulator failed for both the on board debug agent and the ice-1500.

    Befor it all stopped working, I also briefly tried programming with sigma studio and its ADUSB2EBZ connector but there also something did not work immediately and i have then given up quickly with sigma studio to continue with cces. It worked though again with cces until it crashed and produced the connection error. But still,  might sigma studio have interacted in a bad way with the drivers?

    To me, I think the HW itself is still ok, but the emulator firmware is corrupted. Could that be a track to follow up. Do you see a way to update the emulator firmware myself?

    thank you for your help,

    Fabian

  • Hi  ,  ,

    I have exactly the same issue since today. My complete setup with the ADSP-21569-SOM and the EZ-Lite was running perfectly with CCES. Then I tried to load a loader file with CLPD. It was hanging at 25% and CCES crashed. Now I get the same error 0x80048020. 

    What can i do to get it back running? 

    Best regards,

    Eric 

  • Hey  , 

    I was able to fix my problem after dealing with all the steps you decribe above. Nothing helped. In my case it helped to open the C:\Analog Devices\CrossCore Embedded Studio 2.12.1\Setup\DebugAgent\DebugAgentFlashProgrammer.exe. There my Debug Agent was listed but had no firmware verison anymore. It was just 0.0.0.0. Then i reflashed the EZ-KIT firmware and boom my Debugger is up an running again. 

      

    I have no idea how the DebugAgent got erased but it solved my problem. Hopefully this helps you too.

    Best regards,

    Eric 

  • Hi Eric,

    Thank you so much for pointing this out. With the flash programmer, i could fix the ice-1500 and the on board debug agent! This is excellent; eventually the board is up and running again. I am happy again Slight smile.

    Thank you very much and all my Best Regards, 

    Fabian

    You should get a bonus!

  • Hi  , 

    I'm happy to hear this. 

    Best regards,

    Eric 

Reply Children
No Data