APM1.4 2560 failed I2C

Hi,

Just before maiden of my Funjet APM stopped working. After few hours of debugging I figured out I2C devices are not working, preventing APM to initialise. After all I wrote simple program

void loop() {
  digitalWrite(20, HIGH);   // set the LED on
  digitalWrite(21, HIGH);   // set the LED on
  digitalWrite(15, HIGH);   // set the LED on
  digitalWrite(14, HIGH);   // set the LED on

 delayMicroseconds(5);
  digitalWrite(20, LOW);    // set the LED off
  digitalWrite(21, LOW);    // set the LED off
  digitalWrite(15, LOW);    // set the LED off
  digitalWrite(14, LOW);    // set the LED off

  delayMicroseconds(5);
}

After executing an all pins except SCK there were nice rectangles. SCK seems to be crippled as seen in attachment. This was measured without Oilpan.

Please confirm that my only chance is to replace Atmega. Replacing won't be issue, but I hate to order it.

I still trying to figure out what can be cause. My first idea was static discharge as i was wearing fleece jacket. But I've been said that most modern parts should not be destroyed by ESD. Another possible but very very unlike is short of SCK pin to +lipo.

IMAG0047.jpg

IMAG0048.jpg

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  •  most modern parts should not be destroyed by ESD.


    Most parts have actually gotten more and more susceptible to ESD.  The smaller, thinner and more complicated they make the part the more easily it is destroyed by ESD.  Because of this some parts have additional ESD protection built into them.


    ESD can cause intermittent failures, partial damage, or otherwise be hard to spot during testing, that's what makes it such a PITA.

This reply was deleted.

Activity

DIY Robocars via Twitter
20 hours ago
DIY Robocars via Twitter
RT @NVIDIADRIVE: Season Beta has arrived! Check out the first race of the @roborace season, livestreaming from Anglesey Circuit Sept. 24-26…
yesterday
DIY Robocars via Twitter
RT @IndyAChallenge: Here is the ROS-based small-scale vehicle platform showing the ROS Visualization (Rviz) screen with multiple ROS nodes…
yesterday
DIY Robocars via Twitter
RT @IndyAChallenge: Here is Black & Gold Autonomous Racing's simulated racecar running a lap @IMS and showing the team's code overtaking ot…
yesterday
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @donkey_car: New Maintainers! Donkey Car 4.0 and more! Here is our September Newsletter! https://donkeycar.substack.com/p/september-donkey-newsletter?r=2ji2t&utm_campaign=post&utm_medium=web&utm_source=copy
yesterday
DIY Robocars via Twitter
RT @chr1sa: Kinda cool that we just hit 2,500 members of our Bay Area self-driving car racing league. More than 10k globally. Fast, cheap…
yesterday
DIY Robocars via Twitter
RT @chr1sa: Our next @DIYRobocars virtual AI car race is next Saturday. Compete from home using the @donkey_car simulator -- no physical ca…
Sunday
DIY Robocars via Twitter
RT @RoboticMasters: Students from @Sydney_Uni working hard on improvements and changes to @donkey_car simulator. @diyrobocars @adafruit…
Sunday
DIY Robocars via Twitter
Practice virtual race this Saturday; the real thing will be on Oct 3 https://www.meetup.com/DIYRobocars/
Sep 23
DIY Robocars via Twitter
Sep 23
Derrick Davies liked lisa TDrones's profile
Sep 23
DIY Robocars via Twitter
Sep 21
DIY Robocars via Twitter
RT @SahikaGenc: AWS DeepRacer & Hot Wheels Track https://youtu.be/4H0Ei07RdR4 via @YouTube
Sep 14
DIY Robocars via Twitter
Sep 8
DIY Robocars via Twitter
RT @davsca1: We are releasing the code of our Fisher Information Field, the first dedicated map for perception-aware planning that is >10x…
Sep 8
More…