jtagarm: a few cleanup things... git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1467 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
jtagarm: jtag_trans_many tested and working. this will allow us to abstract out all versions of ARM debug interface including ARM7TDMI (existing in gf already), ARM9TDMI, ARM11, ADIv4 and ADIv5 (and likely everything else) git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1466 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
jtagarm: added jtag_trans_many and supporting firmware and client functions/protocol, allowing greater control over arbitrary size scan chains (currently DR is the focus). LSB portion is working and relatively well-tested using IDCODE and shifting 41 bits. still have to true up the MSB part. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1464 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
jtagarm7 abstractions to allow jtagarm9 to leverage much of this code. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1451 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
jtagarm7 interface improvements, including at91x40 git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1408 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
reset debugging and documentation update (to indicate that we've moved the nRST pin to the standard pin 11, like in JTAGMSP430) git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1333 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
JTAGARM7 is back up and running, folks! Tested Halt/Release, Get/Set Registers, Read/Write Memory. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1327 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
merging... cleaned up basic jtag, added ability to detect JTAG chain length, get chip ID's and detect overall IR length. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@899 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
A major refactor of the GoodFET firmware build system and apps to give better encapsulation and separation of code. Each app now has a struct containing meta data and handle fn hooks. The apps.h/.c are now autogenerated as well as a builddate.h containing the build date. The goodfet.monitor client has a new command: goodfet.monitor listapps [full] This walks the global apps list and lists out the apps compiled into the firmware as well as the date it was built. If the "full" option is given, it also prints out the description strings for each app. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@837 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
setting up for adiv5, the latest arm debug protocols git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@749 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
AT91x40 series of ARM7 microcontrollers supported. still no flash capability yet. working on it. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@720 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
chipcon 1111 flash fixes, arm7 jtag fixes and improvements git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@719 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
tweak here, tie there git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@714 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
ARM mode set r15 fixed. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@711 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
improvements... except now arm mode set_register for r15 doesn't work right... prolly to do with fixing dclk timing issues. never was set up the way the docs said to. that must have been why it worked. however, thumb to arm and arm to thumb work well... get/set regs in thumb mode work relatively well. need to iron out get/sets and then fix offsets for halt/resume so we hit the right instruction on exit. then work on the watch/breakpoints and continuing... also need to work on the get/set multiple regs and then read/writemem of large chunks... using multiple regs :) git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@710 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
reworking get/set_register() to write twice for sanity. reading/writing registers now works in thumb mode... still having difficulties switching to arm mode though. problems showed up i think when fixing the read-memory timing through runtest/idle. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@705 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
latest updates including GoodFETARM.py "DEPRECATED" message git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@704 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
x00t! arm jtag on goodfet is a reality! or at least most of the hurdles have been conquered. ARMreadMem works now. it turns out i was haphazardly running through RUNTEST/IDLE willy nilly, which was messing up the RESTART/BRKPT magic. still todo: * complete and test writeMem * add flash-writing (may need to implement in specific subclasses) * create goodfet.arm for command-line access * prettify and complete GoodFETARM7, rename jtagarm7tdmi.h * create specific subclasses for actual arm7 chips (at91r40008, at91sam7, etc...) git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@693 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
oops. here's the new code. old code will remain in jtagarm7tdmi.c for the time being for reference. will remove it later when any comments or other tidbits deemed of value are copied over. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@692 12e2690d-a6be-4b82-a7b7-67c4a43b65c8