Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Using JTAGICE3 on Windows7 64bit for Serial Monitor (Read 4923 times)
MarioR3211
Newbies
*
Offline


Posts: 1
Joined: Jun 24th, 2014
Using JTAGICE3 on Windows7 64bit for Serial Monitor
Jun 24th, 2014 at 6:44pm
Print Post  
Hallo,

how can i use my JTAGICE3 as Debugger with serial Port?

regards Mario
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Using JTAGICE3 on Windows7 64bit for Serial Monitor
Reply #1 - Jun 24th, 2014 at 10:26pm
Print Post  
Hi Mario,

JTAGIDE3 is a hardware debugger not Serial. With the Ice3 you can use native Atmel Studio debugging.

Alternatively if Serial Usb is not available you can use SoftwareSerial and a couple of spare digital pins via an ftdi usb connection

We do not support native Atmel debugging in this forum because it is a big complex topic but here are a few tips:-

The atmel debugger does not understand an .ino project but we hope there will be a release of visual micro over the next month or two that allows for a ".cpp only" arduino project.

When we compile for arduino we copy all of the .ino source code into a temporary [sketch].cpp source file. It is the .cpp that is compiled into a .elf file.

Switch on "tools>options>visual micro>compiler>show build folder" then build your arduino project.

After the build, the output window will show the name of the temporary build folder.

Atmel studio can debug the .elf file that will exist in the temporary build folder.

Use "File>Open object file for debugging", this is an Atmel Studio feature. It allows you to open the .elf in the build folder described above.

When you open a .elf for debugging a file mapping window will open. The window is more intelligent than it appears to be. Paste folder names to the right side of the mapping window and it will auto complete the file names for you.

After opening the elf for debugging, atmel studio will create a new read-only solution containing the code of the .elf. Save the solution so it can be re-used after making code changes and building your arduino project.

This solution is "clunky" I know. I hope that Visual Micro is able to provide a more seemless solution in the not to distant future  Smiley

Note: To use hardware debugging with the current Arduino boards you need to hack the Arduino reset pin

I hope this helps
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Using JTAGICE3 on Windows7 64bit for Serial Monitor
Reply #2 - Jun 28th, 2014 at 1:55pm
Print Post  
Update. I just read that Arduino Ide v1.5.7 is now including support for jtagice3 upload. So that is another option for you. When using 1.5.7+ with Visual Micro the jtagice3 will show as both an Arduino and an Atmel programmer. 

However if you want to use native Atmel features you will need to ensure the correct usb driver installation.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint