Forum Discussion

snehal_p's avatar
snehal_p
Icon for Contributor rankContributor
4 years ago
Solved

Executing a application/executable file on customized boot image for DE1SOC board

Hello,

I'm trying to execute a simple led switch application on customized boot image.

PFA screenshot of the error received.

Can anyone help me diagnose what the issue is?

Thanks,

snehal_p

  • Hi

    I have tried out your zImage and able to run the led application successfully.

    Please find the screenshot below:

    Did you flash the FPGA configuration before booting into the linux environment?

    As for the fitter error, you will need to run both of the TCL script below (located:soc_system\synthesis\submodules):

    hps_sdram_p0_parameters.tcl

    hps_sdram_p0_pin_assignments.tcl

    Regards

    Jingyang, Teh

54 Replies

    • snehal_p's avatar
      snehal_p
      Icon for Contributor rankContributor

      Hi Jingyang,

      PFA error screenshot while compiling c program. Can you please help me with the library files for rtcds3231 and i2c, also the steps to use .h files

      Thanks,

      snehal_p

    • snehal_p's avatar
      snehal_p
      Icon for Contributor rankContributor

      Hi Jingyang,

      PFA error screenshot while compiling c program. Can you please help me with the library files for rtcds3231 and i2c, also the steps to use .h files. I ge similar error when I try to compile demonstration code for gsensor.

      Thanks,

      snehal_p

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

    Hi Snehal


    Could you try adding the following parameter into your make file to solve the define error:

    ALT_DEVICE_FAMILY = soc_cv_av


    As for the library error could you use the directory path below:

    C:/intelFPGA/18.1/embedded/ip/altera/hps/altera_hps/hwlib/include


    We will use the directory a folder up.


    Regards

    Jingyang, Teh





    • snehal_p's avatar
      snehal_p
      Icon for Contributor rankContributor

      Hello Jingyang,

      Thanks,

      PFA screenshot of error I'm getting after making changes to the path.

      Thanks,

      snehal_p

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

    Hi Snehal_p


    Could you share me the git repo that you got the library for the rtcds3231 ?

    Also please share me the make file that you are using to build the library?


    Regards

    Jingyang, Teh


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

    Hi Snehal_p


    Could you give me more time to look into this issue?

    Since that the library is an Arduino base, I need to see if we could compile it to properly.


    Regards

    Jingyang, Teh


    • snehal_p's avatar
      snehal_p
      Icon for Contributor rankContributor

      Hi Jingyang,

      The application file is getting compiled by adding main() to the c code for rtc ds3231.

      but it is giving controller timed out PFA screenshot of the error.

      Thanks,

      snehal_p

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

    Hi


    Since this thread been resolve, I shall set this thread to close pending. If you still need further assistance, you are welcome reopen this thread within 20days or open a new thread, some one will be right with you. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


    If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 10 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.


    Regards

    Jingyang, Teh