Skip to content

442534820/miniPowerMeter_fw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniPowerMeter firmware


Build

make clean
make

Start OpenOCD

openocd -f jlink.cfg -f stm32f0x.cfg
or using default openocd script files
openocd -f interface/jlink.cfg -f target/stm32f0x.cfg
or using auto script
./script/run_openocd.sh

Start Flash & Debug

arm-none-linux-gnueabi-gdb
target remote 127.0.0.1:3333
monitor halt
monitor flash write_image erase build/mini_pm.elf
monitor reset
or using script
arm-none-line-gnueabi-gdb
source script/gdb_download.gdb
or using makefile command
make download
make debug

Flash via DFU (dfuse-tool needed)

dfu-convert -b 0x08000000:build/mini_pm.bin build/mini_pm.dfu
dfu-util -a 0 -D build/mini_pm.dfu

About

firmware project for miniPowerMeter based on ChibiOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published