[#5427] ircp failed on bf533-stamp

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5427] ircp failed on bf533-stamp

Submitted By: Vivi Li

Open Date

2009-08-10 01:03:30     Close Date

2009-08-13 02:14:06

Priority:

Medium High     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

STAMP

Processor:

BF533     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1_rc9

App binary format:

N/A     

Summary: ircp failed on bf533-stamp

Details:

 

ircp failed when testing bfin_sir in bf533-stamp with high transfer rate.

It can work when max_rate is 57600.

 

It also can not work with irtty driver.

 

--

root:/> modprobe bfin_sir

root:/> lsmod

Module                  Size  Used by

bfin_sir                6812  0

root:/> irattach irda0 -s

root:/> cat /proc/net/irda/discovery

IrLMP: Discovery log:

 

nickname: localhost, hint: 0x0400, saddr: 0x12816cc8, daddr: 0x03ab5529

 

 

root:/> ircp -r

Waiting for incoming connection

root:/> ircp /bin/busybox

Connecting...failed

--

 

--

root:/> modprobe bfin_sir max_rate=57600

root:/> lsmod

Module                  Size  Used by

bfin_sir                6812  0

root:/> ircp -r

Waiting for incoming connection

Incoming connection

Receiving irda-utils-0.9.18-8mdv2009.1.i586.rpm...done

Disconnecting

root:/>

--

 

Follow-ups

 

--- Graf Yang                                                2009-08-11 01:31:02

I added this anomaly workaround when sending out irda driver.

 

An email on Tue, 10 Mar 2009 19:25:49 said:

> +               quot = (port->clk + (8 * speed)) / (16 * speed);

       

        isnt the SIR affected by the same anomalies as the UART ?  in other

        words, you just made that adjustment to the UART recently ...

        

SIR hasn\'t encounter such anomalies. Anyway, I will add it.

 

 

This change only affects BF533 (BF561 also have this anomally, but we can not

test irda on BF561-EZKIT board).

 

Now I have remove it.

 

--- Vivi Li                                                  2009-08-12 03:41:27

bfin_sir is OK now.

But irtty_sir still fails.

 

--- Graf Yang                                                2009-08-12 06:23:09

irtty_sir works fine even with RRs if the PC runs linux.

 

--- Vivi Li                                                  2009-08-13 07:14:24

I test it on linux and it works.

So close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.irda    application/octet-stream    31258    Vivi Li

config.irtty    application/octet-stream    31414    Vivi Li

Attachments

Outcomes