J-link燒寫brjtag工具

來源:互聯網
上載者:User

標籤:

J-Link用的山寨貨,不知道山寨了幾代的那種....用的STM32F103C8T6的小板也是山寨了好幾代那種,才25塊錢...好在能用,J-Link用segger公司的軟體能識別,也能找到CPU,板子的腳都有留出來。

閑話少說,幹活。

串連硬體,雙擊開啟segger目錄下的J-Link.exe,看到列印如下資訊:

SEGGER J-Link Commander V4.02d (‘?‘ for help)Compiled Mar 12 2009 15:39:38DLL version V4.02d, compiled Mar 12 2009 15:39:15Firmware: J-Link ARM-OB STM32 compiled Mar 01 2010 17:00:09Hardware: V7.00S/N : 20090928Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFullVTarget = 3.300VInfo: TotalIRLen = 9, IRPrint = 0x0011Info: Found Cortex-M3 r1p1, Little endian.Info: TPIU fitted.Info:   FPUnit: 6 code (BP) slots and 2 literal slotsFound 2 JTAG devices, Total IRLen = 9: Id of device #0: 0x3BA00477 Id of device #1: 0x16410041Cortex-M3 identified.JTAG speed: 5 kHz

找到兩個JTAG,呵呵,這塊小板也燒的J-Link的Firmware,感謝萬能的Segger。

根據hugebird的文檔《USB-BRJTAG Manual STM32》,要寫USBbootloader到0x08000000,所以,先看看現在的Firmware這個位置什麼什麼。因為沒有Led,待會不好判斷是不是燒好了。

J-Link>mem 0x08000000 808000000 = 60 02 00 20 71 01 00 08

然後,就下程式進去:

1) 開啟JFlashARM,File->Open找到hidbl_stm32_hse.hex

2)Options->Project Settings->CPU->STM32F103C8T6。到這裡,看了下,Flash的base addr是08000000。唔,文檔是說燒到這個位置,不確定,不知道是不是要把下面的Individual setor裡面第一個第二個勾掉;打算不對重試。

3)Target-> connect,Target->Program&verify

燒寫完了繼續用J-Link.exe

J-Link>mem 0x08000000 808000000 = 00 04 00 20 95 17 00 08

說明燒寫正常嘛~

然後用USB Bootloader下載剩下的Firmware。

 

J-link燒寫brjtag工具

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.