smoking L298N run with stepper motor

Normal, because the ancient L298 is not really a stepper motor driver.
At least not for steppers with a 2ohm coil resistance.

Read Robin2's threads.
Stepper Motor Basics
Simple Stepper Code
Leo..