Forum Discussion

SeanAB's avatar
SeanAB
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

Possible Bugs in Eclipse Project BSP

Quartus Prime Lite Ver 21.1.0 Build 842 10/21/21 - Windows 10 Host system

Eclipse Mars.2 rel 4.5.2

When the Eclipse BSP project files are created, I keep see inga couple errors pop-up in the BSP source files.

#1 alt_read.c

Line 120 appears to have an error:


ALT_ERRNO = EBADFD;

should be

ALT_ERRNO = 0xEBADFD;

#2 alt_sys_inti.c - when a Timer is added to the design

Line 74 - shows alt_no_storage is undeclared refers to the following in

alt_avalon_timer.h calls this out:


#define ALTERA_AVALON_TIMER_INSTANCE(name, dev) extern int alt_no_storage

Am I supposed to set this value to something?

5 Replies

  • hareesh's avatar
    hareesh
    Icon for Frequent Contributor rankFrequent Contributor

    Hi SeanAB,


    can you please share your plat form design screen shot and .sopcinfo file.


    thanks,


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

    Attached are the request file. Not sure if these are bugs or not. The application runs just fine, but the BSP showing bugs is a little puzzling.

    • hareesh's avatar
      hareesh
      Icon for Frequent Contributor rankFrequent Contributor

      Hi @SeanAB,

      With your shared .socpinfo file, I recreated the eclipse project. I haven't seen any problems when I build a complete project. you can see console window output in bellow attachment. Once, update your Quartus software and try it.

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

    The issues is in Eclipse. In the HAL source alt_read.c file, the attached bug appears. Again not sure if this is really an bug as the application builds and runs without issue.