As seen below, my driver seems to work.
But what is the best way to update the manufacturers list ?

Jedec uses bank, and id within bank. How do I convert that to the 
format used in data/MANUFACTURERS ?

///

You can download the list from:
 http://www.jedec.org/standards-documents/results/jep106
in pdf format. Openocd uses
 
https://sourceforge.net/p/openocd/code/ci/master/tree/src/helper/update_jep106.pl
to extract the ids into c code and their latest list is available at:
 https://sourceforge.net/p/openocd/code/ci/master/tree/src/helper/jep106.inc

///
$ openocd 
...
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b (ARM 
Ltd.), part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x06420041 (mfg: 0x020 
(STMicroelectronics), part: 0x6420, ver: 0x0)
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
^C
$ jtag  -q
jtag> cable ASPO ppdev /dev/parport0
Initializing ppdev port /dev/parport0
jtag> frequency 100000
...
jtag> detect
IR length: 9
Chain length: 2
Device Id: 00111011101000000000010001110111 (0x3BA00477)
  Unknown manufacturer! (01000111011) (/usr/local/share/urjtag/MANUFACTURERS)
Device Id: 00000110010000100000000001000001 (0x06420041)
  Unknown manufacturer! (00000100000) (/usr/local/share/urjtag/MANUFACTURERS)
jtag> quit
free(): invalid size
Aborted

Regards,
/Karl Hammar




_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to