Code Monkey home page Code Monkey logo

Comments (6)

lewisxhe avatar lewisxhe commented on July 17, 2024 1

Unfortunately, JTAG cannot be used for debugging

from ttgo-t-display.

tadam777 avatar tadam777 commented on July 17, 2024 1

The pin GPIO14 can be accessed under the board : #6 (comment) and this is confirmed to work for JTAG.

from ttgo-t-display.

bastianhjaeger avatar bastianhjaeger commented on July 17, 2024

Is there any other way of debugging? E.g. via the USB?

from ttgo-t-display.

pvonmoradi avatar pvonmoradi commented on July 17, 2024

@lewisxhe Out of 4 required JTAG pins, only GPIO14 (MTMS/TMS) is not available. What is this "PWR EN" that is connected to it? Following the schematics, it seems it is attached to D6 diode.
Similar issue #26

from ttgo-t-display.

robertlipe avatar robertlipe commented on July 17, 2024

If you need JTAG in this form factor, the Longan Nano does have JTAG brought opposite the USB connector, making it a real pain on breadboard since the JTAG lines are all on the same ping of a breadboard.

I wish I'd noticed lewisxhe's comment before, as I ordered this to step up (over?) from Longan Nano just in the hopes of having a better video display controller. That sentence really puts the hurt on using this in development.

I was just told by B*d that this device was discontinued. I can't tell if that's from them or by the maker, but they DO seem to be getting rarer.

Off to Plan D for an inexpensive, self-contained RISC-V development/debugging environment with a screen.

from ttgo-t-display.

robertlipe avatar robertlipe commented on July 17, 2024

@lewisxhe , now that I look at it, are you sure? I'm looking at the Longan Nano and my (dysfunctional) T-Display and all the JTAG pins are in the same place. In the http://www.gd32mcu.com/data/documents/shujushouce/GD32VF103_User_Manual_EN_V1.2.pdf GD32V Manual (Warning: 500+pages) Section 7.4.3 says the packages with low pin count (e.g. the one used here) can be reconfigured to remap the JTAG from (non-existent) pins. The mappings are exactly the silk screens on this board and in the same location as they are on the Nano. 7.3.1 and 10.2.1 says the startup values of the GPIO lines out of reset should work for JTAG.

7.5.9 shows that SWJ_CFG[2:0] defaults to remapping being on and "The default state after reset is SWJ
ON.This allows JTAG mode to be enabled by sending a specific sequence on the JTMS/JTCK pin."

I wonder if this really IS the same as the NANO and it's just a silkscreen labeling issue that makes it look like JTAG isn't available.

TMS is one of those that gets remapped.

Can anyone with a working board try the pinouts from https://wiki.segger.com/SiPeed_Longan_Nano or offer a definitive reason why this doesn't work?

from ttgo-t-display.

Related Issues (20)

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.