在此處下載-Ti MSP430引導加載程序(BSL).NET跨平台工具鏈
| 發布 | 作業系統 | 建築學 | 框架 | 最後一個穩定 |
|---|---|---|---|---|
| BSL430.NET | Winnt,Linux | X86,AMD64 | Net461,NetStandard2.0 | v1.3.4 |
| BSL430.NET.Firmwaretools | 任何 | 任何 | Net40,Net45,Net461,NetStandard2.0 | v1.3.4 |
| BSL430.NET.Console | Winnt,Linux | X86,AMD64 | NetCoreApp3.0 | v1.3.2 |
| BSL430.NET.WPF(GUI) | 獲勝 | X86,AMD64 | Net461,(NetCoreApp3.0) | v1.3.2,商店 |
Note: USB mode not tested yet.
Warning: Old 1xx/2xx/4xx bootloader protocol handle Erase or incorrectly entered password
as complete memory wipe including Info A (with calibration data), if LOCK A bit is not set!
BSL430.NET項目始於2016年,當時我根據CC430 MCU(F5XX)在PCB上連接到FT232的無線氣象站項目。我想實現自動固件升級功能,而PC控件應用程序已經用C#(WPF)編寫。因此,我開始研究TI文檔和編碼,但是很快我意識到,沒有這樣的東西(C ++ Ti BS430庫或Python MSP430工具除外),既通用又可擴展。因此,今天,在Weather Station項目已經完成之後,我將指導轉換為BSL430.NET ,並希望鼓勵其他開發人員和發燒友使用此應用程序/圖書館,我已經完全開源了,此外,我製作了一些不錯的Win GUI應用程序,以簡單使用。現在,該庫可以集成到任何基於MSP430的項目中,甚至可以商業化,以啟用自動固件升級。更多Intel在這裡:Wiki主頁,Wiki庫,Wiki GUI應用程序,Wiki Console App或Wiki固件工具
Wiki文檔- 首先開始快速通行以易於使用
從MCU下載代碼:
將固件上傳到MCU(暗模式) :
擦除整個MCU :
XML日誌(暗模式) :
外殼擴展與協會:
托盤圖標設置(暗模式) :
Wiki文檔- 教程如何使用控制台應用程序
掃描設備(FTDI) :
將固件上傳到MCU :
從MCU下載固件:
固件工具 - 驗證:
Wiki Docs-文檔和代碼示例,可輕鬆啟動和復制和粘貼
public interface IBsl430Net
{
ScanAllResult ScanAllEx ( ScanOptions ScanOpt ) ;
ScanResult < Bsl430NetDevice > ScanAll ( ScanOptions ScanOpt ) ;
ScanResult < Tdev > Scan < Tdev > ( ScanOptions ScanOpt ) where Tdev : Bsl430NetDevice ;
StatusEx Erase ( Bsl430NetDevice Device ) ;
StatusEx Erase ( string DeviceName ) ;
StatusEx Upload ( string FirmwarePath , Bsl430NetDevice Device , byte [ ] Password ) ;
StatusEx Upload ( string FirmwarePath , string DeviceName , byte [ ] Password ) ;
StatusEx Download ( byte [ ] Password , int AddrStart , int DataSize , out List < byte > Data , Bsl430NetDevice Device ) ;
StatusEx Download ( byte [ ] Password , int AddrStart , int DataSize , out List < byte > Data , string DeviceName ) ;
Status SetBaudRate ( BaudRate BaudRate ) ;
Status SetInvokeMechanism ( InvokeMechanism InvokeMechanism ) ;
Status SetMCU ( MCU Mcu ) ;
BaudRate GetBaudRate ( ) ;
InvokeMechanism GetInvokeMechanism ( ) ;
MCU GetMCU ( ) ;
Mode GetMode ( ) ;
} 我想對每個開發人員(或公司)中的每個項目表示感謝,因為該項目以某種方式使用所有這些項目,沒有它們,就不會有BSL430.NET:
在此處下載- 固件工具作為BSL430.NET子軟件包
BSL430.NET.FirmWaretools是跨平台庫創建的BSL430.NET的一部分,然後在生長了一點之後,製造了獨立的子包裝。創建固件工具的第一個動機是,當我需要統一擦除,下載和上傳塊之前的解析方法時。一段時間後,添加了Intel-Hex和Ti-TXT,SREC和ELF得到了支持。今天,該圖書館提供了基本的公司操作,具有很少但功能強大的靜態方法。
Wiki Docs -BSL430.NET GUI應用程序文檔和教程
Note: BSL430.NET and Firmware Tools are integrated into single GUI and Console Apps!
固件工具(暗模式) :
證實:
十六進位:
Wiki文檔- 準備使用代碼樣本和教程
public static Firmware Parse ( string FirmwarePath , FwFormat Format , bool FillFF , StringWriter Log ) ;
public static string Create ( Firmware Firmware , FwFormat Format , int LineLength ) ;
public static string Create ( IEnumerable < byte > Data , int AddrStart , FwFormat Format , int LineLength ) ;
public static string Create ( ICollection < FwNode > Data , FwFormat Format , int LineLength ) ;
public static ( string Fw , FwFormat Format ) Convert ( string FirmwarePath , FwFormat Format , bool FillFF , int LineLength ) ;
public static ( string Fw , FwFormat Format1 , FwFormat Format2 ) Combine ( string FirmwarePath1 , string FirmwarePath2 , FwFormat Format , bool FillFF , int LineLength ) ;
public static BslPasswords GetPassword ( string FirmwarePath ) ;
public static FwInfo Validate ( string FirmwarePath , StringWriter Log ) ;
public static ( bool Equal , double Match , int BytesDiff ) Compare ( string FirmwarePath1 , string FirmwarePath2 ) ;
public static ( bool Equal , double Match , int BytesDiff ) Compare ( Firmware Firmware1 , Firmware Firmware2 ) ; Note: Author is not responsible for any kind of damage, that could arise
from wrong use or misuse of this library or apps!