trying to understand JTAG

Started by Kristoff Bonne in comp.arch.embedded8 years ago 17 replies

Hi all, After having played around with a MSP430 on a TI launchpad, I got interested in onchip debugging. (the TI-launchpad has a spy-by wire...

Hi all, After having played around with a MSP430 on a TI launchpad, I got interested in onchip debugging. (the TI-launchpad has a spy-by wire interface which works quite nicely) In the mean time, I have a AVRdragon to play with AVRs using debug-wire and I have also ordered a pickit3. While using the dragon, I got curious about that JTAG-connector on that board, so I started l


Any low cost / free ARM simulators?

Started by Richard F. Man in comp.arch.embedded18 years ago 9 replies

As we mentioned previously, we are working on a version of our C compiler for the ARM chips, initially for the ARM7 microcontrollers (more...

As we mentioned previously, we are working on a version of our C compiler for the ARM chips, initially for the ARM7 microcontrollers (more devices supported later). Anyway, our assembler / linker and even the code generator are progressing well, and we are at the stage where we can use a good simulator or debugger to start debugging our tools. Currently, we are using evaluation version ...


Help with Zilog ZDS II: need debugging tips

Started by Anonymous in comp.arch.embedded14 years ago 1 reply

Hi to everybody and thanks for your time and effort. I already posted to the Zilog support, but they are not answering me. And I think that if...

Hi to everybody and thanks for your time and effort. I already posted to the Zilog support, but they are not answering me. And I think that if anybody would ever post a reply to this thread it could possibly be useful to somebody else too. I'm developing a software with RZK and ZTP (both version 2.1.0) with ZDS II version 4.11 for a Zilog eZ80 processor. I'm facing failures during code e...


Read MPC855 Memory with Wiggler?

Started by RamblinPeck in comp.arch.embedded13 years ago

Hello everyone, I'm very new to embedded systems, and debugging them. Im teaching myself and learning a lot on the way. I'm having some...

Hello everyone, I'm very new to embedded systems, and debugging them. Im teaching myself and learning a lot on the way. I'm having some trouble with the wiggler, and macraigor has been less than helpful (dont blame them, I bought mine secondhand so they dont have much incentive). I can use the OCD Commander software just fine, but I'd like a way to download larger portions of memory ...


Need schematic to make programmer for PIC18 family PICs

Started by Anonymous in comp.arch.embedded17 years ago 4 replies

I would like to build my own programmer for Microchip PICs. There are many schematics on the Internet available but I can't seem to find exactly...

I would like to build my own programmer for Microchip PICs. There are many schematics on the Internet available but I can't seem to find exactly what I want. What I would like is something that provides all (or most) of the following functions: * Can program PIC18 family of devices (or all of the major PIC families if possible) * In-circuit programming (not debugging): the electronics us...


Need some code samples for MAC7111 + IAR

Started by navin in comp.arch.embedded15 years ago

Hi all, I am working on 32 bit microcontroller i.e, MAC7111 and using IAR for debugging. I got some sample code from IAR for flashing but that...

Hi all, I am working on 32 bit microcontroller i.e, MAC7111 and using IAR for debugging. I got some sample code from IAR for flashing but that is using a system clock but I want to use PLL to increase the speed. So if any one has any code examples for MAC7100/7111 then please send it. Thanks and Regards Naveen


olimex PIC-ICD2

Started by fred in comp.arch.embedded18 years ago 1 reply

After getting my feet wet with a small photovore robot, now i want to experiment some more. Previously I was using a crude programmer that i...

After getting my feet wet with a small photovore robot, now i want to experiment some more. Previously I was using a crude programmer that i built myself, but i'd really like some debugging features. Sparkfun has the olimex PIC-ICD2 ( a drop in replacement for the Microchip In-Circuit-Debugger 2 (ICD2)) for about $95.. Does anyone have any experience with this product? Does it work as...


Timestamp of periodic frames on CANalyzer.

Started by Achilles in comp.arch.embedded15 years ago 4 replies

Hi All, I have written a CAN driver for star12 controller. And I do have some periodic frames for transmission. I am using not any commercial...

Hi All, I have written a CAN driver for star12 controller. And I do have some periodic frames for transmission. I am using not any commercial RTOS but I do have created my own scheduler for the scheduling different tasks. I am using a debugger for software download & debugging and I am also using vector CANalyzer for monitoring the CAN frames on the bus. Now the problem which I am facing i...


AVR using JTag pins

Started by terry in comp.arch.embedded18 years ago 5 replies

Hi, Could I use AVR JTag pins in my application circuit when debugging using JTag? Adding resistors to separate? Thanks!

Hi, Could I use AVR JTag pins in my application circuit when debugging using JTag? Adding resistors to separate? Thanks!


Debugging: Am I a dreamer. . . ?

Started by in comp.arch.embedded14 years ago 37 replies

I've been programming in C for the best part of a decade now but it's only within the last year that I've really started doing...

I've been programming in C for the best part of a decade now but it's only within the last year that I've really started doing embedded systems programming. When I did C programming for a personal computer, I commonly debugged my code simply by putting in printf statements around the place to check variable values, and also by using the instrument that lets you check the values of variab...


J-Link Errors

Started by Rudy in comp.arch.embedded14 years ago 2 replies

Hello all. I am running IAR embedded workbench software debugger through a J-Link connector to a TI TMS470. I am getting an error, "Failed to...

Hello all. I am running IAR embedded workbench software debugger through a J-Link connector to a TI TMS470. I am getting an error, "Failed to read current instruction" in a J-Link pop-up window when I try stepping through the code. After this, it will not let me continue through the rest of the code. I tried debugging in Simulator mode and I do not get this error. Has anybody ever encoun...


Sorry,not a technical question.But need a help

Started by hari in comp.arch.embedded14 years ago 2 replies

Hi all, I m using SH7705(Reneasas,Hitachi) processor for my device.I need to have a debugger for debugging.I have found BITRAN and ...

Hi all, I m using SH7705(Reneasas,Hitachi) processor for my device.I need to have a debugger for debugging.I have found BITRAN and JH600 advicePOCKET supports this. I need to know whether JH600 advicePOCKET supports for English language also. I m from India, any idea on vendors from India or from abroad who provides these debuggers. It will be of great help. Thanks Hari


(Novice) Debugging timing-critical code

Started by Ariel Cornejo in comp.arch.embedded18 years ago 1 reply

Regards... I need to code ISO-7816-3 (contact smartcards, data-link layer) in some MCU but I'm still pondering my options. I was thinking...

Regards... I need to code ISO-7816-3 (contact smartcards, data-link layer) in some MCU but I'm still pondering my options. I was thinking of simply using a couple of HC08's I've got handy, but my concern is: Will I be able to log/trace what goes on at 9600/55000 bps? How? Right now I'm reading the section on Monitor ROM for the HC08, but it looks quite complicated and it is probably ...


zero ohm links, 1/4W ?

Started by Rob in comp.arch.embedded17 years ago 2 replies

Just about to design a new board and need to use some zero ohm links to allow easy circuit isolation incase of any hardware debugging. Going...

Just about to design a new board and need to use some zero ohm links to allow easy circuit isolation incase of any hardware debugging. Going to use a 1205 package. It's listed at 1/4 Watt. +/- 5%. Hmm, does that mean that you get some zero ohm links that amplify? ;) How does that work then? How much current do you have to put through zero ohms to get 1/4 watt power consumption? Ok, zero ...


DMA losing sync on ST ARM processor

Started by Tim Wescott in comp.arch.embedded9 years ago 19 replies

I'm using an STM32F103VB, and one of the things that I'm doing is doing a set of ADC reads which are then being transferred via DMA to a...

I'm using an STM32F103VB, and one of the things that I'm doing is doing a set of ADC reads which are then being transferred via DMA to a buffer. For some reason, when I'm debugging the DMA transfer gets scrambled: channel 0 ends up where channel 1 is supposed to go, channel 1 where channel 2 should be, on up the line until finally the last channel gets written to channel 0. I have th...


ewarm 5.41 view stack problem

Started by brOS in comp.arch.embedded12 years ago 5 replies

Dear all, I have a problem with my EWARM 5.41..... When I'm using simulator for debugging my project I cannot view stack. I have enabled plugin...

Dear all, I have a problem with my EWARM 5.41..... When I'm using simulator for debugging my project I cannot view stack. I have enabled plugin which provides viewing stack but it still doesn't work. Please help! --------------------------------------- Posted through http://www.EmbeddedRelated.com


Code runs slower on JTAG

Started by wrongmove in comp.arch.embedded17 years ago 4 replies

Hi, it appears funny but interesting. I am debugging a problem and for which I am using TRACE32 JTAG interface on ARM platform. But when I...

Hi, it appears funny but interesting. I am debugging a problem and for which I am using TRACE32 JTAG interface on ARM platform. But when I try to run system without attaching JTAG it crashing where as at the same time once i mount it on JTAG it runs smoothly I observed that JTAG introduces some delay so i introduced some delays at specific locations but still it is same ... Anybody ca...


Debugging using memory prints

Started by nived in comp.arch.embedded12 years ago 10 replies

Hi, I am faced with a problem of not being able to effectively debug what i am doing. Is it possible to save debug information at locations...

Hi, I am faced with a problem of not being able to effectively debug what i am doing. Is it possible to save debug information at locations in memory/flash and then examine them later ? Instead of say printing to the console, printing to locations in memory. Thanks - Nived --------------------------------------- Posted through http://www.EmbeddedRelated.com


Problems annotating a symbols' size using gpasms .DEF

Started by Johann Klammer in comp.arch.embedded3 years ago 1 reply

I had been trying to output some sort of address name mapping for debugging. Using the Map file seemed promising initially. But when trying to...

I had been trying to output some sort of address name mapping for debugging. Using the Map file seemed promising initially. But when trying to dump memory locations, it became obvious that I needed the sizes, too. The pure MPASM syntax does not seem to allow annotating that information. gpasm looked superior in that respect. Their .DEF extension specifically. BUT it seems to be moving


Instruction dump?

Started by Bill in comp.arch.embedded14 years ago 3 replies

Can someone please explain the contents of the instruction dump in an a Linux OOPS, or have a reference which does so? How does one go about...

Can someone please explain the contents of the instruction dump in an a Linux OOPS, or have a reference which does so? How does one go about using it in debugging? For instance, I have the following instruction dump: Instruction dump: 7F850000 41BEFF7C 3860FFFF 4BFFFF78 9421FFE0 7C0802A6 BF61000C 7C9E2379 7C7C1B78 90010024 41820188 83BE034C 70090008 40820014 2F83001F What