Compare commits

...

2 Commits

  1. 1
      src/target/adiv5.h
  2. 3
      src/target/jtag_scan.c

1
src/target/adiv5.h

@ -107,6 +107,7 @@
#define AP_DESIGNER_CYPRESS 0x034 #define AP_DESIGNER_CYPRESS 0x034
#define AP_DESIGNER_INFINEON 0x041 #define AP_DESIGNER_INFINEON 0x041
#define AP_DESIGNER_NORDIC 0x244 #define AP_DESIGNER_NORDIC 0x244
#define AP_DESIGNER_XILINX 0x309
#define AP_DESIGNER_ARM 0x43b #define AP_DESIGNER_ARM 0x43b
/*LPC845 with designer 501. Strange!? */ /*LPC845 with designer 501. Strange!? */
#define AP_DESIGNER_SPECULAR 0x501 #define AP_DESIGNER_SPECULAR 0x501

3
src/target/jtag_scan.c

@ -214,6 +214,9 @@ int jtag_scan(const uint8_t *irlens)
jtag_devs[i].current_ir = -1; jtag_devs[i].current_ir = -1;
/* Save description in table */ /* Save description in table */
jtag_devs[i].jd_descr = dev_descr[j].descr; jtag_devs[i].jd_descr = dev_descr[j].descr;
/* Special handling for Xilinx devices to make sure irlen is right */
if (dev_descr[j].idcode == 0x00000093)
jtag_devs[i].ir_len = 6;
/* Call handler to initialise/probe device further */ /* Call handler to initialise/probe device further */
if(dev_descr[j].handler) if(dev_descr[j].handler)
dev_descr[j].handler(i); dev_descr[j].handler(i);

Loading…
Cancel
Save