- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm having some problems because I want to implement an operating system, the MicroC/OS-II, on the DE1 board.
First, I followed the tutorial "Introduction to the SOPC Builder" on Altera's site to create a SOPC project. After this, I followed the tutorial "Using MicroC/OS-II RTOS with the Nios II Processor Tutorial" on Altera's site too But, when I try to build the project, I receive the following errors: make: *** [../ucosii_bsp/-recurs-make-lib] Error 2 make[1]: *** [obj/HAL/src/alt_close.o] Error 1 # error "OS_CFG.H, Missing OS_TICKS_PER_SEC: Sets the number of ticks in one second" ucos_ii.h /ucosii_bsp/UCOSII/inc line 1708 C/C++ Problem I don't know how to solve it. I don't know if it is a problem from the SOPC I created, if I need something more. Or if it is a problem with the application on NIOS II SBT for Eclipse. Thank you.Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have a system timer in your SOPC project?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think so. Can you explain me how to do this??
Sorry because I'm starting working with this board and I only studied the tutorials from the Altera's site. Thanks for the answer!!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In SOPC builder, you'll find the timer in the library: Peripherals > Microcontroller Peripherals > Interval timer
Set a timeout period of 10 ms and select the Simple periodic interrupt preset. Then regenerate your SOPC system and recompile Quartus project. I don't remember if the bsp settings are automatically adjusted. If not you may need to update them and select the timer you just created as system timer before recompiling the software.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. It's impossible for me to try it now, but as soon as I can I will try to do it and I will return to say if it works with me.
Thanks a lot!!!
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