EmbeddedRelated.com
The 2024 Embedded Online Conference

Microchip PicKit Serial Analyzer Crash

Started by Tom Lucas in comp.arch.embedded17 years ago 2 replies

I'm using Microchip's PicKit serial analyzer to find out why my I2C is playing up. The analyzer is set up to be an I2C slave and to accept...

I'm using Microchip's PicKit serial analyzer to find out why my I2C is playing up. The analyzer is set up to be an I2C slave and to accept external power. However, when I start communication then the PC software crashes and the Just-In-Time debugging reports a System.NullReferenceException error. I've downloaded the latest version of the software, updated the firmware in the analyzer ...


Using a PIC microcontroller to interface with a DS1302 real time clock

Started by ssylee in comp.arch.embedded16 years ago 3 replies

I'm not sure if posting this is a good idea. The question is posted in here, but I would like a second opinion to further help my moves on the...

I'm not sure if posting this is a good idea. The question is posted in here, but I would like a second opinion to further help my moves on the debugging process. Feel free to ask me for more information that may help. http://www.electro-tech-online.com/micro-controllers/35071-using-pic-microcontroller-interface-d s1302-real-time-clock.html


ARM922t:- Invalid CPU Mode

Started by raajesh.n in comp.arch.embedded16 years ago

Hi, I am working on ARM 922t, when I am trying to debug a small code say "hello world", I am getting Invalid CPU Mode debugger error upon...

Hi, I am working on ARM 922t, when I am trying to debug a small code say "hello world", I am getting Invalid CPU Mode debugger error upon doing single step debugging , I am using H-JTAG RDI interface. I have few Queries too.., (a) The customized board which I am using says to use MULTI ICE JTAG , but I am using winggler JTAG interface with H-JTAG RDI server!, can this create a problem? ...


printing register values from exception handler...

Started by vikasvds in comp.arch.embedded13 years ago 4 replies

Hi, I am using ECOS on ARM946. I have registered exception handlers for undefined instruction, data abort and pre-fetch abort, but i am...

Hi, I am using ECOS on ARM946. I have registered exception handlers for undefined instruction, data abort and pre-fetch abort, but i am unable to think of routine which can be useful for debugging in case of exception. I can think of printing register values of other modes to UART. Printing registers of other modes can help in finding cause of exceptions using program counter stack point...


ARM9 Debugging with Chameleon POD ?

Started by Amontec Team, Laurent Gauch in comp.arch.embedded20 years ago 4 replies

Hi, We just want to advice you that our Chameleon POD product and our Raven configuration was tested successfully for ATMEL ARM9 AT91M4200...

Hi, We just want to advice you that our Chameleon POD product and our Raven configuration was tested successfully for ATMEL ARM9 AT91M4200 Debug. We have tested using GNU GDB tools, OCD Commander and Greenhills. (including breakpoint) Our Chameleon POD can operate as a true Raven with a max JTAG 8MHz TCK. Comes with an 20-pin adapter for only EUR159.-- (worldwide 3 days shipping) ...


Introduction to stages of a device development project (embedded software)

Started by SilentHissing in comp.arch.embedded19 years ago 1 reply

Hello, Is there a book or website I can reference to gain a layman's view of embedded software development. I keep hearing all these words:...

Hello, Is there a book or website I can reference to gain a layman's view of embedded software development. I keep hearing all these words: board support package, hardware bring-up, on-chip debugging, JTAG, emulator..... I used this book to understand Electronic Design Automation and it was fabulous: http://www.amazon.com/exec/obidos/tg/detail/-/0131828290/qid=1113538214/sr=1-1/ref=sr_1...


Atmel NGW100 - Linux and other OSs, and debugging?

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

I'm getting a freebie Atmel NGW100 Network Gateway Kit shortly, and I had a few questions. I plan to use the board to learn embedded Linux,...

I'm getting a freebie Atmel NGW100 Network Gateway Kit shortly, and I had a few questions. I plan to use the board to learn embedded Linux, and also learn some other OSs like FreeRTOS and uC/OS-II, and in the process build an adaptive cruise control whose software will run under all three of those OSs. Then I plan to release the whole thing to anyone who wants to build one for themselve...


Horrible risetime on PC parallel port

Started by Lewin A.R.W. Edwards in comp.arch.embedded20 years ago 10 replies

Hi all, I'm debugging some intermittent problems reported by test-users of the circuits in my upcoming book, and it turns out they only have...

Hi all, I'm debugging some intermittent problems reported by test-users of the circuits in my upcoming book, and it turns out they only have these problems when using my "short-form" connection method. The short-form method just connects parallel port lines direct to GPIOs on a microcontroller (this is for a SPI-style interface). The "long-form" method uses a more complicated circuit with ...


What is debugging information?

Started by jani in comp.arch.embedded16 years ago 1 reply

I work on PowerPC based Embedded Systems. Programming language is C. Cross compiler is Diab 4.2b. FYI, Windriver has purchased Diab. ...

I work on PowerPC based Embedded Systems. Programming language is C. Cross compiler is Diab 4.2b. FYI, Windriver has purchased Diab. Along with the compiler comes a utility called ddump. This utility has the following syntax. ddump [command] file I invoke this utility as follows: ddump -D filename.elf I believe .elf stands for executable linking format. Anyways, this command means ...


LPC21xx newbie questions

Started by Sagaert Johan in comp.arch.embedded18 years ago 6 replies

Hi I decided to choose LPC21xx ARM devices as my microcontroller for small applications. I still havent found out what the cheapest and...

Hi I decided to choose LPC21xx ARM devices as my microcontroller for small applications. I still havent found out what the cheapest and easiest way is to develop and debug. Are there any free or low cost solutions that allow jtag graphical debugging (win or linux ) ? Is there a low cost alternative to keil-ARM tools ? (The Keil Ulink Jtag and their LPC21xx based boards look a good s...


can imperfect power reset damage flash programmable HC08 ?

Started by Judges1318 in comp.arch.embedded19 years ago 1 reply

Dear all, Can an imperfect power off reset, with the power supply going down to 0.5 V instead of required 0.1 V, damage flash programmable...

Dear all, Can an imperfect power off reset, with the power supply going down to 0.5 V instead of required 0.1 V, damage flash programmable HC08 chips? I have made a board with a micro and a RS232 line driver amongst other things, and I have been using Metrowerks to download the code. It worked ok for some time, it went to a few dozens of programming/debugging cycles, say 30, and the...


gdb stub for AVR: breakpoints and single stepping

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

Hello, I'm working on a `gdb stub' to allow debugging of code in an Atmel AVR processor using gdb running on the host platform. Communication...

Hello, I'm working on a `gdb stub' to allow debugging of code in an Atmel AVR processor using gdb running on the host platform. Communication between gdb and the stub is done over RS232. At this moment my platform is the at90can128, but other AVR types should work as well with little change. The stub is implemented as an interrupt handler on the serial-rx interrupt. When the ISR is acti...


debugging arm executuble with gdb

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

Hi, I have compiled linux kernel with arm-eabi toolchain on Ubuntu. The kernel is working. Now I'd like to debug it with gdb. I tried this...

Hi, I have compiled linux kernel with arm-eabi toolchain on Ubuntu. The kernel is working. Now I'd like to debug it with gdb. I tried this command: arm-eabi-gdb vmlinux My questions: Which gdb should I use? There is a gdb in the arm-eabi (downloaded with android) toolchain. This will good? I have tried that but I have got Don't know how to run. Try "help target" error message. I t...


Multiplication bug on EDE Crossview for M16C?

Started by blisca in comp.arch.embedded16 years ago 4 replies

Hi to all recently i noticed a strange behavior debugging a a simple code that i wrote in C for the Mitsubishi-Renesas microcontroller...

Hi to all recently i noticed a strange behavior debugging a a simple code that i wrote in C for the Mitsubishi-Renesas microcontroller M16C: void Function_multiply(void) { unsigned char term1,term2,result; term1=6; term2=8; result= term1 * term2; } I expect that result=48 ,with no loss of data,being the 2 terms small numbers instead i have result=6 ,same with othe...


Serial port communication - MSB is always set

Started by Affan in comp.arch.embedded17 years ago 3 replies

Hi all, I have spent some time on writing a simple code that works with the serial port on my embedded system (Mica2 from crossbow) that has...

Hi all, I have spent some time on writing a simple code that works with the serial port on my embedded system (Mica2 from crossbow) that has an Atmel 128L. After debugging the code upmteeth time and with help from http://www.easysw.com/~mike/serial/serial.html, i seem to have it working with the correct baud rate being set. However, each byte that I receive in my embedded processor seems to ...


MC 68040 debugging via JTAG with gdb?

Started by Carsten Krueger in comp.arch.embedded19 years ago 8 replies

Hello all, is it possible to debug a Motorola MC 68040 via JTAG? I'm looking for a cheap way to debug software in MC 68040 via PC. gdb would...

Hello all, is it possible to debug a Motorola MC 68040 via JTAG? I'm looking for a cheap way to debug software in MC 68040 via PC. gdb would be perfect. Something like macraigor OCDRemote but for this processor. greetings Carsten -- http://learn.to/quote - richtig zitieren http://www.realname-diskussion.info - Realnames sind keine Pflicht http://oe-faq.de/ - http://www.oe-tools.de.v...


ping to usb interface fails for large packets

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

Hello Sir, am currently working on OMAP34XX series USB OTG controller. The USB OTG controller is configured to operate in peripheral mode which...

Hello Sir, am currently working on OMAP34XX series USB OTG controller. The USB OTG controller is configured to operate in peripheral mode which is using GADGET USB stack. Am lost debugging this issue. If any pointers / suggestions are highly appreciated. Problem description: -------------------- ping AAA.BBB.CC.DD -t -l 20000 fails with failure message "Request timed out" Debug procedur...


Atmel JTAGICE mkII

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

Hi, as a newbie in this area, I am wondering if I should buy the JTAGICE mkII or the AVR RISP mk II. Is it correct that the JTAGICE mkII can...

Hi, as a newbie in this area, I am wondering if I should buy the JTAGICE mkII or the AVR RISP mk II. Is it correct that the JTAGICE mkII can be used for programming *and* debugging all Atmel MCUs, even the AVR32 range?. And, is it correct that the AVRISP MKII is used *only* for programming, and it is not usable for the AVR32 microcontrollers?. Assuming the above ideas are correct, ...


ULINK2 USB-JTAG with Gnu ARM toolchain

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

Hi I want to know if Keil's ULINK2 USB-JTAG debugger can be used with Gnu ARM toolchain. Specifically, if it can be used with gdb or any...

Hi I want to know if Keil's ULINK2 USB-JTAG debugger can be used with Gnu ARM toolchain. Specifically, if it can be used with gdb or any linux debugger for debugging programs on Keil MCB2140 kit. Any body has any experience with it? Thanks in advance JS


Debugging of 9-bit mode

Started by arslan in comp.arch.embedded16 years ago 8 replies

I am working on a master slave architecture based on RS485 protocol in 9-bit mode (with backbone configuration). The master is 80c196kd and the...

I am working on a master slave architecture based on RS485 protocol in 9-bit mode (with backbone configuration). The master is 80c196kd and the slaves are all 8051 microcontrollers. The slaves are in fact sensors and actuators. Now the problem in working with 9-bit mode is that the debgging becomes tough, normaly i use MATLAB for observing the data (when in 8-bit mode). Matlab does not support...



The 2024 Embedded Online Conference