user41845: I need to remove atmega328P from arduino board and the best tool what comes up to my mind is a hot air gun. What is the maximum temperature that atmega328P can withstand?

user40318: web search reveals the peak reflow temperature is 260°C
the chip will withstand that for 15 seconds or so
here is an example graph of a reflow oven temperature during the reflow process


user4143: The idea of using a simple "heat gun" (such as this) will fail on two fronts:

You can't control the temperature. It will get too hot and you will damage the chip.
You can't control the hot air. It will melt all the plastic items on  the board (the connectors, etc) and you'll just end up with a big blob of bubbling plastic.

You need a proper reflow station. These are to a heat gun what a soldering iron is to a blow torch. They are temperature controlled, so you can select a specific temperature (with reference to the datasheet of the component you want to (de)solder), and have interchangeable nozzles to allow you to accurately direct the heat where it is needed.
I use the (cheap) Atten 858D+.

41845: <p>I need to remove atmega328P from arduino board and the best tool what comes up to my mind is a hot air gun. What is the maximum temperature that atmega328P can withstand?</p>
 40318: <p>web search reveals the peak reflow temperature is 260°C</p>

<p>the chip will withstand that for 15 seconds or so</p>

<p>here is an example graph of a reflow oven temperature during the reflow process</p>

<p><a href="https://i.stack.imgur.com/zxxtZl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zxxtZl.png" alt="enter image description here"></a></p>
 4143: <p>The idea of using a simple "heat gun" (such as <a href="https://www.screwfix.com/p/energer-enb467htg-2000w-heat-gun-240v/59740" rel="nofollow noreferrer">this</a>) will fail on two fronts:</p>

<ol>
<li>You can't control the temperature. It will get too hot and you will damage the chip.</li>
<li>You can't control the hot air. It will melt all the plastic items on  the board (the connectors, etc) and you'll just end up with a big blob of bubbling plastic.</li>
</ol>

<p>You need a proper reflow station. These are to a heat gun what a soldering iron is to a blow torch. They are temperature controlled, so you can select a specific temperature (with reference to the datasheet of the component you want to (de)solder), and have interchangeable nozzles to allow you to accurately direct the heat where it is needed.</p>

<p>I use the (cheap) Atten 858D+.</p>
