Groups
Groups
Sign in
Groups
Groups
Cortex-M3内核的应用
Conversations
About
Send feedback
Help
avrdude相关
5 views
Skip to first unread message
杨萌
unread,
Jan 17, 2012, 11:57:45 AM
1/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cortex-M3内核的应用
在linux下,以ATmega8为示例
进入terminal模式:
$sudo avrdude -c usbasp -p m8 -t
烧写熔丝位:avrdude>write lfuse 0 0xe4(低八位)
avrdude> write hfuse 0 0xd7(高八位)
读取熔丝位:avrdude> read lfuse
avrdude> read hfuse
烧写程序:
$sudo avrdude -c usbasp -p m8 -e -U flash:w:xxx.hex:i
将片上程序储存到hello.hex
$sudo avrdude -c usbasp -p m8 -U flash:r:hello.hex:i
读取熔丝位:
$sudo avrdude -c usbasp -p m8 -vv
其中:
-c usbasp指定烧写线;
-p m8 指定芯片(ATmega8)
-e 擦除芯片;
-U memtype:w|r|v:xxx.hex:type 写(w),读(r),校验(v)指定的储存类型,type格式i为ihex
-t 进入terminal模式
Reply all
Reply to author
Forward
0 new messages