Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service
   Home P&E Customer Support FAQs - Frequently Asked Questions FAQ ID # 227
FAQ ID # 227
 
Question
How do I switch between Lock-Step Mode (LSM) and Dual-Processor Mode (DPM) on a MPC564xL PowerPC Nexus devices?
 
Answer
The Qorivva PowerPC Nexus MPC564xL devices have an option to switch between LSM and DPM modes by making changes in the shadow flash block. However, making changes in the shadow block is not easy and we have created a FLASH programming algorithm and outlined a step-by-step procedure on how to get the mode changed.

1) If you do not have the PROG for PPCNEXUS software from PEmicro, please download the attached demo/trial software and install it on your machine. The trial license is limited to 64K code size. Since the file required to perform a mode change does not reach the code-size limit of 64k, this limitation does not apply to the specific use case application.

2) After getting the trial license and activating the trial software, open PROG for PPCNEXUS software (PROGPPCNEXUS.exe) and connect to your Qorivva device using the PEmicro hardware interface such as: Multilink Universal FX, Cyclone Universal(FX) or Cycloene MAX. If successful, there will be a pop-up prompt to select an algorithm. If not successful, please check your connections and try changing the debug shift speed within the connection manager. You may also want to check if the device may be censored with a password. Use the "advanced" button within the Connection Manager to enter a password.

3) Within the algorithms folder, search for the algorithm called "Freescale_MPC5643L_1x32x2_Shadow_Blk_DPM_LSM_Config.PCP". This algorithm is specifically designed to only change the DPM and LSM bits and preserve all other data in the shadow flash block. Without preservation, you can accidentally erase the security bits and censorship password and irreversibly brick your device. Hence, please be sure to use an algorithm designated for performing LSM <-> DPM mode configuration within the shadow memory region.

4) WARNING: Make sure to run this step to completion. Otherwise, data could be lost or you may accidentally brick your device.

Within the command pick window, find the "EM: Erase Module" command and double click it. The algorithm will preserve the data in the shadow block only erasing the bytes responsible for controlling LSM and DPM device mode.

5) Within the command pick window, double click on one of two commands that are enabled to switch between modes: LS and DP. LS will execute the command to switch the mode on your device to LSM, while the DP will execute the command to switch to mode on your device to DPM.

6) After the mode has been set, quit out of the software and power cycle your chip/board. Now your chip will boot up in the mode you have selected.

 
Related Downloads
64K Power Architecture 55xx Starter C Development Kit - The 64K Starter Edition of PEmicro's PKGPPCNEXUS software development package provides the capability to compile, debug, and flash program up to 64KB of user C code for Power Architecture 55xx devices. This software suite includes the PEmicro In Circuit Debugger, Flash Programmer, and WinIDE integrated environment with built-in GCC Compiler.

 
Architectures Categories Products
Qorivva MPC5xxx, NXP Kinetis / S32 (ARM) General / Miscellaneous, Development Board, Debugger, Flash Programming Software, Development Kit / Package, Stand-Alone Programmer PROGPPCNEXUS, UNITPPCNEXUS-LINUX, CYCLONE_MAX, UNITPPCNEXUS, PKGPPCNEXUS_CMAX
 
Please rate this FAQ to help us improve our support
0 means "not helpful"
10 means "very helpful"
0 1 2 3 4 5 6 7 8 9 10

© 2017 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement