EmbeddedRelated.com
Imagine Conference

Arm, gdb and jtag

Started by db in comp.arch.embedded20 years ago 11 replies

I am somewhat confused about debugging arm processors through the jtag port using gdb. There does not seem to be a complete GPL based option. I...

I am somewhat confused about debugging arm processors through the jtag port using gdb. There does not seem to be a complete GPL based option. I see alot of commercial software for which I do not have the thousands to spend on and I see bits and pieces of software that looks like it could be integrated to provide jtag debug access, but nothing fully integrated. I have experiemented with imp...


avr butterfly and jtag

Started by Mark Andrew in comp.arch.embedded19 years ago 2 replies

I have bought an AVR Butterfly as my first step in exploring the wonderful world of microcontrollers, and have worked out how to compile and...

I have bought an AVR Butterfly as my first step in exploring the wonderful world of microcontrollers, and have worked out how to compile and load programs into it using WinAVR, AVR Studio and the RS232 connection. And all for ? 30! Now I want to try my hand at on board debugging. Do I just buy the JTAG dongle for ? 45 and talk through it to the Butterfly with AVR Studio? I can hardly bel...


elf/dward file editor

Started by banh in comp.arch.embedded17 years ago 1 reply

Hi, I'm looking for some editing tools for elf/dwarf file format; or .obj file format if possible. My reason is that i need to modify some...

Hi, I'm looking for some editing tools for elf/dwarf file format; or .obj file format if possible. My reason is that i need to modify some debugging information in the file. Please recommend any free/commercial tools if you happen to know. Thanks, Banh


MSP430 GDB problem.

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

Greetings. I'm not sure this is the appropriate forum for this query but I haven't been able to find a forum dedicated to the MSP430 port of...

Greetings. I'm not sure this is the appropriate forum for this query but I haven't been able to find a forum dedicated to the MSP430 port of GDB. I am using msp430-gdb GNU gdb 5.1.1 Code is compiled with msp430-gcc version 3.3 debugging options are enabled. msp430-gdb works fine except that arguments to functions can't be examined. Ie when I put a breakpoint inside a function the values i...


Really confused by my debugger.

Started by Brendan Gillatt in comp.arch.embedded16 years ago 4 replies

I recently purchased a clone Microchip PIC debugger from some Chinese importer http://www.virtualvillage.co.uk/Items/006401-001? (bad...

I recently purchased a clone Microchip PIC debugger from some Chinese importer http://www.virtualvillage.co.uk/Items/006401-001? (bad idea probably, I know). I set it all up, it programs perfectly and does a POST fine. The problem is with debugging. I hit the 'program' button on MPLAB, the PIC is programmed fine but I get an 'ICD0083' error (cannot enter the debug mode on the chip). I'v...


Need schematic to make programmer for PIC18 family PICs

Started by Anonymous in comp.arch.embedded18 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...


Debug Speed of ETM Trace for Debugging IO

Started by Kvik in comp.arch.embedded10 years ago 2 replies

Hi I have an input pin that I suspect is pulled to the wrong state due to noise. I have no way to measure the pin since it's burried in...

Hi I have an input pin that I suspect is pulled to the wrong state due to noise. I have no way to measure the pin since it's burried in inner layers of the PCB The pin frequency is max 100kHz and I have input filtering (derived from the CPU clock frequency) on the pin so I know the frequency is lower than about 10MHz So I have two ways forward: 1: Make a loop to capture the input p...


Timestamp of periodic frames on CANalyzer.

Started by Achilles in comp.arch.embedded16 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...


J-Link Errors

Started by Rudy in comp.arch.embedded15 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...


USB JTAG simultaneously

Started by ksas...@gmail.com in comp.arch.embedded17 years ago 1 reply

Hello, I am working on a project using the i.MX21 processor having the ARM926EJ-S core. The processor contains the USB controller on chip....

Hello, I am working on a project using the i.MX21 processor having the ARM926EJ-S core. The processor contains the USB controller on chip. The board also has a JTAG interface for debugging. My current problem is that, I need to write a small basic driver to check if the USB sub-system is working on my hardware. Now need to use two USB ports of my development station (Windows PC) ...


PIC32 starter kit impressions

Started by Joseph H Allen in comp.arch.embedded16 years ago 2 replies

I got PIC32 starter kit today. Here are some impressions: - Comes with eval version of C32 C-compiler with 64KB code size limit. C32 is...

I got PIC32 starter kit today. Here are some impressions: - Comes with eval version of C32 C-compiler with 64KB code size limit. C32 is actually called C32-gcc, so it's a gcc derivative. The source is on the website, but who knows if it's recent or complete. - Hardware debugging (breakpoints, goto cursor) works in MPLAB on this little board, but I found that sometimes it gets int...


Code runs slower on JTAG

Started by wrongmove in comp.arch.embedded18 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...


Not able to change contents of I2CRB of MSP430

Started by Narottam in comp.arch.embedded18 years ago 3 replies

Hello All, I am using IAR C/C++ compiler for MSP430. In the project I am sending some data through MSP430 to another chip through I2C.I have...

Hello All, I am using IAR C/C++ compiler for MSP430. In the project I am sending some data through MSP430 to another chip through I2C.I have made MSP430 as slave. While debugging I want to change manually the contains of I2CRB through register window,but its not allowing me to do,again the contains will come to its default value. I found in the header file supplied with the IAR package of MS...


Debugging: Am I a dreamer. . . ?

Started by in comp.arch.embedded15 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...


Sorry,not a technical question.But need a help

Started by hari in comp.arch.embedded15 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


debugging pointers required

Started by salimbaba in comp.arch.embedded12 years ago

Hi, I am using a spartan 3 xc3s4000 FPGA in my custom design which is interfaced with national gigabit PHYs DP83865dvh. It is actually...

Hi, I am using a spartan 3 xc3s4000 FPGA in my custom design which is interfaced with national gigabit PHYs DP83865dvh. It is actually an Ethernet mac and the design is like this: PHY A FPGA PHY B The problem is that sometimes, not always, i get one or two packet drops when i put the systems on test. I tested only one unit using chariot for throughput, no packet drops. But when i


Tracing SWO Packets

Started by Sushant8186 in comp.arch.embedded11 years ago

Hello, I am using 32-Micro-controlller from Energy Micro having Cortex M3 core for my development. The IDE is Eclipse Helios along with segger...

Hello, I am using 32-Micro-controlller from Energy Micro having Cortex M3 core for my development. The IDE is Eclipse Helios along with segger Jlink tools for debugging. Problem description: I am trying to develop a application using Lightweight IP stack on FREE RTOS as lower level operating system.Now there are many Debug printf messages in LWIP stack which I want to get it displayed on some ki...


ewarm 5.41 view stack problem

Started by brOS in comp.arch.embedded13 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


Debugging using memory prints

Started by nived in comp.arch.embedded13 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


Remote debugging using GDB

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

Hi, I'am trying to debugg a program loaded into a freescale M52233DEMO evaluation board. I'am starting GDB and than connects to the...

Hi, I'am trying to debugg a program loaded into a freescale M52233DEMO evaluation board. I'am starting GDB and than connects to the ev-board using the following command: target remote | m68k-elf-cfpe-stub -d USBMultilink -t m52235evb I can than communicate with the board using different GDB commands. I can view memory and register content, disassemble, set and view breakpoints. So ...



Imagine Conference