This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bootstrap questions

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.

Parents

  • 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?


    According to my C166 manual, to exit the BSL, you must perform a software reset or a hardware reset.


    My bootstrap code works on an emulator but not on a native board.


    Make sure the emulator memory (RAM) is configured exactly the same way as the chip you use.

    Keil Software

Reply

  • 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?


    According to my C166 manual, to exit the BSL, you must perform a software reset or a hardware reset.


    My bootstrap code works on an emulator but not on a native board.


    Make sure the emulator memory (RAM) is configured exactly the same way as the chip you use.

    Keil Software

Children
No data