I am trying to design an isolated LED driver with primary side sensing. I want my output voltage to be 48-56 V and the current to be 350 mA. The current and the voltage are controlled by current sense resistors and feedback resistors which have correct values according to my calculations.
The problem is that every time I start the circuit the LED panel lights up correctly but after some time the output rectifying diode (in my case ES2J) burns up. The ratings of the diode are up to the marks which is 1A forward current and 600V blocking voltage which should be more than enough for this application. I've tried a single diode and two diodes in parallel but the results are the same. What am I doing wrong here?