Is it possible to integrate FALA into DirtyJTAG? License-wide and programatically? Well I will hook up external LA to verify this (the sooner during the weekend). But would be handy for others that lack LA in gearbox. Just a suggestion.
It would be a major project, I don’t see myself doing it any time soon.
ian, i am not pushing an agenda here with jtag but what type of target board do you need, i have alot…and i am not sure its a problem with your port, i am going to try on a easier target such as an intel galileo which has it enabled and proper pins good to go.
Waiting for your test results. It would be a good indication for my target if its confirmed to work on another board
I’ve got an XC9672 (?) CPLD board on the way, I’ve done tutorials on them before and also manually navigated the JTAG with the old bus pirate.
I swore I had the biggest version on a dev board here in my junk box, but all I found was ICE40 stuff and they don’t have JTAG.
After an extensive search I can’t find a board near me. I will order another from aliexpress. It’s a really old chip, but Im familiar with it. Cool runner 2 is newer but seems even less common.
Do you happen to have a devboard for one of the bigger STM32 at hand? Like a STM32F4 or faster, LQFP64 or more pins.
While they are primarily programmed with SWD, the bigger STM32 also have a full JTAG port available as well.
I honestly don’t. But I will look for one tomorrow.
got a arduino based on a Atmel chip? chances are high that you can yoink out a JTAG on the AVR chips, too
I haven’t used Arduino for years and dislike their IDE and build system. But when I hear Arduino and Atmel AVR I think of the Atmega328P of the original Arduino board. And that one doesn’t have JTAG.
But I think there are other AVR series that have JTAG - But I don’t know if these were ever on a popular Arduino board.
got a few different ATMegas that got JTAG, thats why i immediately thought of that one. maybe checking the box of random devboards/evalboards might work out for ian
I have never, under any circumstances, used an arduino I don’t work without debug access.
could have been that you had a board of that type laying around. was mainly to point out potential JTAG chip sources.
I might have an ATmega64 board around that has a JTAG port. I’ve always used an AVR Dragon on them. It’s from an embedded design I did quite a while ago, but I think I still have some laying around in one of my drawers.
I’ll check tomorrow.
will this one work? i will just send it wherever you need. Amazon.com
That is the exact board I ordered on taobao and the office sent me. If ordered again on Amazon will take until the 16th to get here. My package should be here any day, it’s just stuck due to holiday.
I also ordered another on aliexpress with 10 day delivery.
I’m wary of using an unfamiliar target because that’s an extra layer of unknown to get it going.
I downloaded the .uf2 linked above (the first one; the second one gave me a blank screen). I downloaded urJTAG from sourceforge (ugh), built and installed.
I connected the BP5 to a board I designed, built, and wrote the firmware for many years ago, so I know JTAG is enabled and works:
I’m not really familiar with urJTAG, so I just copied what I saw in comments above, but it seems to work:
┌──(matty💊s76)-[~/…/urjtag-git/urjtag/src/.libs]
└─$ sudo jtag
UrJTAG 2021.03 #d9a2943f
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors
UrJTAG is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.
warning: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.
jtag> cable dirtyjtag
jtag> detect
IR length: 4
Chain length: 1
Device Id: 01011001011000000010000000111111 (0x5960203F)
Manufacturer: Atmel (0x03F)
Unknown part! (1001011000000010) (/usr/local/share/urjtag/atmel/PARTS)
jtag>
It didn’t identify the part, which is an ATMega64A, but I guess that’s not a surprise since that part isn’t in /usr/local/share/urjtag/atmel/PARTS
.
Please let me know if I can do any other tests
Wow, thank you so much for the test! I’m honestly surprised it worked, but delighted. I’ll figure out what’s going on with the latest firmware.
It was fun to pull that old board out and remember that project
can you run discovery, commands, etc. that would find the ir length, and stuff? this is great man, your faster than me.