Karl: > G G: > > On Wed, Jul 31, 2019 at 10:44:45PM +0200, k...@aspodata.se wrote: > ... > > > The urjtag file has three columns: > > > $ grep Hitachi data/MANUFACTURERS > > > 00000000111 hitachi Hitachi > > > and mine only has two: > > > $ ./jep106 | grep Hitachi > > > 00000000111 Hitachi ... > e.g. data/analog/PARTS. > One way to handle this is to use the id instead of id_name for the > parts directories: e.g. instead of data/analog/PARTS, one coulde use > data/00001100101/PARTS. But that makes it harder to browse the file > system.
So making a data/MANUFACTURERS file like: $ head MANUFACTURERS 00000000001 00000000001 AMD 00000000010 00000000010 AMI 00000000011 00000000011 Fairchild 00000000100 00000000100 Fujitsu 00000000101 00000000101 GTE 00000000110 00000000110 Harris 00000000111 00000000111 Hitachi 00000001000 00000001000 Inmos 00000001001 00000001001 Intel 00000001010 00000001010 I.T.T. and making theese links (in data directory): 00000000110 -> lexra 00000000111 -> hitachi 00000001001 -> intel/ 00000001110 -> freescale/ 00000010101 -> philips 00000010111 -> ti 00000011000 -> toshiba 00000011111 -> atmel 00000100001 -> lattice 00000100100 -> ibm 00000110101 -> dec 00001001001 -> xilinx 00001100101 -> analog 00001101110 -> altera 00010101011 -> lattice 00010111111 -> broadcom 00011100101 -> analog 00101010000 -> broadcom 00101110000 -> brecis/ 00111101001 -> marvell I get: jtag> detect IR length: 9 Chain length: 2 Device Id: 00111011101000000000010001110111 (0x3BA00477) Manufacturer: ARM Ltd. (0x477) error: Unable to open file '/usr/local/share/urjtag/01000111011/PARTS' Unknown part! (1011101000000000) (/usr/local/share/urjtag/01000111011/PARTS) Device Id: 00000110010000100000000001000001 (0x06420041) Manufacturer: STMicroelectronics (0x041) error: Unable to open file '/usr/local/share/urjtag/00000100000/PARTS' Unknown part! (0110010000100000) (/usr/local/share/urjtag/00000100000/PARTS) Creating directories and empty PARTS files, I get rid of the errors: jtag> detect IR length: 9 Chain length: 2 Device Id: 00111011101000000000010001110111 (0x3BA00477) Manufacturer: ARM Ltd. (0x477) Unknown part! (1011101000000000) (/usr/local/share/urjtag/01000111011/PARTS) Device Id: 00000110010000100000000001000001 (0x06420041) Manufacturer: STMicroelectronics (0x041) Unknown part! (0110010000100000) (/usr/local/share/urjtag/00000100000/PARTS) So that works. /// There are some mismatches between the new set (below) and the one in data/MANUFACTURERS (above): 00000000110 lexra Lexr 00000000110 Harris Lexra went out of business 2003 and Harris is now running under a new name. 00010101011 lattice Lattice Semiconductors 00010101011 Vantis Lattice bought Vantis from AMD in 1999. 00011100101 analog Analog Devices, Inc. 00011100101 Gadzoox Networks Gadzoox went bancrupt in 2002, and Broadcom bought its assets. 00101010000 broadcom Broadcom # or "Sibyte, Incorporated" ? 00101010000 Sibyte, Incorporated Broadcom bought Sibyte in 2000. 00110101011 marvell Marvell 00110101011 Purple Ray Purple Ray was aquired by Integrated Silicon Solution 2004. /// Perhaps it is best to just drop the data directory and start collecting bsdl files instead. With bsdl files, I get: jtag> detect IR length: 9 Chain length: 2 Device Id: 00111011101000000000010001110111 (0x3BA00477) Filename: ./CortexM3.bsd Device Id: 00000110010000100000000001000001 (0x06420041) Filename: ./STM32F1_Low_Med_density_value_LQFP48.bsd Could be nice to have the manufacturers line there also. Regards, /Karl Hammar _______________________________________________ UrJTAG-development mailing list UrJTAG-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/urjtag-development