Arduino stops working after connecting the vcc pin to xl6009 module

I was trying to power up my arduino pro mini(5v) with a lipo cell connected to the input of xl6009 boost converter module and set the output of boost converter to 5 volts then connected the vcc pin of arduino to the output of xl6009 to power up the pro mini. but after reconnecting the board to my laptop in order to upload another sketch it powers up but can not be programmed at all...(i'm using ch340 serial to usb converter to program pro mini)

I have an arduino uno r3 that has the similar problem which is when connected to pc with usb cable the power led and pin 13 led lights up but the board is not recognized by computer in device manager...I also changed the atmega328p of uno but nothing happened

now is there any way to fix the arduino boards?

More often many of these types of issue are fixed by removing anything else that is connected to the boards.

But when using serial adaptors also make sure TX goes to RX and vice versa along with the grounds and DTR etc as dictated by the board.

Beware of some of the buck/boost convertors and make sure it is also current capable too.
Some of the super cheap ones are not up to the task especially if you have many sensors or displays connected to your Arduino.

Bob.