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-D2000

815 bytes added, 14:37, 22 February 2018
Programming
An external programmer is needed for this target. The Quark D2000 dev-board can be used with jumper wires, or a standard OpenOCD programmer can be used. The suggested programmer is the [https://mouser.com/ProductDetail/Olimex-Ltd/ARM-USB-OCD-H Olimex ARM-USB-OCD-H] as is available from suppliers such as Mouser and Digi-Key (mouser link provided).
 
=== OpenOCD Board Setup ===
 
If using OpenOCD either stand-alone or as part of Intel ISSM, you'll need to define a new board file. The file is based on 'scripts\board\quark_d2000.cfg' found in the following directory: 'C:\IntelSWTools\ISSM_2016.0.027\tools\debugger\openocd\scripts\board' (adjust for version number changes).
 
You will find a line like the following in the original file:
 
#default frequency but this can be adjusted at runtime
adapter_khz 1000
 
Make a copy of the file, but change that to a slower speed (suggested is 125 kHz)
 
#default frequency but this can be adjusted at runtime
adapter_khz 125
 
Save this file as quark_d2000_ufo.cfg.
 
 
=== How to flash D2000 board using OpenOCD ===
C:\IntelSWTools\ISSM_2016.2.097\issm_env.bat
cd %ISSM_DEBUGGER_ROOT%\openocd
bin\openocd.exe -f scripts\interface\ftdi\olimex-arm-usb-ocd-h.cfg -f scripts\board\quark_d2000quark_d2000_ufo.cfg
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
adapter speed: 1000 125 kHz
trst_only separate trst_push_pull
flash_rom
Info : clock speed 1000 125 kHz
Info : JTAG tap: quark_d2000.cltap tap/device found: 0x0e786013 (mfg: 0x009, part: 0xe786, ver: 0x0)
Enabling lmt core tap
Note you can try the following if still having trouble:
# Use a slower JTAG clock speed. Be SURE you are using a custom .cfg file which specifies the slower JTAG speed on initial connect (and not just as part of the clk32M commands).
# Short the SHUNTH/SHUNTL pins.
Approved_users, bureaucrat, administrator
1,956
edits

Navigation menu