EmbeddedRelated.com
Forums

8051 on-chip debugging

Started by Schueler March 25, 2011
Folks,



I would like to use the 8051 derivate MAXIM DS89C4xx in one of my 
experiments regaring motor controlling but I am worried about the on-chip 
debugging capabilites. I could not find any material on this topic. Does 
anybody know whether the DS89C4xx series support debugging or not? Any other 
known 8051 derivate which features on-chip debugging and which offers an 
evaluation board?



Thanks in advance.

Regards B. Schueler


In message <4d8c673f$0$6883$9b4e6d93@newsspool2.arcor-online.net>,
Schueler <berti.schueler@arcor.de> writes
>Folks, > > > >I would like to use the 8051 derivate MAXIM DS89C4xx in one of my >experiments regaring motor controlling but I am worried about the on-chip >debugging capabilites. I could not find any material on this topic.
This is because most MCU don't have on chip debugging capabilities. Over the last 5 -10 years JTAG has become more common. The 8051 family which is much older does not have it on the majority of parts.
>Does >anybody know whether the DS89C4xx series support debugging or not? Any other >known 8051 derivate which features on-chip debugging and which offers an >evaluation board?
What sort of on chip debugging are you looking for? The Atmel and NXP parts have on chip debug capability when used with an Ice (they use the Hooks and Enhanced Hooks system that does nto require a bondout part) Others such as Sylabs do have JTAG. Had you asked last month I had two 8061 ICE to give away (a Nohau and a Hitex) but they have gone now. Might be worth a punt on ebay for Emulators as both iSystem and Signum did Ice for the Dallas/Maxim part you are interested in. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
"Schueler" <berti.schueler@arcor.de> wrote in message 
news:4d8c673f$0$6883$9b4e6d93@newsspool2.arcor-online.net...
> Folks, > > > > I would like to use the 8051 derivate MAXIM DS89C4xx in one of my > experiments regaring motor controlling but I am worried about the on-chip > debugging capabilites. I could not find any material on this topic. Does > anybody know whether the DS89C4xx series support debugging or not? Any > other known 8051 derivate which features on-chip debugging and which > offers an evaluation board? > > > > Thanks in advance. > > Regards B. Schueler > >
Not easily/cheaply... see the other post.... Closest you will get is to write your own on board 'traps' that dump CPU status/important bits over the com port... or use simple diagnostic LEDs on spare port pins to identify various program points. It's a good processor :)
In message <imi01a$ogd$1@dont-email.me>, TTman <pcw1.cad@ntlworld.com>
writes
> >"Schueler" <berti.schueler@arcor.de> wrote in message >news:4d8c673f$0$6883$9b4e6d93@newsspool2.arcor-online.net... >> Folks, >> >> >> >> I would like to use the 8051 derivate MAXIM DS89C4xx in one of my >> experiments regaring motor controlling but I am worried about the on-chip >> debugging capabilites. I could not find any material on this topic. Does >> anybody know whether the DS89C4xx series support debugging or not? Any >> other known 8051 derivate which features on-chip debugging and which >> offers an evaluation board? >> >> >> >> Thanks in advance. >> >> Regards B. Schueler >> >> >Not easily/cheaply... see the other post.... Closest you will get is to >write your own on board 'traps' that dump CPU status/important bits over the >com port... or use simple diagnostic LEDs on spare port pins to identify >various program points. >It's a good processor :)
Or..... If you are using the Keil compiler there is a Monitor system that works well (for a monitor :-) This is a small piece of SW that will let you put in break points and single step the code on the board etc. It works though the serial port and talks to the Keil uVision simulator debugger. There are several versions of the monitor depending on the chip and the memory. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
"Schueler" <berti.schueler@arcor.de> wrote in message 
news:4d8c673f$0$6883$9b4e6d93@newsspool2.arcor-online.net...
> Folks, > > > > I would like to use the 8051 derivate MAXIM DS89C4xx in one of my > experiments regaring motor controlling but I am worried about the on-chip > debugging capabilites. I could not find any material on this topic. Does > anybody know whether the DS89C4xx series support debugging or not? Any > other known 8051 derivate which features on-chip debugging and which > offers an evaluation board? > > > > Thanks in advance. > > Regards B. Schueler > >
Look a the Silabs parts, huge range of nice 8051 derivatives with on chip debug, cheap evaluation boards and debugging tools. Michael Kellett
On Fri, 25 Mar 2011 12:16:57 +0000, Chris H <chris@phaedsys.org> wrote:

>In message <imi01a$ogd$1@dont-email.me>, TTman <pcw1.cad@ntlworld.com> >writes >> >>"Schueler" <berti.schueler@arcor.de> wrote in message >>news:4d8c673f$0$6883$9b4e6d93@newsspool2.arcor-online.net... >>> Folks, >>> >>> >>> >>> I would like to use the 8051 derivate MAXIM DS89C4xx in one of my >>> experiments regaring motor controlling but I am worried about the on-chip >>> debugging capabilites. I could not find any material on this topic. Does >>> anybody know whether the DS89C4xx series support debugging or not? Any >>> other known 8051 derivate which features on-chip debugging and which >>> offers an evaluation board? >>> >>> >>> >>> Thanks in advance. >>> >>> Regards B. Schueler >>> >>> >>Not easily/cheaply... see the other post.... Closest you will get is to >>write your own on board 'traps' that dump CPU status/important bits over the >>com port... or use simple diagnostic LEDs on spare port pins to identify >>various program points. >>It's a good processor :) > >Or..... If you are using the Keil compiler there is a Monitor system >that works well (for a monitor :-) > >This is a small piece of SW that will let you put in break points and >single step the code on the board etc. It works though the serial port >and talks to the Keil uVision simulator debugger. > >There are several versions of the monitor depending on the chip and the >memory.
Which reminds me that there is a version of the NoICE monitor/debugger for the 8051. I use their ARM debugger with a Segger J-Link quite a lot and their MSP430 on those few occasions lately when I use a 430. I have not used any of their offerings for the smaller processor families but NoICE has been around for a long time and their lead guy, John Hartman, is pretty fanatical about customer support. If it fits the OP's requirements, I'd definitely recommend it for consideration. http://www.noicedebugger.com/targets.html -- Rich Webb Norfolk, VA
In message <mh8po65kag7uk39hg6ucfa31lr76s2cfqj@4ax.com>, Rich Webb
<bbew.ar@mapson.nozirev.ten> writes
>On Fri, 25 Mar 2011 12:16:57 +0000, Chris H <chris@phaedsys.org> wrote: > >>In message <imi01a$ogd$1@dont-email.me>, TTman <pcw1.cad@ntlworld.com> >>writes >>> >>>"Schueler" <berti.schueler@arcor.de> wrote in message >>>news:4d8c673f$0$6883$9b4e6d93@newsspool2.arcor-online.net... >>>> Folks, >>>> >>>> >>>> >>>> I would like to use the 8051 derivate MAXIM DS89C4xx in one of my >>>> experiments regaring motor controlling but I am worried about the on-chip >>>> debugging capabilites. I could not find any material on this topic. Does >>>> anybody know whether the DS89C4xx series support debugging or not? Any >>>> other known 8051 derivate which features on-chip debugging and which >>>> offers an evaluation board? >>>> >>>> >>>> >>>> Thanks in advance. >>>> >>>> Regards B. Schueler >>>> >>>> >>>Not easily/cheaply... see the other post.... Closest you will get is to >>>write your own on board 'traps' that dump CPU status/important bits over the >>>com port... or use simple diagnostic LEDs on spare port pins to identify >>>various program points. >>>It's a good processor :) >> >>Or..... If you are using the Keil compiler there is a Monitor system >>that works well (for a monitor :-) >> >>This is a small piece of SW that will let you put in break points and >>single step the code on the board etc. It works though the serial port >>and talks to the Keil uVision simulator debugger. >> >>There are several versions of the monitor depending on the chip and the >>memory. > >Which reminds me that there is a version of the NoICE monitor/debugger >for the 8051. I use their ARM debugger with a Segger J-Link quite a lot >and their MSP430 on those few occasions lately when I use a 430. > >I have not used any of their offerings for the smaller processor >families but NoICE has been around for a long time and their lead guy, >John Hartman, is pretty fanatical about customer support. If it fits the >OP's requirements, I'd definitely recommend it for consideration. > >http://www.noicedebugger.com/targets.html
Looks interesting and something to consider if you can't get the Keil system. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Michael Kellett wrote:

> > Look a the Silabs parts, huge range of nice 8051 derivatives with on chip > debug, cheap evaluation boards and debugging tools. > > Michael Kellett > >
Sorry for the repetition, but arguably the best 8 bit / 8051 devices around and by quite a wide margin. Sub $100 kits with quality toolchain that you can have running out of the box in less than 1 hour... Regards, Chris
Rich Webb wrote:

[...]

>Which reminds me that there is a version of the NoICE monitor/debugger >for the 8051. I use their ARM debugger with a Segger J-Link quite a lot >and their MSP430 on those few occasions lately when I use a 430. > >I have not used any of their offerings for the smaller processor >families but NoICE has been around for a long time and their lead guy, >John Hartman, is pretty fanatical about customer support. If it fits the >OP's requirements, I'd definitely recommend it for consideration.
I'm using it for the 9S08 (HC08 before) and I love it. Regarding the plain debugging functions, it's not far behind expensive tools like iSYSTEM winIDEA (which I'm using for Coldfire and 9S12). Sadly John doesn't keep up with newer architectures like CM3. Oliver -- Oliver Betz, Munich despammed.com is broken, use Reply-To:
On Fri, 25 Mar 2011 17:14:13 +0100, Oliver Betz <obetz@despammed.com>
wrote:

>Rich Webb wrote: > >[...] > >>Which reminds me that there is a version of the NoICE monitor/debugger >>for the 8051. I use their ARM debugger with a Segger J-Link quite a lot >>and their MSP430 on those few occasions lately when I use a 430. >> >>I have not used any of their offerings for the smaller processor >>families but NoICE has been around for a long time and their lead guy, >>John Hartman, is pretty fanatical about customer support. If it fits the >>OP's requirements, I'd definitely recommend it for consideration. > >I'm using it for the 9S08 (HC08 before) and I love it. Regarding the >plain debugging functions, it's not far behind expensive tools like >iSYSTEM winIDEA (which I'm using for Coldfire and 9S12). > >Sadly John doesn't keep up with newer architectures like CM3.
That might be coming. As I understand it, NoICE worked (teamed?) with Imagecraft as they (Imagecraft) developed their ARM7TDMI compiler. It is the default loader/debugger for that tool set and it supports Imagecraft's DBG format in addition to the more usual Elf/Dwarf files. Imagecraft has been promising a CM3 compiler Real Soon Now and I would be surprised if they didn't choose to continue the relationship. Disclaimer: No insider knowledge other than as a satisfied customer of both companies. -- Rich Webb Norfolk, VA