Hi Henry,
did you try this with jlink's GDB server? When i tried, i didnt have jlink ultra or plus, only the base model(that too version 8), that refused to work even with the basic B+ (arm 1176). Though i could load basic bare metal programs, but couldn't properly set any breakpoints (only b+).
Did you check this link ?
http://sysprogs.com/VisualKernel/tutori ... jtagsetup/
In the link above, they use B+ with openocd. Did you try with openocd 0.10.0 (probably you did?). What i would suggest is to google for Raspberry Pi 3 (yes PI-3 cortex A53) jlink openocd config file (there are a lot of similar variants on various github repos) and modify it for cortex A7 (or raspberry pi 2 case).
for e.g.
https://github.com/daniel-k/openocd/blo ... t/rpi3.cfg
see this -
http://apeman0.blogspot.com/2017/07/ras ... l-and.html
or see this - [url]
https://gist.github.com/jitomesky/4b564 ... 359d9d[url]
one thing to note in the above config (for rpi3) is the use of "aarch64". If you change that to cortex_a, and try with cortex a7, it should show something (atleast recognize some cores or like that), i had very limited success in getting jtag recognized on cortex a7 (but i suspect thats because of my v8 jlink).
You do mention that you tried with bcmrpi2.cfg from dwelch's repo. I tried too (long back), but somehow i couldn't get it to work. But when i modified other rpi3/rpi2 config files (found from different github repos) for cortex_a, i did have very limited success (like it recognized cores etc), that too on a v8 jlink (which per segger doesn't officially support cortex a7). Two of those links i have mentioned above.
On a side note -
Although you mention that you spent around $700 for jlink, there are several cheaper options available (like ftdi based, flyswatter, olimex etc). One of the best jtag debuggers out there is lauterbach. A brand new version costs several thousand dollars, but on ebay you can find several second hand models for as less as $300-$400 (if you are lucky, for your required arm architechture). You can download the demo trace32 software from their website (its 30 mins time limited software, but with full functionality). Also if you want full functionality of the software, it costs around $400 dollars, but worth the money. I had access to lauterbach and i tested my raspberry pi b+ & 2 with it, both work very well. And their website provides config files for bcm2835, 2836, 2837.
Thanks
Tarkshya