Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » MSPGCC
  • » [Mspgcc-users] python jtag bsl - question [RSS Feed]

#1 March 23, 2008 12:43:37

m.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] python jtag bsl - question


hello my dear mspgcc users,

why a lot of the mspgcc tools are written 2 times?
there is a "normal" jtag, i gueass it was written in C!? right?

and there is e python-jtag and a python-bsl!?

why is it the way it is? why are there more than one version?
is it funny to write a program twice in different languages?
what is better? - the msp430-jtag or the python-jtag?


well i have a lot to learn. :-(

please explain it to me so i know what i should use!

Thanks a lot.
>Raphael

Offline

#2 March 23, 2008 15:14:13

Grant E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] python jtag bsl - question


On 2008-03-23, msp430 <microcontrollerfr***@*mx.at> wrote:

> why a lot of the mspgcc tools are written 2 times?

Because the first one didn't do what somebody wanted.

Because the person who wrote the "second" one didn't know about
the first one.

Because somebody thought it would be fun or interesting.

> there is a "normal" jtag, i gueass it was written in C!?
> right?

No, I don't think so. Where did you find "normal jtag" written
in C?

> and there is e python-jtag and a python-bsl!?

Yes.

> why is it the way it is? why are there more than one version?

Why is there more than one brand of beer? Why is there more
than on kind of car? Why is there more than on kind of
microprocessor? ;)

> is it funny to write a program twice in different languages?

No, it's not funny. But it can be interesting and educational.

> what is better? - the msp430-jtag or the python-jtag?

If by "python-jtag" you mean the "pyjtag", then both are
written in Python by the same author. pyjtag, pyserjtag, pybsl
were the original more independent versions of the utilities.
They've since been re-written so that they share more code and
install as a set as the programs named msp430-xxxx.

> please explain it to me so i know what i should use!

Use msp430-jtag/msp430-bsl/msp43-xxx. Those tools are the ones
that are being maintained. The others have been unmaintained
for 4-5 years. The tools page on the web site is way
out-of-date -- only talks about the old, unmaintained tools.

--
Grant Edwards grante Yow! Mr and Mrs PED, can I
at borrow 26.7% of the RAYON
visi.com TEXTILE production of the
INDONESIAN archipelago?

Offline

#3 March 23, 2008 20:22:58

Chris L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] python jtag bsl - question


msp430 schrieb:hello my dear mspgcc users,

why a lot of the mspgcc tools are written 2 times?
there is a "normal" jtag, i gueass it was written in C!? right?our JTAG back end is MSP430mspgcc.dll. there are 2 python bindings forit. one is a c extension for python the other pure python with ctypes.but thats less interesting for you.the command line front end is msp430-jtag which is a python program(named msp430-jtag.py in the CVS repository). pyjtag is the oldimplementation which was renamed.and there is e python-jtag and a python-bsl!?is there? there is a "python" folder that has libraries for JTAG and BSLwithin the "mspgcc" folder and there are command line front ends calledmsp430-jtag.py and msp430-bsl.pywhy is it the way it is? why are there more than one version?there is currently only one implementation within the mspgcc project.is it funny to write a program twice in different languages?sure, especially in python ;-) and as i do all other programms in pythontoo, such a s custom programmer applications, it is much easier to do itwith my python implmentation of the JTAG or BSL code.what is better? - the msp430-jtag or the python-jtag?use the tools from the "python" folder. the other stuff is just old

chris

Offline

  • Root
  • » MSPGCC
  • » [Mspgcc-users] python jtag bsl - question [RSS Feed]

Board footer

Moderator control

Enjoy the 11th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support