Problems with arm-usb-ocd and TWR-K60N512

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problems with arm-usb-ocd and TWR-K60N512

ソリューションへジャンプ
4,269件の閲覧回数
dariojimenez
Contributor II

Hi,

I'm trying to program the flash of the TWR-K60N512 by the debugger arm-usb-ocd and openocd but I have the next error. Any solution for that??

C:\openocd-0.7.0\bin>openocd-0.7.0.exe -f openocd.cfg

Open On-Chip Debugger 0.7.0 (2013-05-05-10:41)

Licensed under GNU GPL v2

For bug reports, read

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

Info : only one transport option; autoselect 'jtag'

cortex_m3 reset_config sysresetreq

adapter speed: 50 kHz

Info : add flash_bank kinetis pflash.0

Info : add flash_bank kinetis pflash.1

Info : clock speed 50 kHz

Error: JTAG scan chain interrogation failed: all ones

Error: Check JTAG interface, timings, target power, etc.

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

Error: k60.cpu: IR capture error; saw 0x0f not 0x01

Warn : Bypassing JTAG setup events due to errors

START...

Warn : Invalid ACK 0x7 in JTAG-DP transaction

Polling target k60.cpu failed, GDB will be halted. Polling again in 100ms

Polling target k60.cpu failed, GDB will be halted. Polling again in 300ms

Polling target k60.cpu failed, GDB will be halted. Polling again in 700ms

Polling target k60.cpu failed, GDB will be halted. Polling again in 1500ms

Polling target k60.cpu failed, GDB will be halted. Polling again in 3100ms

Polling target k60.cpu failed, GDB will be halted. Polling again in 6300ms

0 件の賞賛
返信
1 解決策
2,693件の閲覧回数
dariojimenez
Contributor II

Finally, I have solved it by myself. The problem was that the TWR-K60N512 have a jtag connector of 20 pins but actually use it like a 10 pin jtag connector. (See the pictures)

JTAG TWR-K60N512

11864_11864.jpgjtag-twr.JPG.jpg

COMPARISON

11866_11866.jpgcomparacion.JPG.jpg

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,694件の閲覧回数
dariojimenez
Contributor II

Finally, I have solved it by myself. The problem was that the TWR-K60N512 have a jtag connector of 20 pins but actually use it like a 10 pin jtag connector. (See the pictures)

JTAG TWR-K60N512

11864_11864.jpgjtag-twr.JPG.jpg

COMPARISON

11866_11866.jpgcomparacion.JPG.jpg

0 件の賞賛
返信
2,693件の閲覧回数
dariojimenez
Contributor II
0 件の賞賛
返信
2,693件の閲覧回数
perlam_i_au
Senior Contributor I

This is the same thread like Problems with arm-usb-ocd and TWR-K60N512, just to keep this in order I will consider that thread as the "good one"

0 件の賞賛
返信
2,693件の閲覧回数
Wlodek_D_
Senior Contributor II

Hello,

Thank you for your post, however please consider moving it to the right community place (e.g. Kinetis Microcontrollers ) to get it visible for active members.

For details please see general advice Where to post a Discussion? (https://community.freescale.com/docs/DOC-99909 )

Thank you for using Freescale Community.

0 件の賞賛
返信