OSC changes with Debug?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OSC changes with Debug?

1,251件の閲覧回数
Lokutas
Contributor I

Please help,

 

On the S08QE128... A given task takes 12 seconds to finalize when running the program trough the debugger and it takes 7 seconds (aprox) when running the program with out the debugger.

 

I suspect a OSC frequency shifts, what could be wrong?

 

Thanks,

Carlos

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

482件の閲覧回数
Lokutas
Contributor I

Forgot details...

 

Running on FEI mode.

 

Configuration script:

  SOPT1_COPE = 0;
  SOPT1 |= SOPT1_BKGDPE_MASK | SOPT1_RSTPE_MASK;  
  ICSC1 = 0 | ICSC1_IREFS_MASK | ICSC1_IRCLKEN_MASK | ICSC1_IREFSTEN_MASK;
  ICSC2 = 0;
  ICSSC = 0 | ICSSC_DRST_DRS0_MASK;

0 件の賞賛
返信

482件の閲覧回数
trav
Contributor III
Yea I believe the BDM steals clock cycles.  I ran into this problem when trying to use clock cycles as timers.
0 件の賞賛
返信