As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Difference between revisions of "CW308T-MPC5748G"

From ChipWhisperer Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Warningbox|This requires a programmer for the MPC5748G to reload code. }}
+
== Page Moved ==
{{Warningbox|This target requires special setup. An example script can be found at: https://github.com/newaetech/chipwhisperer-jupyter/blob/1ccd1b1fbd8a3295e1033efb37e53e1022d47cc5/Helper_Scripts/Setup_CW308_MPC5748G.ipynb}}
+
  
{{Infobox cw308target
+
See [https://rtfm.newae.com/Targets/UFO%20Targets/CW308T-MPC57/ NewAE RTFM Page] which is now built from the [https://github.com/newaetech/chipwhisperer-target-cw308t GIT Repo].
|name                  = CW308T-MPC5748G
+
|image                  = mpc5748g_web.jpg
+
|caption                =
+
|Target Device          = NXP MPC5748G
+
|Target Architecture    = PowerPC, Triple-Core
+
|Hardware Crypto        = Possible
+
|Purchase Hardware      =
+
|Design Files          = [https://github.com/newaetech/chipwhisperer-target-mpc5748g Example Application]
+
|Supported Applications =
+
}}
+
  
The MPC5748G target uses the NXP MPC5748G device, which is a triple-core PowerPC microcontroller for automotive applications. This target board has a number of interesting features including:
+
The previous content on this wiki has been moved to the above link. See wiki history if you would like to view exact older versions of this page.
 
+
* Two CAN interfaces, with with DB9.
+
* Two serial ports (usable as LIN).
+
* Various solder jumpers for variety of power analysis options.
+
 
+
=Intended Usage=
+
 
+
== Demo Application ==
+
 
+
The demo application provides examples of:
+
* Using serial interface (implements Simple-Serial).
+
* Using CAN interface.
+
* Enabling all three cores, and communicating between cores with shared memory.
+
* Running software AES on main core.
+
* Running password-check (XOR) on main core.
+
* Setup of clock network for using external clock from ChipWhisperer.
+
* Enabling the PASS module & passing a password to it (to allow DPA testing of PASS module).
+
 
+
This demo application is posted as a separate github repository at [https://github.com/newaetech/chipwhisperer-target-mpc5748g https://github.com/newaetech/chipwhisperer-target-mpc5748g]. The github link includes additional documentation.
+
 
+
== Offered Variants ==
+
The product is available in one variant:
+
 
+
* The "NORMAL" variant which is normally shipped (i.e., P/N NAE-CW308T-MPC5748G). This variant has the following setup:
+
** HSM is not programmed. We cannot provide details on this usage without a NDA.
+
** The four OTP password groups have been programmed with 4 known passwords you can use for experimentation.
+
** Device lifecycle is progressed to the "OEM Production" stage. This will prevent you from doing certain updates to the memory, but for most "normal" uses will not prevent reloading of code etc. This progression is done since it is required to use the password/censorship features.
+
** The demo application is loaded which includes ability to execute code loaded over the serial port and change/read memory locations (but is NOT a full bootloader).
+
** Device censorship is disabled (this can be turned on using an external programmer).
+
** The JTAG port has a known password, but is not locked (this can be turned on using an external programmer or via load functions).
+
 
+
== Programming ==
+
 
+
The device is designed to use an external programmer for reflashing, as it does not include a bootloader. The suggested programmer (scripts are provided in the GIT repo) is the PE-Micro which requires purchasing:
+
*PEMicro USB Multilink or USB Mulilink FX
+
*PEMicro PROGPPCNEXUS (Programmer SW only) or PEMicro PowerPC Nexus Development Kit (includes Debugger). You may be able to use a GDB server instead but we haven't tested this.
+
 
+
You can use the MPC5748G-DEVKIT instead with invasive hardware mods - the devkit has an on-board programmer, but it uses buffers such it cannot be routed to any available header pins. You would need to solder small jumper wires to small SMD pins for this to work. However as the dev-kit is very cheap, it may be worthwhile to scrap one and convert into an external programmer.
+
 
+
== HSM Usage ==
+
 
+
The device features a HSM, but details of this are under NDA and cannot be made public.
+
 
+
== Random Useful Tips ==
+
 
+
=== S32DS Version ===
+
 
+
It is recommended to use S32DS Version 2017 or later. The default linker scripts changed slightly in such a way that old scripts don't work with the new version, and thus all scripts have been updated to work with the latest release.
+
 
+
=== Disassembling Source ===
+
 
+
If you are having trouble debugging, it can be useful to read out a memory segment and dissassemble it. This is possible with the included S32DS tools. The following shows the required command line:
+
 
+
  E:\nxp\S32DS_Power_v2017.R1\Cross_Tools\powerpc-eabivle-4_9\bin>powerpc-eabivle-objdump.exe -mpowerpc -Me200z4 -D -b srec -EB MPC5748G.s19 > MPC5748G.txt
+
 
+
== Hardware ==
+
{{Template:Hardware}}
+
 
+
[[Category: CW308 Targets]]
+

Latest revision as of 12:33, 29 July 2020

Page Moved

See NewAE RTFM Page which is now built from the GIT Repo.

The previous content on this wiki has been moved to the above link. See wiki history if you would like to view exact older versions of this page.