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 how to debug an Attiny with Arduino Programmer? (Read 1532 times)
Marianne
Newbies
*
Offline


Posts: 1
Joined: May 1st, 2018
how to debug an Attiny with Arduino Programmer?
May 1st, 2018 at 2:20pm
Print Post  
Hi there,

i tring to work with the attiny for the first time. I want to  debug the programm on my attiny84. For uploading my programm, i have to use the release mode, because the dubug mode does not work.
When i try to debug their is allway this massage:

Compiling debug version of 'Sketch1' for 'ATtiny24/44/84'
 
VM_Boards.h: 653:2: error: #error "Please edit Boards.h with a hardware abstraction for this board"
   #error "Please edit Boards.h with a hardware abstraction for this board"
   HardwareSerial *transport
   void begin(HardwareSerial *theSerial)
   void begin(HardwareSerial *theSerial, unsigned long baud)
   #define TOTAL_DIGITAL_PINS TOTAL_PINS-TOTAL_ANALOG_PINS
   for (i = 0; i < TOTAL_DIGITAL_PINS; i++)
   #define TOTAL_DIGITAL_PINS TOTAL_PINS-TOTAL_ANALOG_PINS
   for (i = 0; i < TOTAL_DIGITAL_PINS; i++)
Error compiling libraries
   Debug Build Error: This hardware might not support the default Visual Micro Debugger.
     If this project is using OTA/WiFi upload then please use the vMicro>Debugger menu to set the Serial COM and Remote port for the debugger.
     Otherwise switch the toolbar from 'Debug' to 'Release' and build again. 
           or switch off Automatic Debugging
           or configure the SoftwareSerial debugger option.
Debug build failed for project 'Sketch1'



I am using the following setup:
  • Visual Studio 2015
  • newest version of visual micro
  • Arduino Uno as Programmer (Arduino as ISP)
  • Arduino IDE 1.8.5


How can i do this with visual micro? 

thanks for helping  Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: how to debug an Attiny with Arduino Programmer?
Reply #1 - May 4th, 2018 at 8:36pm
Print Post  
sorry i missed this post initially.

by default the default uses Serial so I have some questions

Does your board support using Serial.begin() and Serial.print()?

if not

Does your board support Arduino SoftwareSerial?


You don't need to make any changes I just need to know the answer to the questions before I can give a better answer.

It would also be useful to know how you installed the hardware (.json url or git etc?)



  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint