microsoft / microsoft/pxt-maker

Code not running on LILYGO® TTGO T8 ESP32-S2

Open
#350 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
130
Forks
90
Avg merge
1d 14h
Merged PRs (30d)
1

Description

Describe the bug
After downloading the generated .bin file, the program will not run

To Reproduce
Steps to reproduce the behavior:

  1. I followed the instructions at adafruit to install TinyUF2. I had to put usb dip-switches in 'otg' mode

  2. Download the tinyuf2-lilygo_ttgo_t8_s2_st7789-0.5.2.zip file

  3. With the online ESPTool I have flashed the combined.bin at location 0x0

  4. Worked well. TTGOS2BOOT (D:) pops up.

  5. In maker.makecode.com; select the esp32 board

  6. In Javascript:

  7. forever(function () {
    pins.LED.digitalWrite(false)
    control.waitMicros(1 * 1000 * 1000)
    pins.LED.digitalWrite(true)
    control.waitMicros(1 * 1000 * 1000)
    })

  8. Test the program with the simulator. LED-light blinks. Works fine

  9. Download the.bin file to the UF2 D-disk as "maker-espressif-esp32-devkit-c (3).bin"

  10. LED on the board is not blinking.

  11. Switch the usb-dipswitch to 'USB"-mode.

  12. Helas. LED on the board is not blinking.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Edge
  • Version: 97

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the download flow from maker.makecode.com on the LILYGO TTGO T8 ESP32-S2, using the TinyUF2 installation and combined.bin flashing steps described in the report. Check whether the generated .bin is accepted by the TTGOS2BOOT drive and whether the board runs the blinking LED program after switching USB modes. Done means the downloaded program runs on the reported hardware.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.