Skip to main content

Memory usage visualiser for embedded applications

Project description

Overview

Nesiac is a terminal tool for visualising memory usage in embedded programs.

As an example when run on the STM32 "HID_Standalone" project for STM32H747I-DISCO board:

Nesiac terminal output

Installation

Nesiac is very early in development, and supports only Windows (currently).

It may be installed with pip via:

python -m pip install git+https://github.com/Eekle/Nesiac

Usage

Nesiac requires two files to do its analysis:

  • An ELF file for section and symbol info
  • A map file (in GCC style) for memory region info

If Nesiac is given a single path as argument, that path should be a directory containing exactly one .elf and one .map file. In that case, Nesiac will use those files for analysis.

Alternatively those paths may be overriden with the -e,--elf-file and -m,--map-file arguments.

Exporting a map file from GCC may be enabled with the -Wl,-Map=<FILE> flag.

If you are using a linker that cannot generate GCC style map files, then you can provide a dummy map file with the region info in the correct format:

Memory Configuration

Name             Origin             Length             Attributes
FLASH            0x0000000008000000 0x0000000000100000 xr
RAM              0x0000000024000000 0x0000000000020000 xrw
ITCMRAM          0x0000000000000000 0x0000000000010000 xrw
*default*        0x0000000000000000 0xffffffffffffffff

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nesiac-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

nesiac-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file nesiac-0.1.0.tar.gz.

File metadata

  • Download URL: nesiac-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Windows/10

File hashes

Hashes for nesiac-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c82bda32f0943cf11b476d40e0c21b19ee2b8144e9403cc4e0b61460ddc2481
MD5 7ec1594f4aa4577f5a742a39b420a44f
BLAKE2b-256 022db03573f9e2906ba3aa9bbcb2b239d764ac3f08be136bbef0fe501435446c

See more details on using hashes here.

File details

Details for the file nesiac-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nesiac-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Windows/10

File hashes

Hashes for nesiac-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d443578cd2cecdcd42e7b39d511d71cbb50057221c355d55e681ff4e2c0ffafa
MD5 51e3b7288a818e693e36478f8dcdc5b5
BLAKE2b-256 70b88cc5cdfa3ec547b4bc1bf1d41bf523ed1cc48c226f2c88ba0d0c472688de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page