Comments (6)
Unfortunately, JTAG cannot be used for debugging
from ttgo-t-display.
The pin GPIO14 can be accessed under the board : #6 (comment) and this is confirmed to work for JTAG.
from ttgo-t-display.
Is there any other way of debugging? E.g. via the USB?
from ttgo-t-display.
@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.
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.
@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)
- Reintroduce the MIT Licence HOT 1
- What means soder option on the product page to order? HOT 1
- Connection lost HOT 1
- ESP32 doesn't wake-up from deep sleep when battery goes flat
- Ghosting old artifacts
- Display fails when code uploaded by PlatformIO HOT 1
- I2C Connection Issue with PN532 HOT 1
- T-Display Blank Screen HOT 3
- WebSocket Client Sample for LILYGO board
- SPI SDcard not working with LilygGO T-Display
- loading library from h:\...\Arduino\libraries\T-Display-S3: invalid library: no header files found
- 3D files
- TTGO T-display C1101
- How to make circuitpython work? HOT 3
- blank screen but still uploads code HOT 3
- Does readrect() work on this display HOT 1
- LilyGo T display won't mount. HOT 4
- TTGO T-Display v1.1 serial port problems HOT 2
- Crashing LVGL with Wifi
- Getting GPIO Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttgo-t-display.