Load resource sample and flash demo