MM9S1J638 D2D error interrupt

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

MM9S1J638 D2D error interrupt

978件の閲覧回数
vivek_sri
Contributor II

Hi

I'm working on MM9S1J638 bootloader based project where I'm doing PFlash erase and Write operations.

Sometimes the operation is successful But most of the time during flash erase or write operation, the code gets stuck somewhere.

When I pause the debugger I see that the program counter stays inside below isr.

interrupt VectorNumber_Vd2di_err void isrD2DErr(void) {

while(1) {
    if(D2DSTAT0_ERRIF) {
    D2DSTAT0_ERRIF = 1; // clear flag
}else{
    PCRReset(); // issue an analog die reset
}
}
}

I'm referring MM9Z1J638-Demo-APPSW and  AN12086SW Simple Serial Bootloader for my project.

My Bus clock freq is 25Mhz

D2D freq is 25Mhz

FCLKDIV value is 18 (Referred from datasheet )

What could be the possible reason for D2D error interrupt during flash erase and write operation.

Thanks!!

Vivek

0 件の賞賛
返信
0 返答(返信)