Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - krish2487

16
Bus Pirate Development / Re: Using bus pirate to interface with a MT3318 GPS module
actually you are right...

there is no street view in google earth india..
i checked after you posted ...
:-)

for now it is just limited to an aerial view...

if you are planning to come to india then be warned..
Hot as hell...

Russell peters would give you a more accurate picture of it...
:-D
and he is of an indian descent...
17
Bus Pirate Development / Re: Using bus pirate to interface with a MT3318 GPS module
@ian
thanks.....

@michaelZ
i m not sure about that...
besides i m just getting my hands dirty here... :-D

soon i ll use it as a clock/GPS module....

was thinking a acrylic case the size of a 20 x 4 blue backlit LCD display and a low pin count PIC to interface
it with, and use a PCF8574 to control the lcd in 8 bit mode.

i m just getting BP to control the module....
managed to change the baud rate, update rate and the info displayed.
once i finish the details i ll just catalogue and post it up, take pics and possibly capture a video too.....

must admit though
without the BP i would have never started this at all...
:P
too lazy...

on a festive note
Merry christmas....
:-)
19
OpenOCD JTAG / Re: Help with openOCD on windows
thank you
that was helpful

I gave up trying to use freddie chopins files.
As i understand it there is a buspirate.cfg in the interface folder but it doesnot show up in the openocd supported devices.

I downloaded the original files from openocd sourgeforge site and compiled them myself
I was able  to configure it fully under linux but got stuck in windows

In windows i have only one bottleneck
location of the bus pirate

the buspirate.cfg defines the location of buspirate as /dev/ttyUSB0
which is not surprising since the cygwin shell assumes a linux environment and in linux we would not need cygwin to be installed seperately.
but this does not make sense for windows as the directory structure is not the same

having said that i did see under the /dev/ folder in cygwin shell
not surprisingly i did not see the bus pirate there..

how do i change the location in the buspirate.cfg file so that i am able to point out to openocd the location of bus pirate??
21
Bus Pirate Support / Re: Bus Pirate, OpenOCD, LPC
progress at last

I gave up on windows and put my efforts into installing openocd on jolicloud
after considerable effort i succeeded

I religiously followed michals instructions posted on his blog

i attached only the bus pirate to see the output of openocd

i am also attaching screenshots of openocd with and without the target specified.

I do not know whether that is the output what i should be expecting

i connected only the buspirate to the laptop and nothing else. no target board or processor
These are my present bus pirate configuration settings
1. Speed normal
2.Vreg enabled
3.open drain enabled
4.pull ups enabled

Is the output of the screen shots normal??

if that is not the output that is expected then i hope a more experienced member can take a look and tell whether i need to change the .cfg file or  whether my install is improper


PS: i am also attaching the buspirate config file modified to have a .txt extension and the bus pirate is having v 4.2 bootloader and v4.2 firmware

Thanks for the help guys
If nothing else i managed to learn a LOT about linux and bus pirate
:-D
22
OpenOCD JTAG / Help with openOCD on windows
Hello

I am trying to get openOCD to work with buspirate on windows

I downloaded the executable from

http://www.freddiechopin.info/index.php/en

i downloaded both the 0.5.0-dev version as that had the buspirate.cfg file present in it

but try as i might i am not able to get openocd to connect with bus pirate

It gives me an error message that the specified interface was not found and then gave a list of supported interfaces among which bus pirate  was not present

i think that the openocd was not compiled with the buspirate configuration

is there any way i can make it work in its present state or do i have to build openocd from ground up to have support for bus pirate??

PS: the reason i downloaded the afore mentioned msi package fro freddie chopin is that i was not able to install openocd by building it.
I use Jolicloud on which the directory structure is different from the openocd linux installation tutorial
and on windows i tried the cygwin based method. Here the tutorial was for a FT2232 device and i have no idea how to apply it for a bus pirate
23
Bus Pirate Support / Re: Bus Pirate, OpenOCD, LPC
@ian and tayken

looks like we all arrived at the same conclusion

:-)

after much fiddling around i realised that maybe openOCD was not compiled with bus pirate support.

i tried the same command

openocd -f interfacejlink.cfg -f targetlpc1768.cfg

 but changed the interface config files
i tried arm-usb-ocd , jlink and several others

i got an error stating that the device was not found.

then i opened the bus pirate config file in word pad and this is what is present

Code: [Select]
#
# Buspirate with OpenOCD support
#
# http://dangerousprototypes.com/bus-pirate-manual/
#

interface buspirate

# you need to specify port on which BP lives
#buspirate_port /dev/ttyUSB0

# communication speed setting
buspirate_speed normal # or fast

# voltage regulator Enabled = 1 Disabled = 0
#buspirate_vreg 0

# pin mode normal or open-drain
#buspirate_mode normal

# pullup state Enabled = 1 Disabled = 0
#buspirate_pullup 0

# this depends on the cable, you are safe with this option
reset_config srst_only

vis-a-vis the olimex - arm- jtag file which contains

Code: [Select]
#
# Olimex ARM-USB-OCD
#
# http://www.olimex.com/dev/arm-usb-ocd.html
#

interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG"
ft2232_layout "olimex-jtag"
ft2232_vid_pid 0x15BA 0x0003

i think that freddie chopin has provided support for bus pirate but has not compiled the exe with bus pirate support.


I ll contact freddie and see if he can help us .

Meanwhile if any other member has found a solution to making a bus pirate work with openOCD on windows i request them to post their experiences as it will be helpful or debugging the problem.

i ll also be posting the question about buspirate configuration file in the openOCD area to see if robots,sjaak or any other member have found a method of making it work..
25
Bus Pirate Support / Re: Bus Pirate, OpenOCD, LPC
the formatting dint quite turn out how i expected

the command i gave was

openocd -f interfacebuspirate.cfg -f targetlpc1768.h


and the version is 0.4.0 not 0.5.0 as in my earlier post
0.5.0 does NOT contain the buspirate.fgc file at all and the directory structure is different
26
Bus Pirate Support / Re: Bus Pirate, OpenOCD, LPC
thanks ian

two days of researching around the web and i was able to progress a bit.
this is where i am stuck presently.

Downloaded a openOCD windows installer made by a guy by name freddie chopin
this is his website
http://www.freddiechopin.info/

i downloaded the openOCD 0.5.0-dev version available in the downloads section and ran the executable which installed openOCD in C:program files
now i loaded the buspirate with version 4.2 firmware which was suggested by michal on his site

http://michaldemin.wordpress.com/2010/0 ... d-openocd/

i then fired up realterm and entered the bus pirate JTAG mode
the mode led lights up

i then went to the bin directory of openOCD and ran the openOCD executable like this

[shadow=red,left]openOCD -f interfacebuspirate.cfg -f targetlpc1768.cfg[/shadow]

i then get this error msg on my screen
(attached as a picture)

Am i missing some link in the chain ??

help please
27
Bus Pirate Support / Bus Pirate, OpenOCD, LPC
@sjaak and tayken

Thank you..
:)

Okay here is my first learning opportunity
I am a total newbie when it comes to arm and bus pirate

However i have some amount of experience with PICs
16 series and the pic 24series
having done a couple of projects with them..

I wanted to get into arm programming

so i got this board- blueboard LPC1768

http://shop.ngxtechnologies.com/product ... ucts_id=65

as it seemed to offer to me the best value for money
( i am a little short of cash.. as always :-D )

i have gone through the forums and wiki to learn that the bus pirate supports JTAG programming
this board what i mentioned does come with a boot loader which can be used in conjunction with flash magic
(having said that we would not like to make things too easy for us hobbyists would we :-D)

i wanted to learn working with the bus pirate and also program the LPC
after going through the site i learnt that the tool i would be requiring is openOCD

after going through the openOCD site i ended up more confused than before

i have no idea what Git is nor how to use the openOCD or if openOCD supports the LPC JTAG programming at all....

can you guys give a explanation/steps what i would have to follow if openOCD supports the LPC

Thanks for the support guys
28
Bus Pirate Support / Re: Hello world from a bus pirate newbie
I am aware of the online wiki .
And i am also aware that with the continuous ongoing developments in the firmware it would be hard to maintain an updated pdf manual.

and as arhi pointed out the while the manual is pretty comprehensive it is nevertheless not fully complete.

Maybe a pdf manual is not the solution

As i said i m only stepping into these waters.
the plethora of information regarding the capabilities just seemed a bit daunting to me..
30
Bus Pirate Support / Hello world from a bus pirate newbie
Hello all
My name is chaitanya and I am the proud owner of a bus pirate(recently).

It is a fantastic tool and i keep appreciating this tool more and more day by day.
Not to sound nit-picky i would like to request the team of dangerous prototypes to provide a  pdf version of the bus pirate manual instead of the users trawling around the website for the same information.

I m sure for a newcomer like me the bus pirate is a very intimidating tool and the sheer volume of information and hot-tos present on the site will only be daunting.

I request the team to kindly post a concise/brief pdf illustrating the  bus pirate capabilities which would be a lot of help to noobs like me..

thank you
   

Edit: Moved to the support section

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01672450456session_write_close ( )...(null):0
20.01702582072ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01712582848Database_MySQL->query( ).../DatabaseHandler.php:119
40.06142721608Database_MySQL->error( ).../Db-mysql.class.php:273