Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JBlac9
Novice
964 Views

Use JTAG to debug ASM code from D2000 program memory?

Jump to solution

I want to be able to debug code from the reset vector on the Quark D2000 using JTAG; is this possible?

I know there is the Intel System Studio for Microcontrollers, but I want to debug ASM and I am not sure if this is possible with the ISSM and the Eclipse interface (or, I don't know how to do it.)

Note that debugging from the reset vector is important to me for my projects.

I purchased the Quark D2000 development kit. It will arrive soon (When Mouser will have it in stock).

Thank you beforehand for any information or suggestion provided.

0 Kudos

Accepted Solutions
Michelle_C_Intel
Employee
57 Views

Hi ,

The Eclipse IDE in the Intel System Studio for Microcontrollers will allow you to debug ASM. The 'Getting Started Guide' contained within the package contains instructions on how to Debug your application.

The ISSM version for use with D2000 can be downloaded from - https://registrationcenter.intel.com/en/forms/?productid=2580 Commercial Product Request - Intel® Products

Using ISSM is optional but the package does include all external dependencies required to build and debug your applications.

  • The i586-intel-elfiamcu toolchain is required to build the source code.
  • OpenOCD is required to flash applications and ROM files onto the SoC.
  • GDB - used as a supplement to OpenOCD for debugging.

regards,

Michelle.

View solution in original post

2 Replies
Michelle_C_Intel
Employee
58 Views

Hi ,

The Eclipse IDE in the Intel System Studio for Microcontrollers will allow you to debug ASM. The 'Getting Started Guide' contained within the package contains instructions on how to Debug your application.

The ISSM version for use with D2000 can be downloaded from - https://registrationcenter.intel.com/en/forms/?productid=2580 Commercial Product Request - Intel® Products

Using ISSM is optional but the package does include all external dependencies required to build and debug your applications.

  • The i586-intel-elfiamcu toolchain is required to build the source code.
  • OpenOCD is required to flash applications and ROM files onto the SoC.
  • GDB - used as a supplement to OpenOCD for debugging.

regards,

Michelle.

View solution in original post

JBlac9
Novice
57 Views

MichelleC_Intel

 

I see the disassembly window there; however, I am more concerned about being able to program directly in assembly and being able to debug the code inside of the chip directly.

 

The Intel XDB does this for microprocessors; if you don;t have a C or an ASM file, the XDB will show you the "Assembly" window and you can follow the assembly code as it is directly read and executed from memory.

 

How can I do this in Eclipse with ISSM? How can I program directly in assembly language and debug the code?

Is there a guide detailing how to do this? (So far I haven't been able to find it; maybe I didn't look for it in the correct place.)

 

Thanks for any additional information you or somebody else may be able to provide me with.