Follow the next steps to generate backup codes:
1. Login to origin.com
After you logged in, select EA Account and Billing as the photo shows.
Click to Security on the left menu, and choose “View” at the backup codes.