Hi,
On our C6745 based custom board, we are having some problems with booting from NOR flash on EMIFA. This is what I did and what I see.
- The bootloader program (size < 0x4000, with NOR config word 0x00000F00 at 0x11800000) is first loaded in the L2RAM.
- It checks a version number of the program that resides on flash. If differs from own version number, it will write itself (add=0x11800000,len=0x4000) in the flash.
- I was expecting, after power cycle the board, to see the content of flash being copied to L2RAM. More specifically, 0x00000F00 at 0x11800000. But apperantly, L2RAM contains garbage.
- After initializing EMIFA using GEL, I can see the content on flash (0x60000000) is correct.
One questions is that how does the ROM bootloader setup EMIFA? How does it know things like write strobe? In my code, I have AEMIF_A1CR = 0x08a4432C, but I bet the ROM bootloader doesn't know this.
I am pretty confident that the boot pins have been set up properly.
Thanks