|
From: Xiaofan C. <xia...@gm...> - 2011-07-15 11:57:16
|
On Fri, Jul 15, 2011 at 4:32 PM, Freddie Chopin <fre...@op...> wrote:
> On 2011-07-15 10:29, Xiaofan Chen wrote:
>>
>> Interestingly increasing the jtag_khz value does not help too much.
>> This is with a different PC and with Freddie Chopin's binary but the
>> result is similar.
>
> Most probably you reached the limit with flash programming. To test just the
> throughput you could try uploads to RAM.
You are probably right.
I have not built the latest binary with ftd2xx. So I used your 0.4.0 binary
and the d2xx 0.4.0 binary I built last time.
The speed is basically the same for libftdi and d2xx in this case
(10.760KB/sec versus 10.900 KB/sec at jtag_khz=1200 KHz)
D:\work\openocd\binary_chopin\OpenOCD\0.4.0\bin>openocd.exe -f
board/ek-lm3s1968.cfg
Open On-Chip Debugger 0.4.0 (2010-02-22-19:05)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
3000 kHz
jtag_nsrst_delay: 100
srst_only separate srst_gates_jtag srst_open_drain
Info : clock speed 3000 kHz
Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
Info : lm3s1968.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'telnet' connection from 0
Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0001df88 msp: 0x20000200
1200 kHz
flash 'stellaris' found at 0x00000000
auto erase enabled
Warn : not enough working area available(requested 8192, free 8152)
wrote 123904 bytes from file demo.bin in 11.245000s (10.760 kb/s)
Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
D:\work\openocd\binary_chopin\OpenOCD\0.4.0\bin>openocd_d2xx -f
board/ek-lm3s1968.cfg
Open On-Chip Debugger 0.4.0 (2010-09-13-20:47)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
3000 kHz
jtag_nsrst_delay: 100
srst_only separate srst_gates_jtag srst_open_drain
Info : device: 4 "2232C"
Info : deviceID: 67353817
Info : SerialNumber: 070200A1A
Info : Description: Stellaris Evaluation Board A
Info : clock speed 3000 kHz
Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
Info : lm3s1968.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'telnet' connection from 0
Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0001df0c msp: 0x20000300
1200 kHz
flash 'stellaris' found at 0x00000000
auto erase enabled
Warn : not enough working area available(requested 8192, free 8152)
wrote 123904 bytes from file demo.bin in 11.101000s (10.900 kb/s)
6000 kHz
flash 'stellaris' found at 0x00000000
auto erase enabled
Warn : not enough working area available(requested 8192, free 8152)
wrote 123904 bytes from file demo.bin in 10.358000s (11.682 kb/s)
--
Xiaofan
|