Results 1 to 4 of 4

Thread: Uploading software on the HPS without a DS-5 license

  1. #1
    Daixiwen is offline Moderator **Forum Master**
    Join Date
    May 2008
    Location
    Norway
    Posts
    4,524
    Rep Power
    1

    Default Uploading software on the HPS without a DS-5 license

    Hello everyone,

    We have a few products with the Cyclone V Soc FPGA and to develop software on it we use the Soc EDS with a DS-5 license. But now I'm looking into ways to make an automated test system, both for us and for our board manufacturer.
    For our previous generation, that used Nios 2 CPUs, we made some test applications using System Console and we were quite happy with it. AFAIK on the Soc platform I could still use system console if I add a JTAG Avalon master, but I can't access the HPS side. I'd at least need first to run a preloader (for SDRAM calibration) and open the FPGA to HPS bridge. So as I'd need to upload some software anyway I was thinking about writing an embedded test software that would to a full test, and a PC application that would just show the result to the user instead of using System Console.
    Now with a DS-5 license, there seems to be some command line tools that I could use to automate the process. But I'd rather not buy another full license just to do that. I don't need the debugger or anything else, just an HPS equivalent of nios2-download.

    I had a try with OpenOCD, but it's not that easy to use and configure on Windows. First to use it with a USB Blaster (1, we don't have any USB Blaster 2 here) I need to uninstall the USB blaster driver, and install the WinUSB driver instead. That means I can't use the USB blaster to configure the FPGA any more. And the download speed is painfully slow, topping at a few hundred bytes per seconds. I tried changing the frequency in the cfg file, with no effect. Did I miss something obvious?

    Is there another OpenOCD driver that could talk to the Altera JTAG server instead of using directly USB? Is the situation different with the USB Blaster 2, or with Linux? (although I'm not sure our board producer would be able to use and maintain a Linux desktop). Are there other alternatives?

    I'd appreciate any input or experiences from other users. The other alternative I'm thinking about now is to flash the preloader and RedBoot before starting the test and use RedBoot to upload the embedded test software.

    Thank you!
    Definition of a man-year: 730 people trying to finish the project before lunch

  2. #2
    Join Date
    Dec 2008
    Posts
    149
    Rep Power
    1

    Default Re: Uploading software on the HPS without a DS-5 license

    I was looking for the same a couple years ago

    https://www.alteraforum.com/forum/sh...ht=#post210602

    Don't think I found a way of doing so. Nobody replied to the thread either.

    Think I ended up writing some bootstrap I load into the flash using jtag indirectly and then using tftp to load the test software.

    It's a bit sad that something like this hasn't been made available as it's quite useful in fully automated regressions or during production testing. It's possible with nios and easy with Xilinx/Zynq (see my url above)

  3. #3
    Daixiwen is offline Moderator **Forum Master**
    Join Date
    May 2008
    Location
    Norway
    Posts
    4,524
    Rep Power
    1

    Default Re: Uploading software on the HPS without a DS-5 license

    Okay thank you. I did a research on the forum before posting but somehow I didn't find your thread.
    Definition of a man-year: 730 people trying to finish the project before lunch

  4. #4
    Daixiwen is offline Moderator **Forum Master**
    Join Date
    May 2008
    Location
    Norway
    Posts
    4,524
    Rep Power
    1

    Default Re: Uploading software on the HPS without a DS-5 license

    I've talked to an FAE and he didn't have any other solution than paying for an extra DS-5 license or use the flash either.
    Definition of a man-year: 730 people trying to finish the project before lunch

Similar Threads

  1. License of software built by SoC EDS
    By sokda in forum SoC Linux
    Replies: 0
    Last Post: August 20th, 2015, 12:13 AM
  2. Altera-Modelsim starter edition software on ubuntu 12.10 License issue
    By xohaibhassan in forum Quartus II and EDA Tools Discussion
    Replies: 1
    Last Post: April 10th, 2013, 09:28 PM
  3. License the software for DE1 Kit
    By brucev in forum Development Kit Related
    Replies: 7
    Last Post: June 12th, 2012, 09:58 AM
  4. Dev Kit with Quartus II design software including one year license?
    By digitalone in forum Development Kit Related
    Replies: 1
    Last Post: November 1st, 2008, 07:20 AM
  5. a problem in uploading
    By rainhawk in forum Linux Forum
    Replies: 5
    Last Post: July 5th, 2006, 01:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •