LilyGo T-Beam Board Unresponsive

Hi I have two Lilygo TTGO T-Beam boards that came with Meshtastic installed.
When I used the Meshtastic software to connect to the boards it told me that the software needed to be updated and so I did this over the USB port.

Both boards were working well and then I decided to try using Arduino IDE to program one of them. I used the Blinky sketch which flashes the onboard LED.

After doing this the display on the board remained off and the red LED was constantly on.

I couldn’t connect to the board anymore and tried the Meshtastic-Flasher but it wouldn’t connect.
I tried a USB to serial device and nothing recognised the board. I could see the following text over the serial port when I pressed the reset button:

ets Jul 29 2019 12:21:46
configsip: 0, SPIWP:0xee
mode:DIO, clock div:1
entry 0x400806a8

I guess the board is working and needs a fresh reflash but how as nothing seems to be able to communicate with the board.