发布一新工具:BrSPI SPI Flash编程器
本帖最后由 hugebird 于 2018-5-12 09:31 编辑BrSPI 是Bravo 25s SPI flash programmer 的简化名称,和BrJTAG保持一致的命名,BR系列工具。BrSPI是一个25系列SPI flash简易编程器。它既可以作为BrJTAG的增强,也可以单独使用。
BrSPI支持两种带有MCU的适配器,这两种适配器BrJTAG 1.9m以后版本也提供支持。
一种简易版本基于USBASP硬件,MCU采用ATMEGA8,
市场上有大量硬件可买,价格较低。
另一种高性能版本基于STM32F103C8 MCU, 可以用市场上的STM32 48pin核心板改造,价格稍高。
Brspi v1.0.1
-2017.10.1 STM32作为默认接口卡,
提升spi访问速度
支持4位大容量flash
运行修改STM32 的spi访问时钟频率,3档:36M/9M/1.125MHz
Brspi v0.1.1
-2011.3.26 首个测试版本
支持国内常见芯片
MXIC all MX25Lxxxx
cFeon all EN25F/P/Q/T/Bxxxx
ST/Numonyx all M25Pxx
Spansion all S25FLxxxA, K(winbond W25Q)
Atmelall AT25DFxx1, partial AT26DFxxx
SST SST25VFxxxx
WinBond W25P/X/Qxx
工具提示
===============================================
Bravo 25s SPI Flash Programmer v0.1.1 -hugebird
===============================================
USAGE:
1.Detect a spi flash
Brspi -d
2.Backup spi flash content to a file
Brspi -b </s:xxxxxx> </l:xxxxxx>
3.Program a image file to spi flash
Brspi -p filename </s:xxxxxx> </l:xxxxxx> <s1|s2|s3>
4.Erase a spi flash
Brspi -c </s:xxxxxx> </l:xxxxxx>
5.Verify a spi flash content with a image file
Brspi -v filename </s:xxxxxx> </l:xxxxxx>
6.List supported chip part number
Brspi -list
7.Enter Brspi mini shell
Brspi -x
Optional Switches
-----------------------------------------------------------------
/s:xxxxxx .......... offset start to operating(24bits)
/l:xxxxxx .......... length from start(24bits)
/cbl:d ............. specify a cable(0,1)
/sl ................ operate with low speed
/fc:dd ............. specify a spi flash, not do auto-detect
/t0 ................ backup file without timestamp
/bp ................ program with byte mode
-------------------------
program & verify with byte swapping (no swapping by default)
/s1 .............. 4-byte swap ->
/s2 .............. 4-byte swap ->
/s3 .............. 4-byte swap ->
----------------------------------------------------------------
Note:xxxxxx is decimal number or hex with 0x prefix
Compatiable flash list
----------------------
/fc:001 .........RES ID(05) 25s SPI compatible 512Kb (64KB)
/fc:002 .........RES ID(10) 25s SPI compatible1Mb(128KB)
/fc:003 .........RES ID(11) 25s SPI compatible2Mb(256KB)
/fc:004 .........RES ID(12) 25s SPI compatible4Mb(512KB)
/fc:005 .........RES ID(13) 25s SPI compatible8Mb(1MB)
/fc:006 .........RES ID(14) 25s SPI compatible 16Mb(2MB)
/fc:007 .........RES ID(15) 25s SPI compatible 32Mb(4MB)
/fc:008 .........RES ID(16) 25s SPI compatible 64Mb(8MB)
/fc:009 .........RES ID(17) 25s SPI compatible 128Mb (16MB)
/fc:010 .........RES ID(18) 25s SPI compatible 256Mb (32MB)
--------------------------------------------------------------------
Total 10 flash in list
工具
操作指南,已在工具包内,已下载的可以不下
hugebird 老大的力作 真正好的工具,很给力啊。 感谢hugebird的工作。目前我在试验bcm5354板子,因权限问题,无法下载brjtag1.9O SRC 。能否由大侠或其他各位提供下1.9O SRC的另外下载地址,或发给我邮箱:mydevelop@126.com?不胜感激~~ tom-jerry 发表于 2011-3-30 19:21 static/image/common/back.gif
感谢hugebird的工作。目前我在试验bcm5354板子,因权限问题,无法下载brjtag1.9O SRC 。能否由大侠或其他各 ...
LS的朋友 已经你邮箱 请查收!!
回复 tiansha200 的帖子
已收到。感谢tiansha~~ MARK
好东西,支持一下H大~ 学习了感谢楼主提供分享. 要是 usbasp 还能搞出ttl 那就无敌了...