m68k clock problem

Nicolas PIGEON pigeon.nicolas at wanadoo.fr
Mon May 26 11:47:05 UTC 2003


Hi Vyacheslav,


>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....
>> 
>> 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

>I'm using another bsp, but probably problem resides in your interrupt 
>handler - did you call printf() or something like that from your isr 
>handler? malloc? 


I never jump inside the interrupt handler. I put a printf("toto") at the beginning of it, but it never appears. In fact, the corresponding interrupt vector is never read...

Anyway thanks for help!




More information about the users mailing list