m68k clock problem

Chris Johns cjohns at cybertec.com.au
Fri May 23 05:42:47 UTC 2003


Nicolas PIGEON wrote:
> Hi,
> 
> It seems I have a little problem with the ods68302 clock driver. Let me explain:
 > I managed to run hello.exe, but as soon as I try to run a sample using the clock 
driver,
 > which defines CONFIGURE_TEST_NEEDS_CLOCK_DRIVER or uses its own driver table, 
there's a
 > "trace" exception (vector number 9) when the 68302 returns from the first call to
 > Context_Switch (in Thread_start_multitasking). I forced the 68000's trace bit to 0,
 > but it's the same. I checked if the clock driver's interrupt vector was OK, and
 > it is (it refers to _ISR_Handler). I really don't understand what happens, and
 > I would really appreciate any help or idea....
>

Would it be possible to get the gdb stub working ?

It is part of BSP sources and would making getting past this point easier.

> Thanks!
> 
> PS: For those who are using the ods68302 BSP, the reset.S file doesn't seem to work when
 > configuring the stack pointer. I'll post a patch ASAP
> 

Please raise a PR and attach the patch.

-- 
  Chris Johns, cjohns at cybertec . com . au




More information about the users mailing list