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.