All lights blinking

Sometimes the dishwasher works normally. Other times all the lights flash and I can’t do anything. If I power off the dishwasher I can get into the test cycle by hitting the dry air and start cancel button. Powering off the dishwasher makes it work normally somtimes. Other times I get the blinking lights I can’t do anything to make it work.

Question is do I need a new control board or control assm. Don’t want to buy both. I’m leaning more towards the control board because the buttons do work; however, it could be the control assm possibly shorting out and making the machine act crazy.

Thanks

Here are your parts
http://www.appliancepartspros.com/partsearch/model.aspx?model_id=5158058

Here is the tech sheet
http://manuals.frigidaire.com/prodinfo_pdf/Kinston/154580201en.pdf

I am afraid it could be either device but I would lean towards the control board.
Since it is intermittent and they do not give as any pinout info on the keypad, it ends up being a crap shoot.
I would open it up and check for any moisture that may have gotten into it and then I would try try following.

Unplug the unit
Open it up
Remove the ribbon cable from the keypad to the control board at the control board.
Clean the edge connector.
If it is the type where there is not a connector just the insulation is removed, it can be cleaned with a pencil eraser. Do not use an ink eraser as it is too abrasive.
Check the tracks in the ribbon cable for hairline cracks. A magnifying glass helps here.
Would not hurt to clean the connector on the board. Use electronics contact cleaner or isopropyl alcohol and a tooth brush. Be gentle and do not reconnect till all the solvent evaporates.
Reconnect everything and give it a try.