Reference Information

Hardware Documentation

CPU Core: ARM Cortex-M0+

MCU: NXP KL25Z128

Development Board: NXP FRDM-KL25Z

Expansion Shield

Hardware Assembly Instructions

Software

Code Base

Build Chain

  • MDK-ARM Lite Integrated Development Environment (IDE)
    • Getting Started with MDK  
    • Download page – Use the Download MDK-Core link. Skip license activation to use the MDK-Lite edition.
    • App. Note 232 covers installation and use, but its PDF instructions are out of date. Please refer to Practical Homework 1 for updated instructions.
    • App. Note 298 Migrate ARM Compiler 5 to ARM Compiler 6

Appendix: Unused Tools

Code Analysis

  • Call Graph Tool (TBD)
    • Must be located in ESA-23/Tools/Calls
    • Requires Graphviz and Python
    • Keil MDK-ARM: Target Options
      • Linker -> Misc Controls: –callgraph_file=mycallgraph.txt –callgraph_output=text
      • Listings -> check Linker Listing box.
  • Get Regions: PC-Sampling Profiler (TBD)
  •  Ghidra
    • To create a new project:
    1. Start Ghidra
    2. File->New Project (Ctl-N)
    3. Select Non-Shared Project, Next
    4. Define Project Name, change Project Directory if needed
    5. Click on green Ghidra head in Tool Chest (upper left)
    6. File->Import File (I) to select the .axf from MDK project’s Object directory
    7. Import … OK.
    8.  OK for import results
    9. Answer Yes to “… has not been analyzed. Would you like to analyze it now?”
    10. In Analysis Options -> Analyzers, select DWARF, then in Options check Preload all DIEs (the last box)
    11. Then select Analyze.

Test Equipment