原创 使用命令行快速编译AVR

2008-8-28 01:23 3440 8 8 分类: MCU/ 嵌入式
在批处理时,要给芯片烧写程序,设置熔丝位以及加锁。简单的方法是建立一个*.bat文件,添加例如:

STK500.EXE -dATmega64 -lCC -ms -e -fD8FF -EFF -I921600 -ifFlash.hex -pf -vf


Command
Line Switches:



    [-d
device name] [-m s|p] [-if infile] [-ie infile] [-of outfile]



    [-oe
outfile] [-s] [-O address] [-Sf addr] [-Seaddr] [-e] [-p f|e|b]



    [-r
f|e|b] [-v f|e|b] [-l value] [-L value] [-y] [-f value] [-E value]



    [-F
value] [-G value] [-q] [-Y] [-Z address] [-c port] [-ut value]



    [-Wt
value] [-ua value] [-wt] [-wa] [-b h|s] [-! freq] [-t] [-I freq]



    [-J]
[-h] [-?]


文章评论0条评论)

登录后参与讨论
我要评论
0
8
关闭 站长推荐上一条 /2 下一条