Code Monkey home page Code Monkey logo

armv7e-m-invasive-profile-library-for-cortex-m4-mcu's Introduction

ARMV7e-M invasive profile library for cortexM4 MCU

This is a simple library used to profile of your applications in the cortex M4 micro controller.

Profile Semihosting Architecture

this library makes use of Semihosting capabilities in the Cortex-M4 microcontroller's family, additionally uses the no_instrument_functions provided by the gnu compiler that returns two address (Call and Called function addresses).

As well it includes a simple counter used to approximate the number of cycles spending by each function. At the end the library returns a XML file with the whole profile information to be visualized by and external platform.

GUI

The view of information had been done through a graphical user interface able to parse the XML and showing the results in a friendly tree-table. This table contains: name of a function, number of cycles, and the address associated.

Profile Semihosting GUI

Note: This is the first version of this library, therefore you are welcome to use, change or report any issue. I'm working on this during my free time and therefore I'll try to update documentation soon and improve the code.

Form my point of view this is no an efficient implementation since I'm using a tree data-structure to allocate the different calling paths it is interesting because there is no any open source implementation of profiling for this MCU family exploiting the semihosting communication in the DBG mode.

thanks and enyoing

armv7e-m-invasive-profile-library-for-cortex-m4-mcu's People

Contributors

daparrag avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.