Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

JTAG/Debugging

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


balazovic.peter at gmail

Nov 26, 2009, 6:47 AM

Post #1 of 6 (234 views)
Permalink
JTAG/Debugging

Hello all,

is there any python package which potentially can support JTAG (BDM or
others) debugging interface for embedded system development?
Is there any other packages supporting debugging, monitoring, data
logging, flash programming of embedded systems?
I am not looking for python implementation within embedded system. I
am looking for any python support (package) for development of
embedded systems via PC.
Thank you!

Best regards,
pepe
--
http://mail.python.org/mailman/listinfo/python-list


news at schwertberger

Nov 26, 2009, 7:26 AM

Post #2 of 6 (220 views)
Permalink
Re: JTAG/Debugging [In reply to]

pepe schrieb:
> is there any python package which potentially can support JTAG (BDM or
> others) debugging interface for embedded system development?
> Is there any other packages supporting debugging, monitoring, data
> logging, flash programming of embedded systems?

Don't know about JTAG, but I've successfully used a TBDML interface from
Python to control S12 microcontrollers via BDM.
Basically, any BDM or JTAG interface should have a DLL as driver which
you can import using ctypes.
--
http://mail.python.org/mailman/listinfo/python-list


news at schwertberger

Nov 26, 2009, 7:32 AM

Post #3 of 6 (226 views)
Permalink
Re: JTAG/Debugging [In reply to]

Dietmar Schwertberger schrieb:
> pepe schrieb:
>> is there any python package which potentially can support JTAG (BDM or
>> others) debugging interface for embedded system development?
>> Is there any other packages supporting debugging, monitoring, data
>> logging, flash programming of embedded systems?
>
> Don't know about JTAG, but I've successfully used a TBDML interface from
> Python to control S12 microcontrollers via BDM.
> Basically, any BDM or JTAG interface should have a DLL as driver which
> you can import using ctypes.
Sorry, hit the wrong button...

Low level usage via ctypes looked like this:

import ctypes
tbdml = ctypes.windll.LoadLibrary("tbdml.dll")

# connect
tbdml.tbdml_init() # returns number of devices
tbdml.tbdml_open(0)
tbdml.tbdml_target_sync() # returns 0 on success

# play with micro ports
tbdml.tbdml_write_byte(0x0,2) # set port
tbdml.tbdml_read_byte(0x0) # read back


With a small wrapper around, usage looked like this:

import TBDML
t = TBDML.TBDML(device_no=0);t.target_sync();t.target_reset(0)
t[0x00] = 2
print t[0x00]


If that's what you need, contact me.


Regards,

Dietmar
--
http://mail.python.org/mailman/listinfo/python-list


invalid at invalid

Nov 26, 2009, 8:56 AM

Post #4 of 6 (215 views)
Permalink
Re: JTAG/Debugging [In reply to]

On 2009-11-26, pepe <balazovic.peter [at] gmail> wrote:

> is there any python package which potentially can support JTAG
> (BDM or others) debugging interface for embedded system
> development?

Yes.

> Is there any other packages supporting debugging, monitoring,
> data logging, flash programming of embedded systems?

Yes.

> I am not looking for python implementation within embedded
> system. I am looking for any python support (package) for
> development of embedded systems via PC.

http://www.google.com/search?q=python+jtag
http://www.google.com/search?q=python+jtag+msp430


--
http://mail.python.org/mailman/listinfo/python-list


balazovic.peter at gmail

Nov 26, 2009, 9:55 AM

Post #5 of 6 (221 views)
Permalink
Re: JTAG/Debugging [In reply to]

On Nov 26, 5:56 pm, Grant Edwards <inva...@invalid.invalid> wrote:
> On 2009-11-26, pepe <balazovic.pe...@gmail.com> wrote:
>
> > is there any python package which potentially can support JTAG
> > (BDM or others) debugging interface for embedded system
> > development?
>
> Yes.
>
> > Is there any other packages supporting debugging, monitoring,
> > data logging, flash programming of embedded systems?
>
> Yes.
>
> > I am not looking for python implementation within embedded
> > system. I am looking for any python support (package) for
> > development of embedded systems via PC.
>
> http://www.google.com/search?q=python+jtaghttp://www.google.com/search?q=python+jtag+msp430

I looked at this - I did some google search and it seems to me a dead
project (PyET)?
I thought that some of you is aware of embedded system development
with help of python.

It would be nice to have not just JTAG, BDM support and even data
logging, recording, display and post processing - similar to features
of http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FREEMASTER.
Unfortunately it is proprietary tool.

Regards,
Pepe
--
http://mail.python.org/mailman/listinfo/python-list


balazovic.peter at gmail

Nov 26, 2009, 9:56 AM

Post #6 of 6 (219 views)
Permalink
Re: JTAG/Debugging [In reply to]

On Nov 26, 4:32 pm, Dietmar Schwertberger <n...@schwertberger.de>
wrote:
> Dietmar Schwertberger schrieb:> pepe schrieb:
> >> is there any python package which potentially can support JTAG (BDM or
> >> others) debugging interface for embedded system development?
> >> Is there any other packages supporting debugging, monitoring, data
> >> logging, flash programming of embedded systems?
>
> > Don't know about JTAG, but I've successfully used a TBDML interface from
> > Python to control S12 microcontrollers via BDM.
> > Basically, any BDM or JTAG interface should have a DLL as driver which
> > you can import using ctypes.
>
> Sorry, hit the wrong button...
>
> Low level usage via ctypes looked like this:
>
> import ctypes
> tbdml = ctypes.windll.LoadLibrary("tbdml.dll")
>
> # connect
> tbdml.tbdml_init() # returns number of devices
> tbdml.tbdml_open(0)
> tbdml.tbdml_target_sync() # returns 0 on success
>
> # play with micro ports
> tbdml.tbdml_write_byte(0x0,2) # set port
> tbdml.tbdml_read_byte(0x0) # read back
>
> With a small wrapper around, usage looked like this:
>
> import TBDML
> t = TBDML.TBDML(device_no=0);t.target_sync();t.target_reset(0)
> t[0x00] = 2
> print t[0x00]
>
> If that's what you need, contact me.
>
> Regards,
>
> Dietmar

Good to know Dietmar - thanks a lot!

Regards,
Pepe
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.