I'm just checking because search didn't have hits.
Has anyone used JTAG "chain" programming to flash two micros on the same circuit? I assume the nrf52s won't hold this up, but I'm not sure.
Anyone?
I'm just checking because search didn't have hits.
Has anyone used JTAG "chain" programming to flash two micros on the same circuit? I assume the nrf52s won't hold this up, but I'm not sure.
Anyone?
nRF52 uses SWD. It does not support jtag chains. SWD is peer to peer, no chaining. However there is a solution to parallel programming nRF52 using multiple low cost programmer here.
You answer enough questions here that I really don't mind linking your own stuff.
But... Is that going to help me to program two chips on the same board via one connector? Esp considering one is Nordic and the other is not?
I though you were talking about multiple nRF52. Well there are no gang programmers that can do different kind of MCU at the same time. Usually they program same processor in parallel. As I said, SWD is peer to peer (one on one) only. If you want to use the same connector, you need to have a switch between them. The IDAP-M was used like that on a customer dev kit which as a nRF51 + KL26Z sharing the same connector. It can program both processor but one at a time only.
The programmer you linked to is not particularly cheap.
If you are willing to do the work to compile the code, you can build a BlackMagic Probe, using a $4 STLink (STM32) dongle and the code from github.com/.../blackmagic
In terms of programming 2 devices via one connector. AFIK its not possible, But as SWD is only 2 wires, you could add an extra 2 wires to your connector and have separate SWCLK and SWDIO lines for both processors (assuming they are both ARM type and use SWD)
In fact, I suspect you can probably share the SWCLK line between both (though you'd need to double check this)
I am sorry to disappoint you but $4 is only the MCU. There are a lot more components to that. Overall costs is over 10x that and I am not using some body else code. I write my own. It took 2 years to complete the project and the software is still on updating every time Nordic changes its SOC. To tell you the trust, my investment into the project hasn't paid off yet. All that is because I don't steal other people work and sale knockoff of it. An other thing, a legal USB Vend/Prod ID will cost you $5K. The IDAP is sold with a legal USB ID.
BTW SWCLK cannot be shared.