MM9S1J638 D2D error interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MM9S1J638 D2D error interrupt

786 Views
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 Kudos
Reply
0 Replies