How do I debug my multicore MPC551x with two *.elf or *.hex files ?
Flash programming via UDE® Memtool is only possible via master core 'z1'.
So even the *.elf
file for the 'z0' core must be flashed via 'z1' core. The best method for doing so is following step-by-step guide:
- Download and flash the
*.elf
file for 'z0' via 'z1' Debugger - Download and flash the
*.elf
file for 'z1' via 'z1' Debugger - Enable Attach to service mode in debugger properties for 'z0'. Go to menu Config - Debug server configuration and select Download in the Debug server section. Enable the option.
- Download symbols for 'z0' via 'z0' debugger in Service mode
The elf file patterns are loaded now into the flash via 'z1' core and the symbols are loaded in each according debugger.