[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Porting help
Hi Richard,
Richard Klosinski wrote:
> I modified the heartbeat routine to toggle the state of the led, instead of
> setting it based upon the input "value" (which I have no clue why you would
> not want the led's to flash).
The GPIO output state is registered in hardware. So, reading it back and
inverting the bit is the same as using a static variable in the
heartbeat function.
> My led's flash at about a one second rate. Im not sure how much of the
> system has to be working to get the led's to flash, but its has a timer set
> and an interrupt vector working!
Well it's a good sign - also you'll know that if you do something and
the blinking stops, you've broken it! :)
Once I see your MHS and kernel .config I might have some more concrete
suggestions.
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/