Auto-generate HEX file for upload to chip