[uClinux-dev] bdm driver installation failing

Justin Clacherty justin at tmq.com.au
Sun Mar 30 17:33:10 EST 2003


Sascha,

Finally got a hold of a PCI parallel port card, I no longer have the
pretty blinking lights.  What do I have to do to the BDM driver to get
things to work with the PCI card?  '/var/log/messages' on my machine has
the following lines related to the PCI card.

Mar 31 08:11:43 rhianna kernel: parport1: PC-style at 0x9800 (0x9400)
[PCSPP,TRISTATE]
Mar 31 08:11:43 rhianna kernel: parport2: PC-style at 0x9000 (0x8800)
[PCSPP,TRISTATE]

I tried replacing the addresses for LPT2 and LPT3 in the bdm driver to
the addresses above but it didn't seem to work.  Any ideas what I might
be missing?

Justin.

On Wed, 2003-03-12 at 20:05, Sascha Smejkal wrote:
> Hi,
> 
> I had also trouble using BDM but can't remember the error message.
> The reason was, that the parallel port of the mainboard produced traffic on 
> the parallel port no matter what I configured in the bios. Used a PCI parallel 
> port card and it worked for me.
> 
> Bye Sascha Smejkal
> 
> Justin Clacherty schrieb:
> > Hi,
> > 
> > I'm trying to set up debugging through the bdm in gdb.  I've installed
> > the bdm driver but when I run chk /dev/bdmcf0 the driver seems to be
> > failing to connect to the target.  I turned on debugging and it looks
> > like it is failing when it tries to read a register on the target. 
> > Below is the command I am using and its output, along with the relevant
> > output in /var/log/messages.  I'm using the P&E Micro wiggler that came
> > with our Motorola M5272C3 development board.  Does anyone know what I
> > might be doing wrong?
> > 
> > The commands I'm using with the output...
> > 
> > [justin at rhianna test]$ ./chk -d 4 /dev/bdmcf0
> > Driver Ver : 2.a
> > Processor  : Coldfire
> > Interface  : P&E Coldfire
> > Reading CSR failed: Invalid target command
> > [justin at rhianna test]$
> > 
> > /var/log/messages
> > 
> > Mar 11 15:57:32 rhianna kernel:  cf_pe_read_sysreg - Reg:0xf failed with
> > cmd 0x2d80, err = 217
> > Mar 11 15:57:32 rhianna kernel: debugFlag now 4
> > Mar 11 15:57:32 rhianna kernel: BDMioctl cmd:0x8004421e
> > Mar 11 15:57:32 rhianna kernel: BDMioctl cmd:0x8004421f
> > Mar 11 15:57:32 rhianna kernel: BDMioctl cmd:0x80044220
> > Mar 11 15:57:32 rhianna kernel: BDMioctl cmd:0x4201
> > Mar 11 15:57:32 rhianna kernel:  cf_pe_reset_chip
> > Mar 11 15:57:33 rhianna kernel: BDMioctl cmd:0xc0084215
> > Mar 11 15:57:33 rhianna kernel:  cf_pe_get_direct_status -- Status:0x0,
> > sr:0x7e
> > Mar 11 15:57:33 rhianna kernel:  cf_pe_serial_clock -- send 0x2d80 
> > receive 0x1ffff
> > Mar 11 15:57:33 rhianna kernel:  cf_pe_serial_clock -- failure NVC, send
> > 0x2d80 receive 0x1ffff
> > Mar 11 15:57:33 rhianna kernel:  cf_pe_read_sysreg - Reg:0xf failed with
> > cmd 0x2d80, err = 217
> > Mar 11 15:57:33 rhianna kernel: BDMioctl cmd:0x40044207
> > Mar 11 15:57:33 rhianna kernel: debugFlag now 0
> > 
> > 
> > Regards,
> > Justin.
> > 
> > 
> > _______________________________________________
> > uClinux-dev mailing list
> > uClinux-dev at uclinux.org
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by uclinux-dev at uclinux.org
> 
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org





More information about the uClinux-dev mailing list