Coder Social home page Coder Social logo

dump's Introduction

Dump

Simple memory dump for AVR RAM and Flash (progmem)

API

RAM

void dumpRam(Print& out,void const*at,int sz)

dump ram values to output where:

  • out : The output device, ex: Serial
  • at : The memory pointer
  • sz : The size o memory in bytes

Flash / PROGMEM

void dumpPgm(Print& out,void const*at,int sz)

dump flash memory values to output where:

  • out : The output device, ex: Serial
  • at : The memory pointer
  • sz : The size o memory in bytes

Output example

Dump RAM example
0x100: ......e. ......0. 00 00 00 00 E9 00 65 00  B2 00 90 00 A4 00 30 01
0x110: ...=.0.0 x.: .Dum 0D 0A 00 3D 00 30 00 30  78 00 3A 20 00 44 75 6D
0x120: p RAM ex ample.Du 70 20 52 41 4D 20 65 78  61 6D 70 6C 65 00 44 75
0x130: mp Flash /Progmem 6D 70 20 46 6C 61 73 68  2F 50 72 6F 67 6D 65 6D

Dump Flash/Progmem example
0x100: .+...... !....... 89 2B 11 F4 7E 01 02 C0  21 96 EC CF C7 01 DF 91
0x110: ........ ........ CF 91 1F 91 0F 91 FF 90  EF 90 DF 90 CF 90 08 95
0x120: ........ a....... FC 01 91 8D 82 8D 98 17  61 F0 82 8D DF 01 A8 0F
0x130: ..]..... ._.s.... B1 1D 5D 96 8C 91 92 8D  9F 5F 9F 73 92 8F 90 E0

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.