Pinak Paralkar

Flash Read/ write problem for s12xdg

Discussion created by Pinak Paralkar on Nov 12, 2011
Latest reply on Nov 14, 2011 by kef

I am working on flash bootloader on xdg128.

 

For communication with bootloader I am using serial port with interrupt.

 

But if I dont disable interrupt while actual flash read/write operation are going on the code hangs.

 

As per program flow chart for xdg128(as mentioned in datasheet), nothing is written about disabling interrupt.

 

Also as per flowchart if i check CBEIF bit for writing next word, writing fails. It works if some delay is given between them.

 

Why so.

Outcomes