For question: >hi ALL:
>I am using a WIGGLER board to program flash by using boundary scan. >It's too slow as here are 734 CellNum on the chip MPC8247, and the TCK is only >about 100KHz to 200KHz. >I found JLink can works at 12MHz TCK. >So my question is: >Can we take full control of JLink by using OpenOCD and generate the simulate >timing for Flash program?(using boundary scan) >Thanks & Best Regards >Jerry Yes, we can do it. Firstly by calling API [jlink_tap_append_step(int tms, int tdi)] to fill the scan data. Then calling [static int jlink_tap_execute(void)] let JLink to generate the timing. 2010-02-05 jerry_xjtu 发件人: jerry_xjtu 发送时间: 2010-02-05 00:40:29 收件人: openocd-development 抄送: 主题: Fw: For JLink Support hi ALL: I am reading src\jtag\drivers\jlink.c From JLink USB protocol manual there is 3 x 2048 Bytes buffer to store tdi/tms/tdo data. Any one knows why it have changed to 256Bytes from the code? //#define JLINK_TAP_BUFFER_SIZE 2048 #define JLINK_TAP_BUFFER_SIZE 256 //#define JLINK_TAP_BUFFER_SIZE 384 for the question: > Does it means SAMPLE op will failed when CellNum is larger than 390? No. the number 390 is from byte. To gen the full scan of 734 CellNums , we maybe just need 734/8 = 92 bytes to store the data. 2010-02-05 jerry_xjtu 发件人: jerry_xjtu 发送时间: 2010-02-03 23:59:34 收件人: openocd-development 抄送: 主题: Fw: For JLink Support hi ALL: From code : +/* We use the maximal value observed */ +#define JLINK_TAP_BUFFER_SIZE 390 + +static int tap_length; +static u8 tms_buffer[JLINK_TAP_BUFFER_SIZE]; +static u8 tdi_buffer[JLINK_TAP_BUFFER_SIZE]; +static u8 tdo_buffer[JLINK_TAP_BUFFER_SIZE]; + Does it means SAMPLE op will failed when CellNum is larger than 390? Best Regards 2010-02-03 jerry_xjtu 发件人: jerry_xjtu 发送时间: 2010-02-03 11:20:16 收件人: openocd-development 抄送: 主题: For JLink Support hi ALL: I am using a WIGGLER board to program flash by using boundary scan. It's too slow as here are 734 CellNum on the chip MPC8247, and the TCK is only about 100KHz to 200KHz. I found JLink can works at 12MHz TCK. So my question is: Can we take full control of JLink by using OpenOCD and generate the simulate timing for Flash program?(using boundary scan) Thanks & Best Regards Jerry
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development