Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

time-limited licence problem

Hi all,

I modified the Quartus II Project File using SOPC builder and then recompiled it using Quartus II so the file got generated with the time-limited licence version of the Quartus II. Now I am not able to burn the time_limited.sof file on the board. How to overcome this problem?

Thanks & Regards,

Nishant

16 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the so much useful information!

    I have configured the hyperterminal as per the uart settings in system.h file.

    I did not check the txd line but even if I constantly send a character it is not received on the hyperterminal.

    uart is labeled uart_0 inside sopc builder and system.h as well.

    I am able to run jtag_uart and other example programs.

    I will try monitoring the registers in the debug mode as you have suggested. Is signal trap also available in the debug mode because it was not mentioned in the tutorial?

    Kindly guide me about how to proceed developing applications using peripherals using cycloneII.

    Thanks a lot!!!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    as your code shows no uart initialisation, i guess you have setup the uart with sopc builder to the desired speed, databits ....

    have you checked with a scope that if you put a character to the uart, you can see it on the txd line ? maybe you need to uncheck hardware flow.

    is your uart labeled uart_0 inside sopc builder ?

    the qfp does not hold uart relevant informations except hardware related like fast input output registers, pin assignments.

    so i agree you should basically check if your whole designs runs as expected.

    also you can add signal tap and monitor the uart activities.

    and the ide gives you the possability to debug your system and play with the uart by hand by alternating its registers.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Someone on this forum told me that

    "there is something absolutely wrong in the way in which you incorporated your UART in the VHDL/verilog project.

    if the QUARTUSII isn't giving any kind of errors while compiling your project, atleast you can check the warnings to get an idea.

    I think it is something basic that you are missing out here"

    about the uart problem that's why I was checking the qpf file for if anything needs to be changed or added.

    I am trying to run this simple program:

    int main()

    {

    FILE* fp;

    char prompt=0;

    fp = fopen("/dev/uart_0", "w+");

    fprintf(fp,"AT+BTW0021D226A29E\r\n");

    while(1){

    prompt = getc(fp);

    printf("%c", prompt);

    }

    fclose(fp);

    return 0;

    }
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    In the past you had to download a valid licence from altera web site as for the web edition but this would also only generate time limited files. only the paid subscription edition generates non time limited files.

    instruction masters are as the name already says for the nios cpu instructions. your uart needs to be connected to the data master. no need for a instruction master cnnection.

    what do you want to modify inside the qpf to get rid of your uart problem ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the reply.

    I have downloaded a license from Altera site. And I have been using it.

    Actually I wanted to modify the QPF file because I am not able to run uart i.e. serial communication program. Is there any other way to solve serial communication problem? Does uart_0 needs to be connected to the instruction master in QuartusII? The program is not running in the Instruction Simulator mode also.

    Thanks,

    Nishant
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Do you have a valid licence file (subscription you must pay for once per year) ?

    i had once a problem with the licence server and therefore quartus generated time limited files you cannot programm, but after the licence was available again, the quartus tools still used the time limited files instead of the normal programming files.

    time limited means you cannot create production images, only for evaluation purposes. some may run only 1 hour, other as long as there is an active jtag connection and quartus running.

    as you use sopc, as far as i know you need a subscription licence and not a web licence.