BPv4 support for jtag?

OpenOCD JTAG debugging with the Bus Pirate.

BPv4 support for jtag?

Postby kallisti5 » Tue Sep 18, 2012 7:06 am

I purchased the BPv4 to do some jtag debugging on the Raspberry Pi. (I went with the BP vs a jtag-only device because the BP seemed more flexible even though a little slow.)

However, it seems OpenOCD BusPirate v4 support really doesn't exist at this point... it took reading the firmware release notes to discover:

http://dangerousprototypes.com/docs/Bus ... ge_history

6.0:
* Enable OpenOCD support in v3. Note: OpenOCD currently not available for BPv4 due to lack of new USB system support.

I have the 6.2 firmware on the Bus Pirate, but no luck still with JTAG / OpenOCD.

What is the current state of the v4 JTAG stuff (what's missing, etc)? You may want to post the fact that JTAG isn't functional yet on the v4 in a clearer spot... it took a lot of digging to find that info.

-- Alex
kallisti5
Newbie
Newbie
 
Posts: 11
Joined: Mon Sep 17, 2012 11:29 pm

Re: BPv4 support for jtag?

Postby ian » Fri Sep 21, 2012 5:55 am

Hi Alex,

I'm sorry about the problem with the Bus Pirate. Can I send you the mainstream Bus Pirate v3?

I updated the main comparison page to list the missing features at the very top, I'm sorry it wasn't clearer.

As I recall robots did look into this, I don't remember if it is fixed. If it is not in this beta release then I assume not:
viewtopic.php?f=4&t=4428
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: BPv4 support for jtag?

Postby ian » Fri Sep 21, 2012 5:55 am

This looks to be the last update and test patch:
viewtopic.php?f=27&t=3997#p40020
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: BPv4 support for jtag?

Postby kallisti5 » Fri Sep 21, 2012 12:07 pm

Thanks! I'll try that openocd patch.
I mostly went with the v4 as an investment.. (it's pretty expensive getting stuff from seeedstudio to the US in a timely fashion)

That note on 6.0 says that Binary mode JTAG support doesn't exist... has that changed as of 6.2?

Thanks!
-- Alex
kallisti5
Newbie
Newbie
 
Posts: 11
Joined: Mon Sep 17, 2012 11:29 pm

Re: BPv4 support for jtag?

Postby kallisti5 » Fri Sep 21, 2012 12:41 pm

Nevermind, didn't read both of your posts :)

Is there any way I could get a build of the firmware for testing those OpenOCD changes?

If not I can build it myself... not 100% on what toolchain is needed though.
kallisti5
Newbie
Newbie
 
Posts: 11
Joined: Mon Sep 17, 2012 11:29 pm

Re: BPv4 support for jtag?

Postby ian » Sat Sep 22, 2012 2:19 am

I'm traveling an unable to make a new firmware now, but after next week maybe. You could also poke robots, maybe he has it patched already and would be happy to have you test it for him :)

Here's our how-to on developing on the Bus Pirate:
http://dangerousprototypes.com/2012/03/ ... ent-board/

You'll need the source from SVN:
http://dangerousprototypes.com/docs/Using_SVN
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: BPv4 support for jtag?

Postby kallisti5 » Sun Sep 23, 2012 1:12 pm

Thanks for the info.. I ended up buying a Flyswatter2 as will make my life a lot easier... I have a lot of projects and don't need to add another one to the pile.

I'll hold onto the BusPirate, maybe I will need it at some point :)

-- Alex
kallisti5
Newbie
Newbie
 
Posts: 11
Joined: Mon Sep 17, 2012 11:29 pm

Re: BPv4 support for jtag?

Postby gaguilar » Sat Mar 14, 2015 7:37 am

Hello,

Is just great that the compiler for this chip is no longer available. So it's needed an alternative for this. Because without a compiler the whole Pirate Bus project is dead.

I tried https://github.com/makes/c30-linux but's currently no compiling with -p=24FJ64GA106 I don't know why even if in the compiler seems to exist this target.

So, do you have any help for this?
gaguilar
Newbie
Newbie
 
Posts: 7
Joined: Fri Mar 13, 2015 7:39 am


Return to OpenOCD JTAG

cron