[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems initializing Network driver on MCF5235 Coldfire
- Date: Fri, 22 Jun 2007 09:44:56 +1000
- From: chrisj at rtems.org (Chris Johns)
- Subject: Problems initializing Network driver on MCF5235 Coldfire
CWolfe at motioncontrol.org wrote:
> On 21 Jun 2007 at 9:55, Joel Sherrill wrote:
>
> this has been done. I have also added debugging staterments inside most of the functions in
> rtems_glue.c that pertain to network initialization.....
> I would assume that the problem exists only either the BSP or in my code, and not in the
> rtems code, but i'm a bit lost in tracking the problem's origin.
I would agree with this.
A simple test is to find the bit of code that unmasks the interrupts for the
FEC and comment it out. If the board does not crash it would seem the handler
is the cause. It will not work but that is next.
>
>> There are two tasks and a couple of interrupt_handler's in the driver.
>> You need to know which of them runs.
> i will add some more debugging statements and try to find out......
>
Is it possible to get a BDM gdb debugger working on your board ?
If you could it would make things simpler to debug.
Regards
Chris