MakerGram Logo

    MakerGram

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups

    Having problem burning bootloader to custom Atmega328p board

    General Discussion
    2
    3
    96
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kowshik1729
      kowshik1729 last edited by kowshik1729

      Hi all,

      I have made a custom board with Atmega328P SMD IC and now I am having a problem flashing it. I have flashed multiple chips like these earlier, however this time I am having a hard time figuring out the issue.

      I am using Arduino UNO as an ISP programmer to burn bootloader but getting responses like Attempt 1 of 10 - stk500() is not responding etc., like that. I need some help regarding this issue.

      Any kind of help will be greatly appreciated. Please ask me for any additional information that I might have not mentioned in this post.

      Thanks in advance.

      salmanfaris 1 Reply Last reply Reply Quote 0
      • salmanfaris
        salmanfaris @kowshik1729 last edited by

        @kowshik1729 Did you double-checked the ISP Pins connection? I also faced similar issue because of cold solder joints. also if possible can you share the ICSP connection diagram and the methods you used to flash!

        kowshik1729 1 Reply Last reply Reply Quote 0
        • kowshik1729
          kowshik1729 @salmanfaris last edited by

          @salmanfaris I am using Arduino UNO as ISP programmer.(General ISP connections are made). I used both Arduino IDE and also avrdude command line to burn the bootloader. I am sharing link to pictures and debug outputs I got on both avrdude and arduino here. Please check it and let me know if it rings any bells for you.

          https://drive.google.com/drive/folders/1BP74HvmbBOlqBN4XDcvLkMt7eNK5hWaL?usp=sharing

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Recent Posts

          • Hi team,

            Any one have experience in Altium schematic designing.
            I am facing some issue in Hierarchy->harness in Schematic.
            The offpage number for harness is not showing, and while generation the smart PDF if we click the harness port /green box the page want to go there automatically, but that also not working.

            • read more
          • D

            @salmanfaris thank you so much man, I'll try this and update you shortly. Thank you once again.

            Best,
            Dipu

            • read more
          • Hi @dipu_varghese ,

            Here is the sample input from the binary edge impulse inference,

            Predictions (DSP: 16 ms., Classification: 1 ms., Anomaly: 2 ms.): idle: 0.91016 snake: 0.08203 updown: 0.00391 wave: 0.00391 anomaly score: -0.067”

            And from here for example we can try to get the updown values only by attaching the device to another controller and read the Serial string directly.

            void setup() { // Start serial communication at 9600 baud Serial.begin(9600); } void loop() { // Wait until there is data available on the serial port while (!Serial.available()) { // Do nothing } // Read the input string from the serial port String inputString = Serial.readStringUntil('\n'); // Find the position of the "updown" value in the input string int updownPos = inputString.indexOf("updown:"); // If the "updown" value was found in the input string if (updownPos >= 0) { // Extract the "updown" value from the input string String updownString = inputString.substring(updownPos + 8, inputString.indexOf('\n', updownPos)); // Convert the "updown" value to a float float updownValue = updownString.toFloat(); // Output the "updown" value Serial.println(updownValue); } }

            The sketch should then output the "updown" value, which is 0.08203.

            Hope this will be helpful, let me know if you need more clarification.

            • read more
          • D

            @salmanfaris any updates?

            Best,
            Dipu

            • read more
          • D

            @salmanfaris Hope you're doing well, did you get sometime to work on this?

            Best,
            Dipu

            • read more
          By MakerGram | A XiStart Initiative | Built with ♥ NodeBB
          Copyright © 2023 MakerGram, All rights reserved.
          Privacy Policy | Terms & Conditions | Disclaimer | Code of Conduct