Uuuhh. Is there a way to JTAG your way into the Mini? I was checking out the wonders of the Mini I just got and realized I had assumed it had a JTAG connector somewhere.
JTAGing the Mini?
(3 posts) (3 voices)-
Posted 4 years ago #
-
ianmga - the 48pin STM32F103CB has all the JTAG signals on the headers.
I looked at the datasheet at:
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00161566.pdfand JTAG is on:
Name Port Mini-pin JTMS PA14 D21 JTDI PA15 D20 JTDO PB3 D19 JNTRST PB4 D18 NRST NRST RESET
You'll need to make an adapter of some description.
Several people have used dorkbotpdx.org for one-off (three off) PCBs, but you could use veroboard.(full disclosure: I am not a member of LeafLabs staff)
Posted 4 years ago # -
Note also that the Mini disables JTAG and SW-Debug by default at init() time, so those pins can be used as GPIOs:
https://github.com/leaflabs/libmaple/blob/0.0.11/wirish/boards/maple_mini.cpp#L39
Calling enableDebugPorts() within setup() may let you use JTAG again, but I haven't tried it. A safer workaround for now would be to comment out the call to disableDebugPorts() in Maple Mini's boardInit().
Posted 4 years ago #
Reply
You must log in to post.