Skip to content

bright-pan/Anti-Stealing-Stm32

Repository files navigation

######################################################################
## Filename:      README
## Version:       
##                
## Author:        Bright Pan <[email protected]>
## Created at:    Mon Mar 28 19:14:22 2011
##                
##                
## Modified by:   Bright Pan <[email protected]>
## Modified at:   Mon Apr 18 16:56:26 2011
##                
## Description:   
## Copyright (C) 2010-2011,  Bright Pan
######################################################################

1. openocd configure file.

   openjtag.cfg for jtag device.
   stm32f103vct6.cfg for stm32 mcu.
   init.cfg for newboot.

   sudo openocd -d 3 -l openocd.log -f openjtag.cfg -f stm32_h103_rb.cfg -f init.cfg

2. build in gnu building system.

   libtoolize
   autoreconf --install
   mkdir build
   cd build
   ../configure --host=arm-none-eabi --build=i486-linux-gnu
   make

3. libraries linking sequence

   if you want to link library a and b, but they are exist call relations of a call b,
   so you want to link the two libraries, you should link a first, then link b.

4. gdb

   if you want reburn flash, you can write:
   	  monitor newboot
   if you want reset cpu, you can write:
   	  monitor reset halt
   

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published