2010-09-21 08:37:27     bf548 ezkit hangs when using sport_test on sport2/3

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

2010-09-21 08:37:27     bf548 ezkit hangs when using sport_test on sport2/3

Marec Andreessen (GERMANY)

Message: 93699   

 

I want to use the sport device in the userspace of the bf548 ezkit.

 

So i get the last Linux -dist  "2010R1-Beta1" (i also tried some dist´s befor with the same effect).

 

I do  "modprobe  bfin_sport " and get  "/dev/sport0 ... 3" than i use the testprg "sport_test  -s /dev/sport2 sample.wav" and the board hangs up and reboots after a few seconds.

 

I tried to debug this but all  write commands to the device will stop the system directly.

 

if i cat same smal files to the device "cat xxx > /dev/sport2" nothing happends and if

 

the files large the taks will not return.

 

The fist thing a wander adout is, that there is no "/dev/gpioX".

 

Hope some boddy knows what i have done wrong.

 

best regards

 

  Marec

TranslateQuoteReplyEditDelete

 

 

2010-09-22 02:13:15     Re: bf548 ezkit hangs when using sport_test on sport2/3

Marec Andreessen (GERMANY)

Message: 93719   

 

Hi,

 

i think i found the problem.

 

If there is no clock applied (external)  or the clockrate is not set well (internal)  then driver hangs.

 

 

 

best regards

 

Marec

Attachments

    Outcomes