GreenWaves-Technologies / gap8_openocd

gap8 openocd port
GNU General Public License v2.0
3 stars 1 forks source link

How to chain JTAG of 2 GAP8 ? #5

Open HeleMartin opened 1 year ago

HeleMartin commented 1 year ago

Hello,

I'm trying to chain 2 GAP8 with JTAG to use only one JTAG programming port. But I have the following error :

DEPRECATED! use 'adapter speed' not 'adapter_khz'
DEPRECATED! use 'adapter driver' not 'interface'
TARGET create
GAP8 INIT TARGET
Error: IR capture error at bit 6, saw 0x03FFFFFFFFFFFFFF55 not 0x...3
GAP8 examine target
Init jtag
Initialising GAP8 JTAG TAP

Is there something to add to the openocd command ? Thanks,

Yaooooo commented 1 year ago

Hi,

Could you please confirm that you are doing:

GAP8_0 <-----------------> GAP8_1
              JTAG Prob

I am not sure this can work, and I think it will create some HW conflict... For example on TDO...

On Mon, Oct 17, 2022 at 10:44 AM HeleMartin @.***> wrote:

Hello,

I'm trying to chain 2 GAP8 with JTAG to use only one JTAG programming port. But I have the following error :

DEPRECATED! use 'adapter speed' not 'adapter_khz' DEPRECATED! use 'adapter driver' not 'interface' TARGET create GAP8 INIT TARGET Error: IR capture error at bit 6, saw 0x03FFFFFFFFFFFFFF55 not 0x...3 GAP8 examine target Init jtag Initialising GAP8 JTAG TAP

Is there something to add to the openocd command ? Thanks,

— Reply to this email directly, view it on GitHub https://github.com/GreenWaves-Technologies/gap8_openocd/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABD6RW6AJLCOKAULNRRHY4DWDUGW7ANCNFSM6AAAAAARG2TRKE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Yao ZHANGGlobal Customer Projects Director Tel: 06.82.78.41.71 Mail: @.*** Skype: zhyao930 Wechat: 453115693

[image: https://greenwaves-technologies.com/] https://greenwaves-technologies.com/

HeleMartin commented 1 year ago

Hi,

We use the following chain : JTAG Probe TDI ----> TDI (GAP8_0) TDO ----> TDI (GAP8_0) TDO ----> TDO JTAG Probe

Yaooooo commented 1 year ago

Em... I am not sure I understand your chain...

  1. There are 2 GAP8_0...
  2. How is the chain connected? and How physically the chain is connected? Could you please draw a complete JTAG connection schematic that I can check with my HW colleague?

On Mon, Oct 17, 2022 at 1:23 PM HeleMartin @.***> wrote:

Hi,

We use the following chain : JTAG Probe TDI ----> TDI (GAP8_0) TDO ----> TDI (GAP8_0) TDO ----> TDO JTAG Probe

— Reply to this email directly, view it on GitHub https://github.com/GreenWaves-Technologies/gap8_openocd/issues/5#issuecomment-1280705890, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABD6RW6VITQC2GQLBOI6R4DWDUZLHANCNFSM6AAAAAARG2TRKE . You are receiving this because you commented.Message ID: @.***>

--

Yao ZHANGGlobal Customer Projects Director Tel: 06.82.78.41.71 Mail: @.*** Skype: zhyao930 Wechat: 453115693

[image: https://greenwaves-technologies.com/] https://greenwaves-technologies.com/

HeleMartin commented 1 year ago

Sorry, with a drawing it will be more understandable image