Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,348 Views

Intel® Quark™ Microcontroller D2000 - Update Target ROM Fails : Could not update the ROM. Setup target failed

0 Kudos
8 Replies
idata
Community Manager
29 Views

It looks that your board is connected to the host system, and the JTAG driver is installed properly. Yet the OpenOCD fails to communicate to the microcontroller. One possible reason is that the firmware on the microcontroller disabled the JTAG. For example JTAG might be disabled because firmware put the MCU into the sleep mode, or programmed pin multiplexers so that JTAG signals are no longer connected to the MCU pins. Try connecting a jumper wire between Arduino Header pin 0 (RX) and GND (e.g. pin next to the Arduino Header pin 13), resetting/reconnecting the board, and then re-flashing the board. Remove the jumper wire once board re-flashed successfully.

Jose_P_Intel
Employee
29 Views

Hi lx,

Thanks for your interest in the Intel Quark Microcontrollers Platform.

This is a known issue, could please try the suggestions in the following threads:

I will be waiting for your reply, have a nice day.

Best Regards,

-Jose.

idata
Community Manager
29 Views

Thank you for your answer.

Still such a result.

Open On-Chip Debugger 0.8.0-dev-gba72ade-dirty (2016-07-19-11:13)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.sourceforge.net/doc/doxygen/bugs.html http://openocd.sourceforge.net/doc/doxygen/bugs.html

Info : only one transport option; autoselect 'jtag'

adapter speed: 1000 kHz

trst_only separate trst_push_pull

adapter speed: 1000 kHz

trst_only separate trst_push_pull

(likely Digital Pin 0)

Info : clock speed 1000 kHz

Info : TAP quark_d2000.cltap does not have IDCODE

Warn : JTAG tap: quark_d2000.cltap UNEXPECTED: 0x00000000 (mfg: 0x000, part: 0x0000, ver: 0x0)

Error: JTAG tap: quark_d2000.cltap expected 1 of 1: 0x0e786013 (mfg: 0x009, part: 0xe786, ver: 0x0)

Warn : Unexpected idcode after end of chain: 1 0x80000000

Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)

Error: Trying to use configured scan chain anyway...

Error: quark_d2000.cltap: IR capture error; saw 0xff not 0x1

Warn : Bypassing JTAG setup events due to errors

Setup clock

adapter speed: 3 kHz

Error: Target not examined yet

Runtime Error: c:/IntelSWTools/ISSM_2016.1.067/tools/debugger/openocd//scripts/target/quark_d2000.cfg:73:

in procedure 'flash_rom'

in procedure 'clk32M' called at file "c:/IntelSWTools/ISSM_2016.1.067/tools/debugger/openocd//scripts/target/quark_d2000.cfg", line 131

in procedure 'mww' called at file "c:/IntelSWTools/ISSM_2016.1.067/tools/debugger/openocd//scripts/target/quark_d2000.cfg", line 73

idata
Community Manager
29 Views

Thank you for your answer.

Still such a result.

Open On-Chip Debugger 0.8.0-dev-gba72ade-dirty (2016-07-19-11:13)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.sourceforge.net/doc/doxygen/bugs.html http://openocd.sourceforge.net/doc/doxygen/bugs.html

Info : only one transport option; autoselect 'jtag'

adapter speed: 1000 kHz

trst_only separate trst_push_pull

adapter speed: 1000 kHz

trst_only separate trst_push_pull

(likely Digital Pin 0)

Info : clock speed 1000 kHz

Info : TAP quark_d2000.cltap does not have IDCODE

Warn : JTAG tap: quark_d2000.cltap UNEXPECTED: 0x00000000 (mfg: 0x000, part: 0x0000, ver: 0x0)

Error: JTAG tap: quark_d2000.cltap expected 1 of 1: 0x0e786013 (mfg: 0x009, part: 0xe786, ver: 0x0)

Warn : Unexpected idcode after end of chain: 1 0x80000000

Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)

Error: Trying to use configured scan chain anyway...

Error: quark_d2000.cltap: IR capture error; saw 0xff not 0x1

Warn : Bypassing JTAG setup events due to errors

Setup clock

adapter speed: 3 kHz

Error: Target not examined yet

Runtime Error: c:/IntelSWTools/ISSM_2016.1.067/tools/debugger/openocd//scripts/target/quark_d2000.cfg:73:

in procedure 'flash_rom'

in procedure 'clk32M' called at file "c:/IntelSWTools/ISSM_2016.1.067/tools/debugger/openocd//scripts/target/quark_d2000.cfg", line 131

in procedure 'mww' called at file "c:/IntelSWTools/ISSM_2016.1.067/tools/debugger/openocd//scripts/target/quark_d2000.cfg", line 73

AZimi
New Contributor II
29 Views

Hi,

could you make a photo of your quark board?

idata
Community Manager
29 Views

Thank you for your answer.

AZimi
New Contributor II
29 Views

Look at the picture bottom, you should place the jumper into red square pins

idata
Community Manager
29 Views

Thank you very much!