[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] insmod doesn't work
It would be cleaner and pretty easy to add a second opb_timer into the
system, and your module could have it all to itself. You can still use
the various microblaze_timer_* functions to control it, and request_irq
etc etc.
Yes that is what i have. Im using two one timer opb_timers. I looked at what microblaze_timer_configure did and made one for myself, i only changed the baseadress to CONFIG_XILINX_TIMER_1_BASEADDR. The problem is that the timer don't generate any interrupts. I assign my handler to irq 0 which is the irq my second timer will use according to
auto-config.in, i have enabled that irq with enable_irq (don't know if that's neccesary). I have also checked the time on my second timer to see if it is counting but it is still on 0 so it seems as the timer don't work, do you think its something wrong in my design or am i missing something in my timer configuration in uclinux?
thanks
//Anders