Paul,

maybe I was wrong about the severity of this. I've attached openocd logs. It 
hangs and I thought, that failure of simple auto-probe things could result from 
the truncation (error-without-target.txt)

Moreover, if I specify a target, the error messages sounds ambiguous to me:

~~~~
User : 72 6 command.c:666 command_run_line(): Runtime Error: 
embedded:startup.tcl:160: session transport is "jtag" but your config requires 
JTAG
~~~~


Attachment: error-without-target.txt (19.3 kB; text/plain)  error.txt (5.8 kB; 
text/plain) 


---

** [tickets:#92] irlen 38 bits support**

**Status:** new
**Milestone:** 0.9.0
**Created:** Mon Apr 06, 2015 03:53 PM UTC by Andrey Gursky
**Last Updated:** Mon Apr 06, 2015 04:16 PM UTC
**Owner:** nobody

Dear openocd developers,

to add support of TMS320VC5502, mentioned in tcl/target/omap5912.cfg, following 
code in src/jtag/core.c should be fixed:

~~~~
#define JTAG_IRLEN_MAX          60

...

void jtag_tap_init(struct jtag_tap *tap)
{
        unsigned ir_len_bits;
        unsigned ir_len_bytes;

        /* if we're autoprobing, cope with potentially huge ir_length */
        ir_len_bits = tap->ir_length ? : JTAG_IRLEN_MAX;
        ir_len_bytes = DIV_ROUND_UP(ir_len_bits, 8);

        tap->expected = calloc(1, ir_len_bytes);
        tap->expected_mask = calloc(1, ir_len_bytes);
        tap->cur_instr = malloc(ir_len_bytes);

        /** @todo cope better with ir_length bigger than 32 bits */
        if (ir_len_bits > 32)
                ir_len_bits = 32;
...
~~~~

Is it a major design issue of openocd or it could be fixed in an easier way?

Thanks,
Andrey


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to