> I checked multiple times and i can confirm its not the issue with the IDE because previously it was working .
This is not proof of anything.
Perhaps you have installed other software in the meantime, especially USB devices.
Assuming a Windows host OS, check the status in the device manager. Does the device(s) show up, and without issues/errors ?
> I also noticed that the internal storage of the board which was normmally 8Mb is now 60Mb
Sounds like a USB "combo" device, which registers as mass storage as well, and where you can "drop in" an application via file system copy.
> Could it be a firmware issue?
I suspect an issue with the firmware you flashed onto it. Probably crashes early on.
As suggested, try a mass erase of th target, and revert to an application you definitely know is working.
Most IDEs will set the initial breakpoint for debugging at main.
This does not work if there is an issue in the init code.
Change the initial breakpoint setting of your IDE to the reset vector, and step through the init code to main(), if necessary.