As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Changes

Jump to: navigation, search

CW308T-STM32F

583 bytes added, 19:53, 10 April 2017
Programming Connection
== Programming Connection ==
The 20-pin JTAG port (J6 on CW308 Board) can be used with the [https://www.digikey.com/product-detail/en/stmicroelectronics/ST-LINK-V2/497-10484-ND/2214535 ST-LINK/V2] which is a low-cost JTAG programmer. Other  It is also possible to use other JTAG programmers (such as OpenOCD) may work.The following command worked with an Olimex OpenOCD programmer and their [https://www.olimex.com/Products/ARM/JTAG/ARM-USB-OCD-H/ OpenOCD for Windows] software:<pre>openocd -f path/to/board/files/cw308.cfg -c init -c targets -c "halt" -c "flash write_image erase path/to/firmware.hex" -c "verify_image path/to/firmware.hex" -c "reset run" -c shutdown</pre>where the contents of <code>cw308.cfg</code> are<pre>source [find interface/olimex-arm-usb-ocd-h.cfg]source [find target/stm32f4x.cfg]reset_config srst_only</pre>
== Schematic ==
Approved_users
510
edits

Navigation menu