AVR debugger

I'm looking for a DIY debugger for atmel AVR microcontroller (ATMega644 to be exact but any other avr will do). that have step-by-step debug capabilities. DIY means i preferred making the circuit at home rater then buying some kit. thanks.

Asked by axodus 7 years ago

Need for speed Hot pursuit 2 Says that i have a debugger loaded? How can i fix this? Answered

But i don't have any "Debugger" loaded! In fact.its a fresh install of Windows XP Professional. I have tried upgrading DivX,nothing. I tried the thing with msconfig,zilch. I have even tried disabling any services that would interfere with it,Nada Any help? Edit:It says that i have loaded a debugger to try again after the debugger is unloaded,and it does not start the game.

Asked by ReCreate 9 years ago

Arduino Debugger Preview - 10 Beta Testers Required

The Visual Micro Arduino debug tools seemlessly combine simple debug features into the free Visual Studio plugin. The tools allow us to make use of the source code breakpoint features of Visual Studio. Please read and understand all of these documents if you are working on dangerous projects such as critical devices and/or moving machines. There are 15 draft documents available on visualmicro.com, this is a link to the first document Arduino Debugger Overview In the image below we can see a number of debug breakpoints, some are conditional. In the code, the old style debug messages are commented because they are no longer needed :) The debugger includes optional trace or break, jump to source, edit and continue. All Arduino variables or expressions can be included in breakpoint reporting. String messages are not stored on the Arduinio which allows long an informative messages to be created without using Arduino RAM and without need to alter source codes. The debug upgrade is expected to be free for educational use, $50 hobby use, $200 commercial use. 10 beta testers are required whom will each be provided with a free license. Please contact instructablesbeta@visualmicro.com Due for release June 2012

Posted by visualmicro 6 years ago

New image layout sometimes doesn't display text box

Hi Instructables Debuggers, I noticed that the new image layout sometimes doesn't display the text boxes. This only appears to occur if there are 3 or more images on one step. I'm using Chrome on OSX 10.7 Thanks for looking into this!

Posted by LanceMakes 5 years ago

Picaxe 08m starts randomly blinking? Answered

I program my picaxe turn it on and it runs sweet for about ~20s and then after perfect operation the led that was on starts blinking and it then doesn't respond to any thing? The function of this program was to turn an led when the readabc from an input is under 100. when i connect the +ve to the input it makes the debugger say 255 but then it doesn't get any new debug data some times all the other variables change as well and its real erratic. Any reasons why this may be happening?

Asked by wee_man 8 years ago

Could not change profile image

Hello *.*, I want to update my profile image. For this I login, klick on You and Edit Profile. After this I click Upload New Photo. After this I see, that the Upload new Image dialog fades in. But this happens behind the Edit Profile dialog. With the Chrome Debugger I moved the dialog by changing the css, so I can send a screenshot. If I click in the upload dialog then the edit dialog disappered. An upload does not change the profile image after this. I tired this with the actual Chrome and Firefox browser. In both the same. Any idea for me? Thanks Mark

Posted by DoItMark 1 year ago

Help with AVRdude

Hi guys, im trying to use a JTAG USB ICE debugger programmer on an ATMEGA32 microcontroller with avrdude, but when im trying to initialize  the microcontroller i keep getting error, in cmd; >avrdude -c jtag2 -p m32 the error: >avrdude:ser_open: can't open device "\\.\com1":the system cannot find the file specified. then i checked the port for the programmer, its at com9, so then i write >avrdude - jtag2 -P com9 -p m32 i will get error: avrdude: jtagmkII_recv_frame:timout avrdude:jtagmkII_getsync:sign-on command: status -1 anyone can help me with this? been stuck like forever now, thank you very much for helping, cheers!!

Posted by anepzamri 4 years ago

Want to make the word clock, but don't have any experience with PICs.

The 16F877 is listed as being used in the part list, what software/hardware do i need to buy to use this PIC. I was thinking of buying PICkit 2 from microchips site, but there are so many packages I don't know which to pick. Theres the PICkit 2 starter kit, also the PICkit 2 debugger express. Also I want to keep cost as low as possible, as I don't think I'll do anymore PIC programming other than this one project. I don't want to learn how to use the software or anything else like that. I have a little bit of C++ knowledge and how to solder. So I think if i follow the instructions that Doug has left I can do this myself. But I need help to know how to program the PIC.

Asked by samkash 8 years ago

Arduino yellow drummer robot?

I was looking at building a yellow drummer robot that I saw in Make 25. I don't have a Picaxe, the problem is that I have seen pictuures and videos of people that have used arduino but no detailed instructions. Can anyone give me a link to instructions or  give me tips. The best help I have had so far is the code. But how do I connect it up? (I have a arduino deumonlatave, but it should still work). // Yellow Drum Machine Program for Arduino Uno // setup pins and variables for SRF05 sonar device int echoPin = 12;                               // SRF05 echo pin (digital 12) int initPin = 13;                               // SRF05 trigger pin (digital 13) unsigned long pulseTime = 0;                    // stores the pulse in Micro Seconds unsigned long distance = 0;                     // variable for storing the distance (cm) // setup pins for drivetrain motors int DCMotor1Drive = 10;                         // DCMotor1 Drive Pin (PWM 3) int DCMotor1Reverse = 3;                        // DCMotor1 Reverse Pin (PWM 10)       int DCMotor2Drive = 9;                          // DCMotor2 Drive Pin (PWM 6) int DCMotor2Reverse = 6;                        // DCMotor2 Reverse Pin (PWM 9) // setup pins for sonar pivot pager int SensorPagerRight = 11;                        // SensorPager rotate right Pin (digital #) int SensorPagerLeft = 5;                         // SensorPager rotate left Pin (digital #) // setup pins for drumstick pagers int Pager1 = 8;                           // Pager1 rotate forward Pin (digital #) int Pager2 = 2;                         // Pager1 rotate reverse Pin (digital #) int Pager3 = 1; int speed = 0; int averageDistance = 0;                        // stores the average distance value int mode = 0; // Function for sonar reader int readsonar() {   // variables to take x number of readings and then average them   // to remove the jitter/noise from the SRF05 sonar readings   const int numOfReadings = 10;                   // number of readings to take/ items in the array   int total = 0;                                  // stores the cumlative total     // create array loop to iterate over every item in the array   for (int i = 0; i        // Trigger sonar to take reading     digitalWrite(initPin, HIGH);                    // send 10 microsecond pulse     delayMicroseconds(10);                          // wait 10 microseconds before turning off     digitalWrite(initPin, LOW);                     // stop sending the pulse         // Read sonar distance     pulseTime = pulseIn(echoPin, HIGH);             // Look for a return pulse, it should be high as the pulse goes low-high-low     distance = pulseTime/58;                        // Distance = pulse time / 58 to convert to cm.     total= total + distance;                        // add the reading to the total   } return total / numOfReadings; } // Drivetrain movement command functions   /* Drivetrain Forward */   int goforward(int speed) {      analogWrite(DCMotor1Reverse, 0);     analogWrite(DCMotor1Drive, speed);     analogWrite(DCMotor2Reverse, 0);     analogWrite(DCMotor2Drive, speed);   }   /* Drivetrain Reverse */   int goreverse(int speed) {     analogWrite(DCMotor1Reverse, speed);     analogWrite(DCMotor1Drive, 0);     analogWrite(DCMotor2Reverse, speed);     analogWrite(DCMotor2Drive, 0);   }           /* Drivetrain Turn Right */   int goright(int speed) {     analogWrite(DCMotor1Reverse, 0);     analogWrite(DCMotor1Drive, speed);     analogWrite(DCMotor2Reverse, 0);     analogWrite(DCMotor2Drive, 0);   }   /* Drivetrain Turn Left full speed*/   int goleft(int speed) {   analogWrite(DCMotor1Reverse, 0);   analogWrite(DCMotor1Drive, 0);   analogWrite(DCMotor2Reverse, 0);   analogWrite(DCMotor2Drive, speed);    }     /*Drivetrain turn around*/   int turnaround(int speed) {      analogWrite(DCMotor1Reverse, 0);      analogWrite(DCMotor1Drive, 255);      analogWrite(DCMotor2Reverse, 255);      analogWrite(DCMotor2Drive, 0);   }     /* Pager Pulse functions */   int rightstick() {     digitalWrite(Pager1, 0);     delay(200);     digitalWrite(Pager1, 1);   }     int leftstick() {     digitalWrite(Pager2, 1);     delay(200);     digitalWrite(Pager2, 0);   }     int tailstick() {     digitalWrite(Pager3, 1);     delay(200);     digitalWrite(Pager3, 0);   }      //Operational Modes   //Target Seeking Mode  int findtarget() {    int Center = readsonar();    if (Center > 50)       goforward(255); //Go forward!    else      mode = 1; //  }     //Fine-Tune Targeting Mode  int lockontarget() {     // Reading and moving the sonar     int Center = readsonar();     digitalWrite (SensorPagerLeft, 1);     digitalWrite (SensorPagerRight, 0);     delay (500);     int Left = readsonar();     digitalWrite (SensorPagerLeft, 0);     digitalWrite (SensorPagerRight, 1);     delay (500);     int Right = readsonar();     digitalWrite (SensorPagerLeft, 0);     digitalWrite (SensorPagerRight, 0);     delay (500);         //Speed and Direction Control      if ((Center        if (Center > 50)           goforward(255); //Go forward!        else if (Center > 7)          goforward(128); //        else          mode = 2;      }      else if ((Right        if (Right > 50)           goright(255); //Go forward!        else if (Right > 7)          goright(128); //        else          mode = 2;      }      else if ((Left        if (Left > 50)           goleft(255); //Go forward!        else if (Left > 7)          goleft(128); //        else          mode = 2;      }  } //LET THE BEAT DROP! int makesomenoise() {    tailstick();    rightstick();    leftstick();    delay (500);          tailstick();    rightstick();    leftstick();    delay (500);    tailstick();    rightstick();    leftstick();    delay (500);    tailstick();    tailstick();    tailstick();    tailstick();    rightstick();    leftstick();    tailstick();    rightstick();    leftstick();    delay (500);    tailstick();    rightstick();    leftstick();    delay (500);    mode = 3; }      //Go Somewhere Else//  int runaway()  {    goreverse(255);  }               // setup void setup() {   pinMode(DCMotor1Drive, OUTPUT);                     // sets DCMotor1Drive as output   pinMode(DCMotor1Reverse, OUTPUT);                   // sets DCMotor1Reverse as output   pinMode(initPin, OUTPUT);                           // set init pin 13 as output   pinMode(echoPin, INPUT);                            // set echo pin 12 as input   pinMode(Pager1, OUTPUT);   pinMode(Pager2, OUTPUT);   pinMode(Pager3, OUTPUT);   digitalWrite(Pager1, 1);   digitalWrite(Pager2, 0);   digitalWrite(Pager3, 0);    // initialize the serial port, lets you view the  // distances being pinged if connected to computer  //    Serial.begin(9600);   } void loop() {   if (mode == 0)     findtarget();   else if (mode == 1)     lockontarget();   else if (mode == 2)   {     makesomenoise();     turnaround(255);     mode = 0;   }   // Serial.println(mode, DEC);         // print out the average distance to the debugg }  

Asked by David97 6 years ago