summaryrefslogtreecommitdiff
path: root/utils/regtools/qeditor/backend.cpp (follow)
Commit message (Collapse)AuthorAge
* regtools/qeditor: fix backend dump bug, be more correct on readAmaury Pouly2014-12-15
| | | | | | Change-Id: I581c033435f553f092b61144c4b68b05ab931dd8 Reviewed-on: http://gerrit.rockbox.org/1019 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: rework register dump to be more general and flexibleAmaury Pouly2014-12-15
| | | | | | Change-Id: I2fb7a2813c93f0804ed1ca6223625706d0dff9a5 Reviewed-on: http://gerrit.rockbox.org/998 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: introduce a new "RAM" backend, and refactor file backendAmaury Pouly2014-12-15
| | | | | | Change-Id: Icfbbc01b83d3592041803387e35f5aa6fb0fa813 Reviewed-on: http://gerrit.rockbox.org/997 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: backends can now report validity statusAmaury Pouly2014-12-15
| | | | | | Change-Id: Iefedc9cee10a8c7457d972e5a60d151a6cb38aa8 Reviewed-on: http://gerrit.rockbox.org/995 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: add copyrightAmaury Pouly2014-12-15
| | | | | | Change-Id: I7834bc09b21f2a2d84b1c9edbbe1188372809c63 Reviewed-on: http://gerrit.rockbox.org/983 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* hwstub/qeditor: add support for atomic read/writesMarcin Bukat2014-11-18
| | | | | | | | | | The current code assumed that READ/WRITE would produce atomic read/writes for 8/16/32-bit words, which in turned put assumption on the memcpy function. Since some memcpy implementation do not always guarantee such strong assumption, introduce two new operation READ/WRITE_ATOMIC which provide the necessary tools to do correct read and write to register in a single memory access. Change-Id: I37451bd5057bb0dcaf5a800d8aef8791c792a090
* qeditor: initialise libusb once in a static ctorAmaury Pouly2014-09-19
| | | | | | Change-Id: Ic93def2b3633c498c9863b0dada3281853be8c6c Reviewed-on: http://gerrit.rockbox.org/973 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: use hwstub library function to identify devicesAmaury Pouly2014-09-07
| | | | | | The new protocol is interface based, so matching PID:VID is not sufficient Change-Id: I27983a9c3b7db01b8e63b41e885f86d09c362f60
* qeditor: many enhancementAmaury Pouly2014-05-11
| | | | | | | | | | Qeditor has been improved in many ways: - it can now dump all registers, just like the lua DUMPER.dump_all() command - several crash were fixed - when connected to a hwstub command, one can correctly edit individual fields - the code was simplified in several places Change-Id: I092b99ce3a12ff6417552de61d62c65f706bcff0
* regtools: make qeditor aware of PPAmaury Pouly2014-05-11
| | | | Change-Id: I3b4fa625499aa66bb5617971445fa3c1c209134e
* regtools: completely rework qeditor, improve soc desc library and toolsAmaury Pouly2014-05-01
| | | | | | | | | | The graphical editor can now display and editor description files. The library has been improved to provide more useful function. The XML format has been slightly changed: only one soc is allowed per file (this is was already de facto the case since <soc> was the root tag). Also introduce a DTD to validate the files. Change-Id: If70ba35b6dc0242bdb87411cf4baee9597798aac
* regtools/qeditor: fix crash when hwstub device fails to openAmaury Pouly2014-02-13
| | | | Change-Id: Ica2fd201f2ae8ee63b1ae81f27433c841d2f22cd
* Fix redAmaury Pouly2014-02-12
| | | | Change-Id: Ib64eb3539e33d4336c298612b4508c4611b80c9e
* regtools/qeditor: enhance backend write with write mode (SCT)Amaury Pouly2014-02-10
| | | | Change-Id: I723bce7a60fb08c1d1d5f894a225c36bc1ba4394
* regtools/qeditor: prepare support for register writingAmaury Pouly2014-02-10
| | | | Change-Id: Ifef36a3ddb1604db63ec974da2d6a77a5540ff42
* regtools/qeditor: rewrite soc handlingAmaury Pouly2014-02-10
| | | | | | | | | The code was a mess with respect to soc handling: some code just plain copied the SoC descriptor which are big objects, some was using indexes. The new soc factor out everything in a few classes which hide these ugly details so that descriptors are never copied. Change-Id: I17af8b47f997a528b58221621389d42d24fded93
* hwstub/regtools/qeditor: put soc descriptors in a list instead of a vectorAmaury Pouly2014-02-10
| | | | | | | A SoC descriptor is not a small object: it can be as large as ~100KiB so it's better to avoid copying things over. Change-Id: I1ef862e1260299cdaa0c4d2822ac45968713498a
* utils/regtools: make qeditor able to poke directly at a hwstub deviceAmaury Pouly2014-02-10
| | | | | | | | | | | | | | | This commit add the very handy feature of being able to read registers directly from a device using hwstub. This is mostly trivial using the hwstub library and the biggest change here is actually: - being able to read registers by name and/or addresses - being able to enumerate devives The UI code currently doesn't handle hotplug but the backend does so it should be trivial to add in the future. It also opens up the possibility the write registers from hwstub or save the register values to a file. Since it relies on both hwstub and libusb, a switch has been introduced in qmake to disable it (use -config nohwstub). Change-Id: I5d7d7a2a7c97ecd7407227357c8553c2773ea6cc
* regtools: add graphical register explorer + analyserAmaury Pouly2013-08-21
This tool allows one to explore any register map. Register dumps (like produced by hwstub tools) can be loaded and decoded by the tool. Finally some analysers are provided for specific soc analysis like clock tree and emi on imx233 for example. Change-Id: Iaf81bd52d15f3e44ab4fe9bc039153fcf60cf92a