@firoozeh one reason a screen will turn black after uploading code is because your code does not contain graphical elements. When using M5BURNER you must use the correct firmware for the core. There are three main cores the core, core2 and coreS3. All three have different firmware and for your unit you must erase and use the Core, Go and fire only firmware