hello all,
I brought a the black a month ago and i really like it, doing a lot of nice things withe the GPIOs…
my question is:
is there a way to emulate the functionality of the JTAG (or whatever else) to program the other MCU using the baglebone’s
expansion pins?
like ATiny which uses the Arduino board as the programming device to program to other MCU’s (of the same family) .
BTW: I know I will need to compile the code to fit the other MCU using the manufacture’s supplied headers… had some experience
programming the STM32…
You probably need to be more specific. There is more than one kind of JTAG.
The short answer to your question is yes. Although you may have to do most of if not all the work yourself. There are projects out there though.
I think you’ll find the question will be “why?”. You can do this sort of thing with much smaller / inexpensive devices.
well, the thing is that I have developed, using c/c++ combination, a program that helps me retrieve sensory data from multiple sensors (12 GPIOs + Interrupt pin)
and I would like to make a standalone/dedicated version of this but on a proto-board (SMT+Trough-Hole), for this I don’t need the full blown Cortex A8.
any ideas? I am trying to keep it cheap.
THX
T. King has / had a project that did this sort of thing. ← in the context of the BBB. Try searching these groups, or github for his name. No idea how far along it is. I want to say the project name is “bonetick” but I do not remember.
Also there is Black Magic Probe ( BMP ) but BMP only targets Cortex M3 afaik. Also I do believe there is at least one other open source JTAG project, but I can not think of the name off hand.
There are also many other projects outside of this that I have read about. I’ve talked with one person who was porting BMP to the Stellaris Launchpad( TI’s first M4 dev board ). Also I have read about using an MSP430 for such as well. One as I recall was able to program / debug some Atmel chips, as well as other msp430’s. Poke around on dangerous prototypes ( dot com ), and you might find mention of the project there.
Sorry that I can not do much better than that. I have read lots of things like this concerning JTAG, but never actually got my hands “dirty” with any of them. Perhaps someone else will chime in.
Today, "JTAG" is used for many things.
1) Checking if the PCBs are ok ( the original intent ).
2) Programming the flash ROMs, or EEPROMs or FPGAs.
3) Debugging the software, with GDB single stepping (or "breakpointing") the target microprocessor.
So besides "wiggling" or "shaking" in "the right way" some pins of BeagleBone, you need lots of software behind for all that to work.
So the fast way to have the BB program some microprocessor is to buy a cheap USB-JTAG adapter supported by these two software packages:
http://openocd.sourceforge.net
http://urjtag.org
Best regards
Paulo Ferreira