View: 16321|Reply: 13

openOCD - jtag, i2c, spi, swd etc debugger, programmer interface

[Copy link]

11

threads

75

posts

376

credits

Intermediate member

Rank: 3Rank: 3

credits
376
Published in 2016-6-8 19:06:42 | Show all floors |Read mode
hi i've ported openOCD to my OPI2 to use gpio as programmer (mainly for jtag/swd, but other should work too) some time ago, but have not time to test it till now.
is this program/possibility interesting for someone? is here someone who want to test it? H3 gpio supports only 3.3v and microcontrollers/flash/eprom chips should be powered from 3.3v power pin of opi. or it needs to add a buffer like 74244/74125.

is someone intersted in the untested (yet) soft programmer/debugger? to make tests.

11

threads

286

posts

1934

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1934
Published in 2016-6-10 19:17:59 | Show all floors
Fantastic,please post source!!! i wont use jtag interface to repair router.Thanks

11

threads

75

posts

376

credits

Intermediate member

Rank: 3Rank: 3

credits
376
 Author| Published in 2016-6-11 19:21:20 | Show all floors
https://github.com/bhgv/openocd

@melanrz
i only ask you to write here or me about result of testing/changes/commits. i think this is helpfull program.

1

threads

23

posts

487

credits

Intermediate member

Rank: 3Rank: 3

credits
487
Published in 2016-6-14 15:42:03 | Show all floors
Hi,

it will be great if somebody will be able to use it to mod XBOX360 ;-) it will be great to use PI to mod XBOX :-) to add some interesting and useful functions to it ;D

11

threads

75

posts

376

credits

Intermediate member

Rank: 3Rank: 3

credits
376
 Author| Published in 2016-6-14 18:08:47 | Show all floors
@dr_hans i have a better idea - to write games directly to linux-arm-oges. they can run as well as on ipad/iphone and better than on android (because of java). most of closed commercial OSes live because of games (windows, ios).

if you only want to someone hacks for you your xbox for free - this is a complex and expensive work. but you can seek on ebay/aliexpress/google a ready to use decision, this way is much cheaper.

1

threads

23

posts

487

credits

Intermediate member

Rank: 3Rank: 3

credits
487
Published in 2016-6-14 22:37:55 | Show all floors
@bhgv I do not want for somebody to do something for me - I will use my PI to do this and to program XBOX - If I have a tutorial...

I can solder etc. but I am not an electronics master...

11

threads

75

posts

376

credits

Intermediate member

Rank: 3Rank: 3

credits
376
 Author| Published in 2016-6-15 06:05:40 | Show all floors
@dr_hans hm, sorry for my words.

you should understand that this is a very experimental software. and you should understand that opi2 GPIOs support only 3.3v, no 5v or higher! you should power your board from opi gpio 3.3v and gnd pins! and all what you plan to do - you will do with your risk! if you are not an enginer or experiensed hobbist i hardly propose you to find one locally and consult with him.

if you plan to use jtag or swd, take a look to file tcl/interface/sysfsgpio-raspberrypi.cfg . in this file jtag and swd signals bind to wiringOP pin numbers (https://github.com/zhaolei/WiringOP). you can use numbers from that file and you can change number how you want.

the best - use a buffer chip like 74244 or 74115 (3.3v!), or use wires with continuous resistors 10-30ohm (maximum 100ohm), or you can use plain wires but this is more risky.

(otherside - jtag/swd/i2c adapters cost only $2-5 today. maybe this way will be better?)

11

threads

75

posts

376

credits

Intermediate member

Rank: 3Rank: 3

credits
376
 Author| Published in 2016-6-26 02:41:43 | Show all floors
can anyone write me is it working?

3

threads

62

posts

950

credits

Senior member

Rank: 4

credits
950
Published in 2017-4-5 00:09:55 | Show all floors
Edited by Armen at 2017-4-5 14:22

Hi ,thanks for great work but I cannot install , miss file "configure" and I get this error

./my_configure.sh: 5: ./my_configure.sh: ./configure: not found
Edit: need to send ./bootstrap at first


3

threads

62

posts

950

credits

Senior member

Rank: 4

credits
950
Published in 2017-4-5 14:22:48 | Show all floors
I successfully connect evb-lm3s8962 via USB, but it still not working with GPIO. I will happy for any help or advance
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list