Msp430 bsl program
關于MSP430
There are three options for programming an MSP430 flash device. All options support in-system programming:
Program via JTAG
Program via the Bootstrap Loader
Program via a custom solution
S9000使用msp430V325的BSL向觸摸屏下載firmware
其內存分區(qū):
| Memory Main: interrupt vector Main: code memory | Size flash flash | 32KB Flash 0FFFFh-0FFC0h 0FFFFh-08000h |
| Information memory | size flash | 256 Byte 010FFh-01000h |
| Boot memory | Size Rom | 1KB 0FFFh-0C00h |
| RAM | Size | 1KB 05FFh-0200h |
| Peripherals | 16-bit 8-bit 8-bit SFR | 01FFh-0100h 0FFh-010h 0Fh-00h |
見文檔:?Media:MSP430V325.pdf
[編輯]program folw:
1.是否解密
2.Check, if specified range is erased
3.寫如數(shù)據(jù)
4.verify寫入的數(shù)據(jù)
[編輯]下載工具:
msp430dl
usage:
msp430dl [OPTION]...?
DESCRIPTION
-f, --fw_file {FirmwareFile}
download firmware and exit.
-d, --dump {addr} {len} [filepath]
dump flash memory from address addr to addr+len(byte) to filepath default?
-e, --erase {addr/"main"/"info"/"all"}
erase flash memory segment
-s, --serial [serial_file_path]
set the serial path if not set it's /dev/tty0
-h, --help
Display this help and exit.
-v, --version
Output version information and exit.
[編輯]項目代碼
| msp430dl | msp430dl | ? |
進入bsl模式: echo 1 > /sys/class/input/input2/irda_download_mode
[編輯]參考文檔:
Media:MSP430_Programming_Via_the_Bootstrap_Loader.PDF
Media:MSP430V325.pdf
Media:MSP430x2xx User's Guide.pdf
總結
以上是生活随笔為你收集整理的Msp430 bsl program的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 深度解析Eureka的自我保护机制
- 下一篇: Python暂停的几种方法