Problem with P&E ParallelPortCable - Sourcery g++ Lite 4.2-8

Christof Frey Christof.Frey at varian.com
Wed Sep 26 11:33:36 UTC 2007


I am working with the P&E parallel cable and have installed the supplied
drivers from CodeSourcery.
Unable to debug.
Getting the following:
 
C:\Projects\helloworld_mcf523x\src>m68k-elf-sprite -i
CodeSourcery ColdFire Debug Sprite (Sourcery G++ Lite 4.2-8)
pe: [speed=<n:0-31>&memory-timeout=<n:0-99>] P&E Adaptor
  pe://CycloneProMaxSerial:1 - COM1 : Serial Port 1
  pe://ParallelPortCable:1 - LPT1 : Parallel Port 1 (Address $0378)
ccs: [timeout=<n>&speed=<n>] CCS Adaptor
  ccs://$Host:$Port/$Chain_position - CCS address
 
When I try to debug:
 
C:\Projects\helloworld_mcf523x\src>m68k-elf-gdb hello.elf
GNU gdb (Sourcery G++ Lite 4.2-8) 6.6.50.20070320-cvs
Copyright (C) 2007 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "--host=i686-mingw32 --target=m68k-elf".
For bug reporting instructions, please see:
<URL:https://support.codesourcery.com/GNUToolchain/
<https://support.codesourcery.com/GNUToolchain/> >.
..
(gdb)
 
(gdb) target remote | m68k-elf-sprite pe: m5235evb
Remote debugging using | m68k-elf-sprite pe: m5235evb
m68k-elf-sprite:Opening P&E CycloneProMaxSerial port 1 (COM1 : Serial
Port 1)
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
 
Why is the sprite trying to open the P&E CycloneProMaxSerial port 1 ?
(instead of the known ParallelPort on address $0378)
Additionally I get a dialog box indicating that there is a driver update
for the CycloneProMaxSerial  going on (and finally fails)!!
 
so, trying to configure the correct adapter with the whole descriptor
instead of just pe:
 
(gdb) target remote | m68k-elf-sprite pe://ParallelPortCable m5235evb
Remote debugging using | m68k-elf-sprite pe://ParallelPortCable m5235evb
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
 
here things are getting even more wired. I get a dialog box saying "The
instruction at "0x004037c5" referenced memory at "0x00000000". The
memory could not be "read"."
Looks like a null pointer access in the driver.
 
Any ideas / suggestions welcome
 
Christof
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070926/c173ae2b/attachment.html>


More information about the coldfire-gnu-discuss mailing list