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

Getting Started Serial Interface on Phytec mm167 lost after power cycling.

I implemented the example on p.157 of the Getting Started manual on the Phytec mm167 board, along with corrections mentioned in the knowledge base.

The example works well in debug mode, and I can flash it into the mm167 with the Keil flash tools. It restarts properly on reset, but is blown away when the power is recycled.

Phytec advises excluding the memory space 0x0000AC to 0x0000B0 hex, but that causes the following compile warning:

"WARNING L4: MEMORY SPACE OVERLAP
FROM: 0000ACH.0
TO: 0000B0H.0"

I assume this area has the serial port interrupt vectors to allow the debugger and flash tools work.

Any advice on how I can embed the Keil Serial example so that it executes on power up of the module would be appreciated.

Thanks,
Randy Alley

Parents Reply Children
  • If you are not using the monitor you should not reserve space 0xAC-0xAF. This allows the serial interrupt routines to be linked without memory overlap error.

    If you are using the debugger in the UART mode you should reserve space 0xAC-0xAF and you should not link in your serial interrupt routines. You cannot use the SSC port in you application when using the debugger in this mode.

    Another option for debugging is to use a couple I/O pins to simulate the SSC port. This tread may help. http://www.keil.com/forum/docs/thread1393.asp

    -Walt