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

Running from external flash

Hi!
I'm using the MCB167-NET. I have done a program using the serial port, so I use a simulated serial port to communicate with the PC using Monitor.
Actually, I have burned an external Flash with the monitor program, and I download the program to the RAM every time I want to run it.
I want to burn my program in external Flash without monitor (I don't need communicate with a PC). So, everytime I switch on the board, my program will run. Is it possible? Do I have to keep the monitor in Flash?
Thank you.

  • Hello Beatriz,
    you can (must...) put your program into flash without the rom monitor; you must correctly map all segments into the proper ROM and RAM zones and you must set your startup file to correctly enable the chip select lines for this scenario.
    If you look at the MEASURE example, you will see that it is already set for ROM (0-0x20000) and RAM (0x20000-0x40000), but the STARTUP.A66 file does not enable any BUSCON. This should be changed in order to enable Flash and RAM into proper zones after system reset.
    Hope this helps you, best regards
    Ciao
    Bruno

  • Thank you, Bruno. I've already done it, and it runs!