Skip to content

leechwort/OCDPlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OCDPlot

Realtime plotting tool for OpenOCD gdb server

Small utility, which connects to OpenOCD server and can plot selected variable

Imgur

$ ./ocdplot.py --help
usage: ocdplot.py [-h] [-a ADDRESS] [-t TYPE] [-n INTERVAL]

optional arguments:
  -h, --help            show this help message and exit
  -a ADDRESS, --address ADDRESS
                        variable address, e.g. 0x12345678
  -t TYPE, --type TYPE  variable type <float, uint32_t, int32_t>
  -n INTERVAL, --interval INTERVAL
                        milliseconds between updates

Example of usage:

$ ./ocdplot.py -a 0x40000024 -t uint32_t -n 100

This will read value of TIM2->CNT register in my STM32F101RCT6 microcontroller. OpenOCD server should be already started and connected to target.

About

Realtime plotting tool for OpenOCD gdb server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages