We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Not everything's clear. The example works well in debug mode Were you using simulator or monitor? If monitor, then in which mode (BSL/SSC0/Simulated Serial) ? 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. Does it mean that it only works if you reset the hardware immediately after programming the flash? Is it possible that program code is preserved in RAM (was loaded there by the debugger prior to flash programming) and is executed off RAM after reset? Of course, the application and the monitor cannot use serial interface at the same time. My guess is that something is wrong with target settings when the program is run off flash. In most cases memory layout is different in debug mode and in normal mode. - Mike