Comments (1)
I don't have any immediate plans to do so, but if you wanted to, adding the platform BSP (Board Support Package) code is straightforward(*1) since all the JTAG code is already there.
To do so, go the the ./bsp/xxx of your choice (where xxx is whichever platform you want to compile DapperMime for), open DAP_config.h in a text editor, change "#define DAP_JTAG 0" to "#define DAP_JTAG 1", and fill in the functions PORT_JTAG_SETUP(), PIN_TDI_OUT(), PIN_nTRST_OUT(), and PIN_nRESET_OUT(). You can use the existing PORT_SWD_SETUP() as a guide for PORT_JTAG_SETUP(), and use PIN_SWDIO_OUT() as a guide for the various _OUT().
(*1)Then, you need to document which pins you chose for TDI, nTRST, and nRESET (in addition to the existing TCK/SWCLK and TMS/SWDIO) and why you chose those (and subsequently handle angry users that don't like those pins and who expect you to change the project to suit them)(*2). You then need to draw diagrams, provide part numbers, and explain how users would connect the target to those chosen pins. Then you'll need to answer Issues from people like yourself who ask you to do more work for a platform target different from the one that you wrote code for. Then, for the rest of time, you'll need to field "why doesn't it work" Issues from people who find it easier to post a question than to reason through issues themselves.
(*2)For example, for the rp2040 BSP with DapperMime. I chose the same pinouts (and the exact same picoprobe_config.h file) as Raspberry Pi's proprietary picoprobe project. I did this because it then conforms to existing RP2040 documentation and makes life easier for users who want to stop using picoprobe and start using something that adopts open source and open standards like CMSIS-DAP that existing multi-platform ARM development software already supports. @DatanoiseTV, you have starred a project called pico-dirtyJtag. You could adopt those pinouts, but alas, it might be a bad idea because those pico-dirtyJtag pinouts are incompatible with picoprobe (and in turn, DapperMime's existing rp2040 implementation), as the author of pico-dirtyJtag has (like Raspberry Pi did) created something in a vacuum and in this case has chosen arbitrary JTAG pinouts that are incompatible with what others have done before them.
from dappermime.
Related Issues (10)
- Version information HOT 2
- Please add a LICENCE file HOT 4
- PICO_SDK_PATH variable in Makefile is confusing
- Do not debug RPI PI pico CPU0 with Dappermime running on CPU0 HOT 5
- Provide boardname as amufacturer HOT 1
- Provide new Raspberry Pi Pico version HOT 1
- RP2040 / Pico crappy profiler bash one liner HOT 1
- Any plans to support WinUSB ? HOT 1
- Pico SDK No Longer Submodule in TinyUSB HOT 3
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 dappermime.