Not familiar with your model, but on my Onan QD8000 diesel, the start switch (on the generator) will blink error codes.
Yours may be blinking codes thru the dash switch, also. Look over the owners manual and find the section on troubleshooting and error codes. That should help you determine what is going on.
Be sure and check oil and coolant levels first off. Check for leaks. Go deeper after that.
Mine would start up and die when the switch was released. Start it again and it would run. Flashing code said intake air obstruction. Dirty (really dirty) air filter was the culprit for mine. Did an oil change while I was at it.
Take your time, read the manual, research, google, search this forum and learn all you can about the generator.
Knowledge is Power!
You can solve this issue!
Don’t give up.