Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
« previous next »
  • Print
Pages: 1 ... 74 75 [76] 77 78 ... 129

Author Topic: SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2  (Read 1337510 times)

Offline freqmod

  • Member
  • *
  • Posts: 4
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1125 on: August 14, 2009, 10:20:22 AM »
If buffering is the problem then FS#9332, should fix it. (you'll have to change a strncpy to strlcpy  to make it compile).

I have tried it for a few minutes with an usage that results in the buffering problems w/o the patch and currently it works quite well. I got a codec error when i changed a track, but the next track started as usual.
Logged

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1126 on: August 17, 2009, 01:10:34 PM »
STOP POSTING BUG REPORTS IN THIS THREAD. THIS IS FOR DEVELOPEMENT.

Post them here instead: http://forums.rockbox.org/index.php?topic=22137
Logged
 

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1127 on: August 17, 2009, 06:13:39 PM »
Quote from: breno on August 10, 2009, 08:21:00 AM
Quote from: funman on August 10, 2009, 02:52:38 AM
What does the radio debug screen say ? (system -> debug -> radio), FM radio worked fine on my c200v2 when i tried it

Well actually the radio is now working, dont know why it wasnt working yesterday but somehow is working now.
Playing music still crashes. So why on the SansaAMS page it shows that Playback is working?

This reminds me of the early days of the c200 v1 port - the radio wasn't detected sometimes (reboot helped) or the tuner got confused sometimes (starting radio in the OF helped). There were a few related fixes but the former still happens to me, very very seldom though. All I'm saying is that it could either be a general problem - and/or something that already happened in a similar way during the c200 v1 development.

Sansa AMS developers: Feel free to remove this post if you don't think it adds something useful, or move.
Logged

Offline krloz

  • Member
  • *
  • Posts: 1
Testing Rockbox
« Reply #1128 on: August 22, 2009, 08:20:26 PM »
Hello! I am new to this forum. I don't have the required level of developing knowledge for RockBox but I do have a Sansa E250v2 and really want to collaborate testing the new port! please tell me how can I test RockBox on mi device
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Testing Rockbox
« Reply #1129 on: August 22, 2009, 08:25:59 PM »
Quote from: krloz on August 22, 2009, 08:20:26 PM
I do have a Sansa E250v2 and really want to collaborate testing the new port! please tell me how can I test RockBox on mi device

See this topic: http://forums.rockbox.org/index.php?topic=22137.0
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline Orivej Desh

  • Member
  • *
  • Posts: 1
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1130 on: August 30, 2009, 04:00:06 AM »
Hello there!

I've got Sansa Clip (v1) 2gb with FM radio and having a problem of black screen. When I turn the player on, I hear a quiet click in headphones but display remains black. Unlike matsch's (http://forums.rockbox.org/index.php?topic=14064.msg150808#msg150808), my display is completely black and when I plug in USB, nothing shows up on screen. This proves that something is running, because when I turn the player off, pluggin in USB shows standard connected/charging screen.

I tried to increase dcdc voltage as described here (http://forums.rockbox.org/index.php?topic=14064.msg151005#msg151005) with no success. (I have recompiled both rockbox and bootloader).

Dual boot doesn't work either. Neither repeated tapping on the |<< (or any other) button, nor holding it long has any effect. OF boots only after plugging and unplugging USB.

Tested with svn r22531 and gcc 4.3.3.
« Last Edit: August 30, 2009, 04:16:49 AM by Orivej Desh »
Logged

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1131 on: August 31, 2009, 01:57:34 PM »
Can some e200v2 owner test the two lastest patches I posted to http://www.rockbox.org/tracker/task/10272 please?
Logged
 

Offline X-Dan

  • Member
  • *
  • Posts: 1
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1132 on: September 11, 2009, 03:12:29 AM »
Hi everybody!

And Thank you all for the great work you have all done :-)

I have just a question. I want to know if someone has or will implement the line out dock functionnality?
Logged

Offline iudex

  • Member
  • *
  • Posts: 7
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1133 on: September 12, 2009, 05:50:03 AM »
One question:
Does anyone working on buffering problem on Clip?
I can test all your work.
Logged

matsch

  • Guest
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1134 on: September 13, 2009, 02:24:16 PM »
Quote from: iudex on September 12, 2009, 05:50:03 AM
One question:
Does anyone working on buffering problem on Clip?
Please try patch #10605. Should give some playback improvement.
Side effect on changing form mp3 to ogg playing possible.
Logged

Offline cpnfantstk

  • Member
  • *
  • Posts: 32
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1135 on: September 13, 2009, 10:39:58 PM »
Would patch #10605 apply to the M240v4 as well ?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1136 on: September 13, 2009, 10:49:06 PM »
Yes, however I investigated 10605 tonight and I don't think it will make very much difference.  The first case it addresses shouldn't happen if you only listen to MP3, and the second seems to occur so rarely I was not able to encounter it. 
Logged

matsch

  • Guest
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1137 on: September 14, 2009, 08:55:47 AM »
Quote from: saratoga on September 13, 2009, 10:49:06 PM
Yes, however I investigated 10605 tonight and I don't think it will make very much difference.  The first case it addresses shouldn't happen if you only listen to MP3, and the second seems to occur so rarely I was not able to encounter it. 
When I apply the patch to my clip, it makes a difference. In case of skipping a file manually, the codec (50kB) is loaded into the ring buffer. If it is not loaded a crash occurs less often. As to the second patch: How stable it is i cannot tell, but I had some album play with skipping and no crash occured. The albums crashed before the patch.
I like to point out, that the patch is not solution of the playback issue, but an improvement.
Understanding buffering.c is difficult. Especially moving a handle in the ring buffer with move_handle and buffer_handle
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1138 on: September 14, 2009, 11:02:44 AM »
If you didn't see this already you might find it interesting:

http://www.rockbox.org/mail/archive/rockbox-dev-archive-2009-09/0049.shtml
Logged

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1139 on: September 21, 2009, 04:49:42 PM »
I'm not really getting any good results while investigating the AMS Sansa SD
situation so I thought that I would just toss out some of my thoughts and observations
for your reading enjoyment.  Consider it fodder for future wisecracks perhaps or
maybe a futile gesture to the AMS Rockbox Gods to open my eyes so I may just
see what must plainly be there....

There are 2 different problems with the sd cards that I'm aware of:

1. We're running them too fast and out of spec at 62 MHz
2. I can read from the uSD but not write to it nor delete from it reliably.
    The Internal card works fine with both operations.
    I can copy a file USD -> INTERNAL  but not INTERNAL -> uSD
    I can read and play files from the uSD just fine.

Besides being removeable, the most obvious difference in the configuration
between the cards is that the uSD is connected to the bus through GPIOD.
I tried commenting out the GPIOD_DIR &= ~(1<<7) we use to keep the buttonlight
off on disk access with no luck.

My goal for awhile now has been simply to get the SD cards running below the
specification limit of 50 MHz.  I have been able to do this only by lowering
PCLK to below 50 MHZ as I cannot get any setup where MCICLK != PCLK to function
over the data pins.  The cards are set at 400 kHz for the ident mode and they
initialize just fine but that communication happens over the cmd pin and not over
the data pins. I believe the significant difference is the fifo involvement
with the data lines but I'm not sure about that.  The fifo should act as
a buffer between the two clock domains when PCLK != MCICLK so that is what
draws my attention here.The linux driver for the pl180 uses the fifo half
full and half empty interrupts for dma control and we don't. I thought
that having the pl180 control the dma transfers handled the fifo and
dma requests but I'm still trying to figure this part out.  I understand
what interrupts are and how they work(barely) but actually implementing them
is a bit beyond me at this point, if that's even the solution here?


Things I have tried with results/observations:

I'm not advocating using all these things it's just what I have tried...

I have been able to run the cards within spec from 30-50 MHz by lowering
PCLK to this range.  That's the only way I can do it.  The clock bypass bit
must be set, the cards will not work without it.

Omitting the SD_SET_BLOCKLEN command for initialization works fine.  We
assume a 512 for transfers and this is in fact the default value so issuing
this command is redundant.

I have been able to switch to high speed timings by using the SD_SWITCH_FUNC
command for both the internal and microSD cards with no problems.

I have been able to initialize the cards while running them at full speed
(62 Mhz) with no problems.  I believe the 400kHz Ident freq is a holdover
from MMC Cards.  We are sure we're dealing with an SD card because that's
all that fits.....  The SD spec does say you should send a 400 Khz clock
during the ident phase but I believe that's just for compatibility with
MMC cards.

I omitted the SD_SET_BUS_WIDTH command and can't notice a difference.  This
is the command to change from 1 bit to 4 bit data bus.  We have been issuing
this to the cards without changing the controller to 4 bit mode.  I cannot
get 4bit mode to work at all with the internal card but with the uSD I
can display folders and album art. I cannot play music though.  I adjusted
the burst size for pcm dma with no luck.

I enabled the synchronization logic for DMA and found no difference.  The
pl081 docs say the logic must be enabled if the peripheral sending the request
and the SDMAC controller are in different clock domains.

I modified the debug viewHW page to reliably display the sd freqs.  Because
we turn off the controllers between disk accesses you need a disk access
to get a reading.  Inserting the uSD will get you a reading.

I'm pretty much stalled out here so maybe someone else can help connect
the dots!
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

  • Print
Pages: 1 ... 74 75 [76] 77 78 ... 129
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.135 seconds with 14 queries.