Hi everyone, In a fit of (misguided) industriousness I've started implementing Xtensa architecture support for openocd, aiming to support the lx106 core in the Espressif esp8266 (the very cheap Wifi SoC that's getting popular in hobbyist circles.)
Progress is OK so far - can step/halt/resume, read & write memory and registers. gdb mostly works, although something gets out of sync after a short while and requires a reset. Have put my progress to date up on github in case anyone can help out debug/test/finish: https://github.com/projectgus/openocd Implementation is still pretty rough - lots of duplicate code, clunky bits, TODOs, etc. Eventual goal is to have something good enough to submit to openocd itself. I think that's achievable, although universal Xtensa support may be a very big stretch further than just supporting enough of Xtensa for lx106/esp8266. (The Xtensa arch, for anyone unfamiliar, is a "build your own processor" situation where licensees can enable/disable processor features, registers, even instructions. On the toolchain side each processor has a custom "overlay" directory with contents generated for its particular unique configuration combo.) I have some ideas about making a flexible Xtensa driver, but it's bound to be complex and I also don't have any hardware to test on apart from esp8266. Anyhow, I just wanted to let everyone know I'm doing this in case anyone is interesting in collaborating, or has other Xtensa hardware they'd like to try and support. Angus ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel