Tracing SWO Packets

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


68360 QUICC debugging

Started by Bryan Fields in comp.arch.embedded3 years ago 3 replies

I'm working with a very old 68360 based embedded system running from flash ROM based on pSOS+ RTOS, and need to debug. The BDM cannot do...

I'm working with a very old 68360 based embedded system running from flash ROM based on pSOS+ RTOS, and need to debug. The BDM cannot do hardware breakpoints while running from ROM and thus I'm looking for an emulator that may work with this. I've tried an old Mikrotek power-pack, but it's DOA upon boot, and am looking at what anyone may have around they no longer need. I don't have a bud...


Multidrop bus on Windows

Started by pozz in comp.arch.embedded3 years ago 39 replies

I often work on embedded firmware for MCUs connected by a multidrop master/slave RS485 bus. Moreover I try to compile the same code with...

I often work on embedded firmware for MCUs connected by a multidrop master/slave RS485 bus. Moreover I try to compile the same code with mingw compiler, simulating the hw. Of course, I simulate the serial bus connection (UART) by using a COM port on Windows. This allows me to speed-up testing, debugging and so on. So I can launch many simulators of the same device or different devices...


elf/dward file editor

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


PIC24F experience/hints

Started by Joseph H Allen in comp.arch.embedded15 years ago 3 replies

I've been playing with a PIC24FJGA002: a 16-bit, 16 MIPS PIC in a 28-pin DIP with 8KB RAM. Here are some quick-start hints: Programming: I...

I've been playing with a PIC24FJGA002: a 16-bit, 16 MIPS PIC in a 28-pin DIP with 8KB RAM. Here are some quick-start hints: Programming: I bought a cheap ICD2 clone from ebay, one from www.mdfly.com They don't advertise that it works with this chip, but it does for both programming and debugging. However, you need to make your own programming socket (or do in-circuit). Unlike older PI...


MPC5566 boot code

Started by matrix13 in comp.arch.embedded10 years ago 10 replies

I am using Freescale MPC5566 Evaluation board with CodeWarrior 5.9.0. I am quite new to this board and I am trying to execute a code from the...

I am using Freescale MPC5566 Evaluation board with CodeWarrior 5.9.0. I am quite new to this board and I am trying to execute a code from the MPC internal Flash. I use P&E Micro for debugging purposes. I opened a new 5566 project from CW. It automatically generated all the configuration files. I did not change any of those. I only modified the main.c file by initializing a GPIO. I use the GPIO to...


MCU dead due to bad code?

Started by Anonymous in comp.arch.embedded16 years ago 9 replies

Hi everybody! I have some trouble with the OKI 675001: I'm using this part now for about 3 month, debugging and programming an extern Flash...

Hi everybody! I have some trouble with the OKI 675001: I'm using this part now for about 3 month, debugging and programming an extern Flash (AM29LV320) via JTAG. Never had any problems. Now after changing the code and burning it as usual into the FlashROM the MCU is no longer responding to JTAG. Furthermore no activity on the MCU bus. OK, i thought that some ESD distroyed the MPU and took a ...


AVR Insight / JTAG query

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

So far I've been debugging using simple text output on USART s or LCD etc. I'd like to get into using the Insight debugger and go the whole hog...

So far I've been debugging using simple text output on USART s or LCD etc. I'd like to get into using the Insight debugger and go the whole hog and use the JTAG interface. The Atmel JTAGICE is too expensive so I need one of the cheaper alternatives. I'd be interested to hear anyone's thoughts on a reliable, cost effective JTAG interface which is compatible with Insight. Also, put simply...


AVR Studio 4 debugging issues

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

Hi, I am a beginner at using the atmega chip. I am using codevision to compile, AVR bootloader V2.1 to execute my program, but...

Hi, I am a beginner at using the atmega chip. I am using codevision to compile, AVR bootloader V2.1 to execute my program, but for troubleshooting, my AVR Studio 4 is not working correctly. When I open my project to debug, it does not list my source files. I want to be able to step through my program and check where it breaks. I seem to only be able to see the disassembler. I can open my...


single wire debug interface

Started by HG in comp.arch.embedded18 years ago 6 replies

Anyone know of a single wire interface suitable for debugging (+ ground of course) ? Is it possible to "compress" JTAG to a single wire ? Are...

Anyone know of a single wire interface suitable for debugging (+ ground of course) ? Is it possible to "compress" JTAG to a single wire ? Are there other standards that could be used ? Any vendors (Semi vendors) offer this already ? Thanks in advance, HGH


MPLAD - MPIDE debugging

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

We made our firct C-code for the PIC environment in MP-IDE and of course it doesn't work. So now we wish to apply the debugger on it, but find...

We made our firct C-code for the PIC environment in MP-IDE and of course it doesn't work. So now we wish to apply the debugger on it, but find ourselves unable to see our code in it. In the main MP-IDE menu, we select 'view', then 'watch', and according to the tutorial, should then be able to add symbols. However the "add symbol" tab is greyed out, so that we can only go select the CPU-reg...


MSP430 Compilers and Tool question

Started by John in comp.arch.embedded18 years ago 7 replies

I am looking into the MSP430 series of microcontrollers for a project. I have surveyed the tools and I found the following companies make C...

I am looking into the MSP430 series of microcontrollers for a project. I have surveyed the tools and I found the following companies make C compilers for it: 1. Quadravox 2. IAR 3. Rowley & Associates 4. HiTech 5. ICC430 6. MSPGCC (free) Hardware/JTAG debugging toolwise I see: 1. Softbaugh (USBP(E), USBPPRO) 2. Elprotronic (http://www.elprotronic.com/Products.asp) What did y...


Some basic questions about bluetooth communication

Started by lk_517 in comp.arch.embedded14 years ago

Hi all: I am a newbie about Bluetooth development, I am debugging a board which contains bluetooth chip(LMX9838), and have some questions about...

Hi all: I am a newbie about Bluetooth development, I am debugging a board which contains bluetooth chip(LMX9838), and have some questions about the principle, I will be very appreciate if anyone can answer all or part of my questions. 1 The is a mode called "transparent master/slave", my understanding about this mode is, if I have two bluetooth module, and make them both work in this mode, t...


Running 2 RTOS in a single device/application

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

Dear all, I am currently working in on a consumer electronics device.We are in the process of debugging few bugs in the software which does...

Dear all, I am currently working in on a consumer electronics device.We are in the process of debugging few bugs in the software which does the work of displaying menus and controlling the hardware of the device.I happened to go through the architecture of the software.What makes me wonder is there are 2 RTOS used in this device.One rtos is ucos and another is OS20 a proprietoty RTOS to r...


Not able to change contents of I2CRB of MSP430

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


Simple tests of an Ethernet port?

Started by Lewin A.R.W. Edwards in comp.arch.embedded18 years ago 20 replies

I am charged with a holy crusade of debugging a 100bT Ethernet interface of unknown functionality, and the information I've been given suggests...

I am charged with a holy crusade of debugging a 100bT Ethernet interface of unknown functionality, and the information I've been given suggests that there is an analog problem in the media interface. Can someone point me to any kind of preliminary tests I can perform to determine "out-of-specedness" using standard lab tools; scope, DMM, etc? Googling leads me to lots of hellishly expensive ...


Has anyone disassembly the monitor-51 ?

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

I am developing a high-performance 8051 IP, I encounter the debugging problem when the system code is large. At my system, the program...

I am developing a high-performance 8051 IP, I encounter the debugging problem when the system code is large. At my system, the program is storaged in the external Flash which is addressed by banking mechanism. Due to the monitor-51 can't set break-point within the Flash area. To accerelate the project progression, an efficiency debgging tool is necessary. Based on the current environment, ...


Can't profile functions with STM32 and SWD

Started by Mark Borgerson in comp.arch.embedded10 years ago

I'm working with an STM32F205, which I can program and debug with an ST-LINK V2 and the SWD port. I'm using IAR EWARM 6.40 and the...

I'm working with an STM32F205, which I can program and debug with an ST-LINK V2 and the SWD port. I'm using IAR EWARM 6.40 and the C-Spy debugger. Programming, run, stop, breakpoints, etc, all work fine. However, when I set up for SWO debugging, the SWO icon reports that it is set up properly, but I never get any profiling data in the window. The O-scope shows regular activity on the S...


ESD Protection in the Lab

Started by Eric in comp.arch.embedded16 years ago 2 replies

During the prototyping and debugging phase of a project (Not production) should the Engineers and Lab Techs be extremely ESD conscious (i.e....

During the prototyping and debugging phase of a project (Not production) should the Engineers and Lab Techs be extremely ESD conscious (i.e. wear ESD straps, ESD smocks, etc)? I've worked for 4 different companies and it is about a 50/50 split between ESD protection in the lab and not worrying about it. One employer's philosophy was "If a part has a high ESD sensitivity it is better to f...


ARM Data Abort exception debugging

Started by imperialbeach in comp.arch.embedded13 years ago 5 replies

I'm getting a Data Abort error - I'm trying to get the full call stack. The IAR tools say the call stack is unavailable after the exception, is...

I'm getting a Data Abort error - I'm trying to get the full call stack. The IAR tools say the call stack is unavailable after the exception, is there a way around this? I'm thinking I could painfully recostruct stack frames, but it seems like the tool should do it -