On Fri, May 11, 2012 at 7:22 PM, Xiaofan Chen <[email protected]> wrote:
> Then I tried GCC 4.6 from Homebrew-alternative, it seems to
> work.
>
> mymacmini:build_gcc46 xiaofanc$ cat myconfig_git.sh
> CC="gcc-4.6" LDFLAGS="-L/usr/local/lib -lusb-1.0" ../configure
> --enable-maintainer-mode --prefix=/Users/xiaofanc/bin --enable-jlink
> --enable-ftdi --enable-ft2232_libftdi --enable-stlink --disable-werror
>
> mymacmini:lm3s1968 xiaofanc$ ~/bin/bin/openocd -f ek-lm3s1968_mpsse.cfg
> Open On-Chip Debugger 0.6.0-dev-snapshot (2012-05-11-18:48)
> Licensed under GNU GPL v2
> For bug reports, read
> http://openocd.sourceforge.net/doc/doxygen/bugs.html
> Info : only one transport option; autoselect 'jtag'
> 500 kHz
> none separate
> Info : clock speed 500 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 4444
> 500 kHz
> cortex_m3 reset_config sysresetreq
> 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: 0x00001330 msp: 0x20000100
> flash 'stellaris' found at 0x00000000
> 6000 kHz
> flash 'stellaris' found at 0x00000000
> dumped 262144 bytes in 2.246633s (113.948 KiB/s)
> verified 262144 bytes in 2.304391s (111.092 KiB/s)
> auto erase enabled
> wrote 262144 bytes from file demo_gcc46.bin in 3.387182s (75.579 KiB/s)
> verified 262144 bytes in 2.303376s (111.141 KiB/s)
> 500 kHz
> cortex_m3 reset_config sysresetreq
> Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg:
> 0x23b, part: 0xba00, ver: 0x3)
> Info : dropped 'telnet' connection
>
Just build the mpsse version under MinGW/Msys under Windows
XP SP3 and it works as well, I am using libusbx-1.0.11 binary.
The performance is close to Mac OS X (slightly lower) but my
Windows PC is also much slower -- a 6 year old Dell Optiplex
GX620 with Pentium 4 CPU and 2GB RAM compared to the
relatively new Mac Mini 2011 ruining Core i5 and 8 GB RAM.
C:\work\openocd\mpsse\mpsse_bin\bin>openocd -f board\ek-lm3s1968_mpsse.cfg
Open On-Chip Debugger 0.6.0-dev-hg (2012-05-12-14:34)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
500 kHz
none separate
Info : clock speed 500 kHz
Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0x
ba00, ver: 0x3)
Info : lm3s1968.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'telnet' connection from 4444
500 kHz
cortex_m3 reset_config sysresetreq
Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0x
ba00, ver: 0x3)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00001330 msp: 0x20000100
6000 kHz
flash 'stellaris' found at 0x00000000
dumped 262144 bytes in 2.531250s (101.136 KiB/s)
verified 262144 bytes in 2.359375s (108.503 KiB/s)
auto erase enabled
wrote 262144 bytes from file demo_mingw.bin in 3.437500s (74.473 KiB/s)
verified 262144 bytes in 2.375000s (107.789 KiB/s)
500 kHz
cortex_m3 reset_config sysresetreq
Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0x
ba00, ver: 0x3)
Info : dropped 'telnet' connection
--
Xiaofan
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel