jtag

Controlling a Windows Console App w/ stdin pipe

I am trying to control a console application (JTAG app from Segger) from Python using the subprocess module. The application behaves correctly for stdout, but stdin doesn't seem to be read. If enable the shell, I can type into the input and control the application, but I need to do this programmatically. The same code works fine for i...

ARM9 SVC_STACK out of range?

I'm debugging some odd ARM exceptions in an embedded system using the IAR workbench toolchain. Sometimes, when an exception is trapped the SVC_STACK is reported as out of range (very out of range!) Is this relevant, or just an artifact of the J-Link JTAG debugger? What is the SVC_STACK used for? It is set to 0x1000 size, but when it is o...

Using Trace32 with Qualcomm FFA

Does anyone knows of any resources regarding the debugging of BREW and/or BMP applications on Qualcomm FFA using Lauterbach JTAG/Trace32 (e.g. .cmm scripts, instructions etc.)? Thanks. ...

How do I program an AVR Raven with Linux or a Mac?

This tutorial for programming these starts with programming the Ravens and Jackdaw with a Windows box. Can I do those initial steps with avrdude on a Linux or OS X machine instead? If so, how? Is there any risk of bricking the hardware if I just try? I have a USB JTAG ICE MKii clone, which is supposed to work for this. I'm totally...

Driver for USB AVR JTAG-ISP device

I've got a programming device called USB AVR JTAG-ISP v. 1.2. Where can I find drivers and a good IDE for it? ...

A JTAG emulator for use with a Hawkboard and OpenOCD?

I'd like to try bare metal ARM programming with the Hawkboard, but the deployment process looks awful. I'm totally new to this, so I could be misunderstanding the instructions, but it appears that I have to use a program called AISgen to convert the binary file, then boot with u-Boot over UART and copy the AIS binary into memory. Not onl...

Can I somehow use this XDS100v2 JTAG emulator?

I bought a Hawkboard and went looking for a JTAG emulator to use for debugging. The only one I seemed certain about was the Spectrum Digital XDS100v2, because the pins matched and I had read about others using it with a Hawkboard. I had hoped to use a GCC ARM toolchain and OpenOCD, but the XDS100v2 apparently only works with TI Code Comp...

AVR JTAGICE mkII

Original Atmel jtag programmer costs $300. http://www.atmel.com/dyn/products/tools_card_v2.asp?tool_id=3353 http://search.digikey.com/scripts/DkSearch/dksus.dll?site=us&lang=en&mpart=ATJTAGICE2 Which clone do you recommend me? Are they 100% clones? (work with avr studio, same fw etc.) thanks. ...

Output debug via printf on a Cortex-M3 CPU, stalls at BKPT instruction + confusion about JTAG and sw ports.

I have a Keil ULINK2 USB emulator box attached to the JTAG connector on my board, which is working fine with the Cortex-M3 CPU onboard (TI/Stellaris/LuminaryMicro LM3S series). It seems that both a JTAG and a SWJ-DP port share the same pins (and thus connector on your board) on these CPUs. One appears not to have ITM (printf) capabilit...

"CPU is not halted" and "No APB-AP found" error

When I use JTAG to load my C code to evaluation board, it loads successfully. However, when I executed my code from main(), I immediately got "CPU is not halted" error, followed by "No APB-AP found" error. I was able to load and executed the USB-related code before I got this error. I googled for it and use JTAG command "rx 0" to rese...

General JTAG working flow in an embedded development system?

hi, In my embedded project am using JTAG interface to download the code and to debug the downloaded application.But i don't know what is happening inside the JTAG set up. Can anyone please give me basic idea/flow(high level view) of the JTAG set up wich will really help me to understand my development system better. __Kanu ...