- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when i test a simple c/c++ programe with hello_led_0
but when i build ,two error appear ,the information is that: Error *** [obj/altera_avalon_sysid.o] Error 1 hello_led_0 Error *** [system_project] Error 2 hello_led_0 Error altera_avalon_sysid.h: No such file or directory[/cygdrive/d/altera/kits/nios2/components/altera_avalon_sysid/HAL/src/altera_avalon_sysid.c] hello_led_0 line 33 Error altera_avalon_sysid_regs.h: No such file or directory[/cygdrive/d/altera/kits/nios2/components/altera_avalon_sysid/HAL/src/altera_avalon_sysid.c] hello_led_0 line 34 Warning implicit declaration of function `IORD_ALTERA_AVALON_SYSID_ID'[/cygdrive/d/altera/kits/nios2/components/altera_avalon_sysid/HAL/src/altera_avalon_sysid.c] hello_led_0 line 60 Warning implicit declaration of function `IORD_ALTERA_AVALON_SYSID_TIMESTAMP'[/cygdrive/d/altera/kits/nios2/components/altera_avalon_sysid/HAL/src/altera_avalon_sysid.c] hello_led_0 line 63 it seem that the builder can not found altera_avalon_sysid.h and altera_avalon_sysid_regs.h how can i resolve this problem! thank you very muchLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm new to NIOS II and still getting used to things. But I think you can solve you're problem in the Run menu, by disabling the "Vailidate NIOS II System ID before download" and just not using the core at all (this isn't helpful if you actually do need it though).
On that subject what's the system ID useful for other then a time stamp? Does it get used by the OS as the CPU ID as well? (I'm more of a hardware guy so I'm a bit slow when it comes to OS programming).- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by badomen@Aug 6 2004, 03:07 PM on that subject what's the system id useful for other then a time stamp? does it get used by the os as the cpu id as well? --- Quote End --- One use is for the programmer to verify before you program the board that the syslib you've used to compile the design is for the same hardware design that is running on the board. This stops you generating a design, programming the hardware, writing the software, changing the design and reprogramming the hardware, forgetting to rebuild the syslib, programming the software, and then wondering why nothing works. I don't know whether the OS uses the system ID though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah.
Well if it doesn't take up too many logic cells maybe I'll start using it. Cheers.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's implying that the ptf file has changed from what you are trying to download.
Also, make sure that if you change something in Sopc Builder that affects the .sof file, that you re-compile in Quartus and download a new sof.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page