debugWIRE?

Go To Last Post
12 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hello,
atmel introduced 2 new µC (tiny13 and tiny2313), which use the debugWIRE interface for debugging.
but nothing is mentioend about the necessary emulatot.
has anybody some more information about it?

greetings
gerhard

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I hope that they put it in all smallish devices also like the mega8, 8515 and 8535. The emulator should not be very complicated as the chip should have some code built inside it and should just use the reset pin for comms with Studio (4.08???) I suppose. Motorola has had something similar for quite a while in the HC12 and HC08 micros (which of course I never used as Motorola is in the bad books with me...OH I have mentioned this before have I? :-)). Perhaps some of the Motorola users on this list can describe their hardware, but it was little more than an RS232 converter and a data direction switch IIRC.

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have found the drawing for the Motorola 1 wire debug hardware. I DON"T KNOW if Atmel's is similar.

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"I hope that they put it in all smallish devices also like the mega8, 8515 and 8535."

According to the MegaAVR flyer on the Atmel Web site, it will be part of the Mega48, Mega88, & Mega168.

Lee

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In future all non-jtag devices (incl MEGAx8 devices) will have a debugwire interface. This means all devices will have on-chip debug of some sort.

The emulator will be the new one planned to replace the JTAGICE end this year/start next year. It will support both JTAG and DEBUGWIRE (but not simultaneously - 2 chips = 2 ICE's). I've been promised that it will be the same price as the current JTAGICE.

MJ.

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have a JTAGICEII "emulator", which I am using, in it's DebugWIRE guise, - Info from Atmel is sparse, but I crashed through and now I love it! In future of my designs will be in DebugWIRE capable chips - debugwire should have been embraced years ago, instead of persisting with costly, messy, constantly obseleted emulators. Now, in answer to Gerhard's query - one doesn't need an emulator for TINY13, 2313 etc., In fact, calling the New JTAGICEII an emulator is quite eroneous - more descriptively it is an "interrogator". Complete program execution occurs in the target chip, not in some box of tricks trying to look like the target - DebugWIRE dumps current CPU & memory status for display by Studio4, whenever CPU execution is halted, whether by Studio or by an embedded break-point. For many though, the JTAGICEII is too pricey - hate to be suggesting this, addicted to the AVR as I am, but those just wanting to play with MCUs and Debugwire might want to check out Zilog's offerings.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Has anyone out there managed to catch up with the man who produced the UNI-ICE ( a natty-looking debugwire-capable debugger)? He was in the UK, but seems to have evaporated, along with his desirable product, yet links to this device are still posted in FREAKS, even though they seem to be all dead - Is there a way to aquire one of these UNI-ICE's? - i gather it's originator may be somewhere in the wilds of NZ - like a lot of clever people, maybe it all just became too, tooo much?

Phil - South Horstrayia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For the Mega8, you can prototype using a Mega16 with JTAG - the devices are similar enough for this to be a very useable setup with a few assemble-time switches to redefine port C/A addresses and adc channels.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Has anyone been using the debugWIRE interface with with the ATmega168? Any feedback?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have you looked at this recent (vs. the 3-year-old thread you are adding onto) thread?
https://www.avrfreaks.net/index.p...

Lee

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

never mind

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Very surprised that no one seems to have mentioned the Dragon :? It has both DW and JTAG for chips up to 32K memory, it is only about US$50, pretty hard to get at the moment, works very well with the Tiny2313, M48/M88/M168. Unfortunately it looks like thare may not be a DW for the M8 in the wind but you can use a M88 if you have a new design or just starting out. READ ABOUT THE DIFERENCES between the M8 and M88. I have asked the Atmel engineer that does seminars in Australia (about once a year) regarding DW for the M8515 and M8535 and there was a possible maybe answer, but of course if they come up with a DW version of the chips they will be called something different and may even have some changes similar to what happened with the M8 and M88.
As the M8515 and M8535 are part of the common chips I use (as well as the T2313 and the M8 ) I would love to have them with DW.

oops just realised how old the original question was, the Dragon wasn't hatched yet :oops:
Regarding the use of DW and the M168 I did a "quick" conversion of the M8 firmware that runs in my LED displays to run on the M168 and seesm to work well.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly