I have narrowed the problem down to the CS1 settings. I don't know why but if I set the FB_CSPMCR bits 31:28 to 0 I no longer get the bus fault. But , as I understand this, that means I don't have the CS anymore on the output pin. It will now be ALE?
I am not using ALE in the design since I only have to read from a device using the CS and RD lines. How to I get around this one?
The code does run when I do not have CS1 as the chosen pin of the multiplex register.
ANY RESPONSE from FREESCALE welcome!