Forum Discussion

GOMEZ_IT's avatar
GOMEZ_IT
Icon for Occasional Contributor rankOccasional Contributor
2 years ago
Solved

ARM DS USB BLASTER or USB BLASTER II ?

Good morning everyone.
I have a custom board with the CycloneV SoC on board.
This board has 2 JTAG connectors, one for the FPGA configuration and the other for the HPS section.
I wanted to know if the Intel version ARM DS ide (Arm* Development Studio Version 2023.1 for Intel® SoC FPGA)
also supports an external USB BLASTER for debugging, in addition to the external USB BLASTER II.

regards, Luca.

  • GOMEZ_IT's avatar
    GOMEZ_IT
    2 years ago

    UPDATE 07/13/2024:

    After an endless series of tests I finally understood that the problem was simply the fact that I was trying to debug an application compiled to run on the DDR SDRAM, without having initialized the DDR via u-boot!
    Now I can debug ARM DS with both USB-Blaster-II and USB-BLASTER-I (both work)!
    Now I'm trying to understand if there is a driver for ETHERNET that I can use in BARE-METAL mode.
    Does Intel's HWLIB have this driver for CYCLONE V SoC?
    Regards, Luca.

9 Replies

  • GOMEZ_IT's avatar
    GOMEZ_IT
    Icon for Occasional Contributor rankOccasional Contributor

    It's really frustrating. I've been trying to debug the cyclone v soc for weeks. No way.

    My situation:

    With quartus attaching to the jtag FPGA I have no problem:

    With quartus, attaching to the jtag hps I detect this:

    With Arm Development Studio IDE (23.1) if I try to debug (with external usb blaster 1) on jtag hps I always get this error:

    PATH variables are ok, and the IDE correctly recognizes my usb blaster (version 1):

    The PATH variables are ok, and the IDE recognizes My custom card is practically the same as Terasic's DE10-nano (in fact the Linux image of the DE10-nano runs correctly and everything works, including the ethernet port). The only difference is that I have NOT soldered the QSPI flash onto the board.

    Could this be the problem?

    The MSEL[4:0] are 01010

    The BOOTSEL[2:0] are 101 (boot from sd card)

    The CLOCKSEL[1:0] are 00

  • GOMEZ_IT's avatar
    GOMEZ_IT
    Icon for Occasional Contributor rankOccasional Contributor

    I also tried connecting my SEGGER JLINK to the HPS jtag port of my board.
    By connecting, here is the result:

    Looks like the hps part is being detected correctly!
    Can anyone tell me if USB BLASTER 1 (NOT USB BLASTER II!!) can be used to debug the ARM DS IDE?

  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi GOMEZ_IT,


    Sorry I might have missed your post. It's recommended to use USB Blaster II because it's faster and more reliable for debugging.


    Regards,

    Fakhrul


  • GOMEZ_IT's avatar
    GOMEZ_IT
    Icon for Occasional Contributor rankOccasional Contributor

    Thank you Fakhrul for your reply.
    Could you confirm that debugging with USB-BLASTER (ver 1) doesn't work,
    and gives the same errors I described in previous posts?

  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi GOMEZ_IT,

    Unfortunately, we cannot provide clarification on that matter as Arm Development Studio IDE (23.1) is not our product. Therefore, we have limitations in offering credentials on this point. But in the Arm® Development Studio's Hardware and Host Platform Requirements, on page 18, it does mentioned the requirement to use the USB Blaster II.

    Regards,

    Fakhrul

    • GOMEZ_IT's avatar
      GOMEZ_IT
      Icon for Occasional Contributor rankOccasional Contributor
      OK thank you. Then I will try to buy a USB BLASTER II and try to use it. I will update the post once the test is done.
  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi GOMEZ_IT,


    I’m glad that your question has been addressed, I now transition this thread to community support. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


    • GOMEZ_IT's avatar
      GOMEZ_IT
      Icon for Occasional Contributor rankOccasional Contributor
      I wanted to inform you that I purchased the USB Blaster II, 
      but unfortunately the problem has remained unchanged.
      I also wanted to ask if there is a step by step guide to be able to compile and debug bare-metal 
      on the cyclonev soc with the arm ds software (not arm-ds5 which is declared obsolete!).
      I would like to be able to use the Boot-Rom - > Preloader -> BareMetal-App configuration
       
    • GOMEZ_IT's avatar
      GOMEZ_IT
      Icon for Occasional Contributor rankOccasional Contributor

      UPDATE 07/13/2024:

      After an endless series of tests I finally understood that the problem was simply the fact that I was trying to debug an application compiled to run on the DDR SDRAM, without having initialized the DDR via u-boot!
      Now I can debug ARM DS with both USB-Blaster-II and USB-BLASTER-I (both work)!
      Now I'm trying to understand if there is a driver for ETHERNET that I can use in BARE-METAL mode.
      Does Intel's HWLIB have this driver for CYCLONE V SoC?
      Regards, Luca.