I have 32k words of flash at external address 0 on a C167CR-LM board. I load a preloader at 0fa40h and a loader at 0e000h. I want to burn the flash in bootstrap mode. If I clear SYSCON's ROMEN bit in my loader when running in internal RAM, does the internal BSL rom disappear immediately, or is there an instruction sequence I have to execute before the SYSCON change takes effect? I have not yet set EINIT.
My bootstrap code works on an emulator but not on a native board.
You must reload the DPPs to make the SYSCON change take effect.
If the external flash is selected with a chip select of the C167CR, you can map the external flash to any address. Mapping of the internal ROM is not relevant, if you access the flash i.e. at 400000h.
Thanks, it gives little idea to fix!
View all questions in Keil forum