Slow download - Olimex ARM-USB-TINY

Comments

6 comments

  • Avatar
    Paul Curtis

    Have you enabled Fast Memory Accesses in the target interface?

    Are you running CrossWorks V2?

    0
    Comment actions Permalink
  • Avatar
    Jon Elliott

    That's about what I'm getting, the FT2232 based devices (such as the Olimex ARM-USB-TINY) aren't very fast at doing debug comms channel communication. Try changing the Target Loader Options > Loader File Path property to $(PackagesDir)/targets/Atmel_AT91SAM7/Release/Loader_rpc.elf and the Target Loader Options > Loader File Type to LIBMEM RPC Loader. If I do this, download to FLASH goes up to ~20KB/s.

    Regards,

    Jon Elliott

    0
    Comment actions Permalink
  • Avatar
    Thomas Strand

    Thanks Jon, that helped a lot! I get ~32 kB/s now, which is acceptable.

    0
    Comment actions Permalink
  • Avatar
    Jim Hall

    In case this is useful to anyone in the future:

    For Philips/NXP LPC2148 + Olimex ARM+TINY+USB, using Cross Studio 1.7    I'm able to download code at about 55kBytes per second with the following settings under Targets:Olimex  ARM-USB-TIny:Properties:JTAG:

    Fast Memory access:  Yes

    JTAG Clock Divider:  2    (won't work at 1)

    nTRST Open Drain:  No

     

     

     

     

     

    0
    Comment actions Permalink
  • Avatar
    Jim Hall

    Addendum:   If you have problems, increase JTAG Clock divider.

    I'm finding now that sometimes my rig doesn't work at divider = 2, but works

    consistently at divider =4 .  There's only a slight reduction in download speed, getting on the order of 50KB/second. Apparently the jtag clock speed is not the gating factor on download speed.

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    CrossConnects can program from 50 to 118K bytes per second on LPC2000.  TCK frequency is part of the equation, as is the speed of flash programming via IAP.

    0
    Comment actions Permalink

Please sign in to leave a comment.