I have a little problem, which I identified as SPIFI affection on UART. In one part of my code I initialize the SPIFI interface using spifilib. In spifiPrvDevGetID function (which is a part of a function stack) there are instructions that read and write data directly from SPIFI controller adresses. Further in my code I send information through UART. But it causes Bus Fault while debugging. Removing instructions from spifiPrvDevGetID function solves the problem, but these commands are necessary to initialize SPIFI correctly. What could cause such kind of problems? Do you know any solution to that problem?