Hello,
When powered through USB, LEDs D2 and D3 should light green, also, in the case of selecting 5V.
Can you, please, measure VDD_MCU whether the MCU is powered (in both cases)?
Can you share the last project which you loaded into MCU and S32DS version? (I can try to reproduce your issue)
Thank you.
Best regards,
Diana