Need to reconnect BP after each usage

OpenOCD JTAG debugging with the Bus Pirate.

Need to reconnect BP after each usage

Postby marcus » Sun Jun 03, 2012 9:30 pm

And another question:
Everytime I use my BP for flashing or even when connecting with console (screen) I have to reconnect the BP (unplug and plug the USB cable) in order to use it again. Otherwise it will not respond.

Any clue why this is happening/necessary?

:-) Marcus

/edit: Forgot details about my set-up:
V3.5c Bus Pirate with bootloader v4.4 and firmware v6.1 r1676 and used in Ubuntu Precise
marcus
Newbie
Newbie
 
Posts: 2
Joined: Sun Jun 03, 2012 9:12 pm

Re: Need to reconnect BP after each usage

Postby ian » Mon Jun 04, 2012 3:30 am

Hi Marcus,

I think the OpenOCD support uses a higher baud rate than the normal terminal. Maybe the Bus Pirate or FTDI chip are not being returned to the correct speed.

Does this happen if you connect with a console twice, or only after flashing with OpenOCD?
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: Need to reconnect BP after each usage

Postby robots » Wed Jun 06, 2012 3:00 am

How do you exit openocd ?... If you issue correct command ("shutdown"), it will correctly exit the OpenOCD mode on the buspirate. There is no other solution for this problem, and has been discussed some time ago.
User avatar
robots
Hero Member
Hero Member
 
Posts: 569
Joined: Sat Dec 05, 2009 11:19 am
Location: CZ/Prague


Return to OpenOCD JTAG