Coder Social home page Coder Social logo

lilygo-t-displaygd32's Introduction

T-Display_GD32

Pins GD32V
TFT Driver ST7789(240*135)
TFT_MISO N/A
TFT_MOSI PA7
TFT_SCLK PA5
TFT_CS PB2
TFT_DC PB0
TFT_RST PB1
TFT_BL PB10
SD_MISO PB14
SD_MOSI PB15
SD_SCLK PB13
SD_CS PB12
  • Copy the files in the resource folder to the SD card
  • Quick use reference get_started

lilygo-t-displaygd32's People

Contributors

lewisxhe avatar lilygo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lilygo-t-displaygd32's Issues

Question: built-in flash memory size

According to the schematics, the board uses GD32VF103C8T6 variant of GD32V.
Public specs of the C8 say that is has 64K of flash memory.

Close competitor of the T-Display - Sipeed Longan Nano RISC-V is using GD32VF103CBT6 with 128K of flash memory.

64K flash was Ok 5-6 years ago but it does not seem to be sufficient for most applications these days...
Have you thought about to switch onto CB in production T-Display GD32V boards ?

Please add hi-res pinout and mechanical drawings

Hi, I'm really enjoying using this great board - thanks for making it available!

Please could you add a hi-resolution version of the pinout diagram, the current one on the website doesn't enlarge well for printing. It would also be great to have more detail mechanical drawings for creating EDA footprints for mounting the board on a PCB.

Many thanks and keep up the great work!

Board not recognised Ubuntu

###INITIAL PROBLEM###

Trying to run on Ubuntu 20.04, via platformio/VScode, and the board isn't recognised by the USB port.
If I lsusb my system detects something, but it has no name and platformio can not upload to it:

Bus 001 Device 027: ID 28e9:0189  #THIS IS THE BOARD
Bus 001 Device 018: ID 18f8:0f99 [Maxxter] Optical gaming mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

All my other boards are able to be detected
I have noticed your documentation is very windows-centric, could you include a tutorial/guidance for running on a Linux machine
The blink project builds fine, but it will not upload, and I have done the BOOT>RST>BOOT combination to enter download mode
This is too hard, I feel you may lose users

###UPDATE###

So following some advice here https://bananatronics.org/first-steps-with-the-longan-nano-risc-v-board/
I installed dfu-util

sudo apt install dfu-util

Now I get:

dfu-util: Cannot open DFU device 28e9:0189 #THIS IS THE BOARD
dfu-util: No DFU capable USB device available
*** [upload] Error 74
================================================================================ [FAILED] Took 0.56 
seconds ================================================================================
The terminal process terminated with exit code: 1

So at least platformio is trying to connect to the board

###UPDATE###

Seems like I need to add a blacklist exception somewhere, going on this example, but where, and what?!

https://github.com/redbear/Duo/blob/master/docs/dfu-util_installation_guide.md#linux

image

###UPDATE###

So Linux platformio users need to generate the blacklist file, which will add exceptions for GD32V, shown here:
https://docs.platformio.org/en/latest/faq.html#platformio-udev-rules
I still cant get the sketch to upload though :(

###UPDATE IT WORKS!###

A system restart did it. I also found I had to BOOT>RST>BOOT immediately before uploading, and I only got it working by cloning this repo, instead of the blink example referenced in get started
I would highly recommend adding to your docs:

For Linux platformio users a blacklist file needs to be created
https://docs.platformio.org/en/latest/faq.html#platformio-udev-rules

Arduino blink doesn't work

OS: Debian10 buster
Env: Visual studio Code w/ PlatformIO(Home v3.0.1 Core v4.1.0)

I follow the tutorial in this link:http://longan.sipeed.com/en/get_started/pio.html
and I download example code "Arduino Blink", Build it, use dfu-mode to upload
the code, and it success.
I check out the schematic, I think Red LED on T-Display should blink but it doesn't.

Other then that, I download your code in this repository, as the same, I can upload, but it still doesn't work.

I connect T-Display via USB-C port, Is there any setting need to be done?

Here is my platformio.ini file:
[env:sipeed-longan-nano] platform = gd32v framework = arduino board = sipeed-longan-nano monitor_speed = 115200 upload_protocol = dfu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.