- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello all,
I have a problem here with UC/OSII.. I used the demo of the altera NEEK (NIOS-DEVELOPMENTKIT) the PIC-VIEWR demo, I used it as a starting point of my own design application, the system includes touch-screen LCD, sdram, and sram, we changed the LCD to 480x272 one and changed the VGA controller to work with this new LCD. when we wrote the code and began with a NIOS II application and BSP from template we we choose the hello_world template every thing is ok the LCD views IMAGES fast enough that we can not notice any problem, but when we choose the hello UC/OSII template to convert to an operating system the LCD views the IMAGES slowly we can notice the frame drawn slowly it takes 2 seconds to fill the area of the LCD!!!! and this is before starting the operating system, before OSSTART(); and before creating any TASK!!! the software application is the sameand the hardware is also the same, so we believe the problem is in the OPERATING system... can any one help please??Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you saying that just the fact that you link a big chunk of code - that is never used - to your system makes it several magnitudes slower?
What project properties did you change besides selecting Micro-OSII instead one none (single threaded) in the system library settings? Can it be that you moved your code and/or data to a significant slower memory? Did you set for some reason the system clock timer to a very short time so a huger interrupt load might be generated?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, this additional code that i never used makes the system slower.
I did not change any project properties. and the timer tick is 10 ms so it is 100 ticks per second and i tried 100 ms so it is 10 ticks only per second and the strange thing is that the case it was 100 ticks/sec did not differ from the one which was 10 ticks/sec!!!!!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am thinking there would be an interrupt (from the sys_clk_timer) this interrupt is comming many many times which makes the CPU slower..
how can I disable the interrupt of the sys_clk_timer and keeping the files of the operating system as they are???- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the timer time does not change this behavior you can exclude it as a the source of the problem. That's the good new.

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