Narrative:

During cruise at 25;000 feet noticed a burning fume followed by smoke in the cockpit. Followed procedures; [advised ATC]; and diverted safely with no other issues. Event occurred due to a faulted air cycle machine during the flight.

Google
 

Original NASA ASRS Text

Title: EMB-145 Captain reported fumes and smoke in the cockpit due to a faulty air cycle machine. The crew diverted without incident.

Narrative: During cruise at 25;000 feet noticed a burning fume followed by smoke in the cockpit. Followed procedures; [advised ATC]; and diverted safely with no other issues. Event occurred due to a faulted Air Cycle Machine during the flight.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.