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 ... 59 60 [61] 62 63 ... 129

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

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #900 on: May 31, 2009, 09:31:19 AM »
Quote from: jago on May 31, 2009, 08:54:51 AM
With recent revisions the radio of my e200 isn't working anymore.
If I switch to radio mode it shows only the status bar on top and freezes then.
After some investigation it seems that rev 21088 is messing something up.

r21088 changed the default cpufreq from 31 to 62, can you try to higher the delays in fmradio-i2c-as3525.c until radio works?
Logged
a wise man said: "a wise man said"

matsch

  • Guest
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #901 on: May 31, 2009, 10:39:20 AM »
Quote
You should try earlier revisions (bissecting) until you get display working, or perhaps tweak the delays in firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c

Same result with r20834. I do not know what to tweak in lcd-ssd1303.c. This is
probably a HW issue.

Maybe my clip has a different OLED compared to others which needs a higher driver strength from SSD1303. How can I change the contrast or brightness to a higher value?
At least I can see the info on the screen with USB connected, but with very weak conatrast.
« Last Edit: May 31, 2009, 02:45:19 PM by matsch »
Logged

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #902 on: May 31, 2009, 04:17:57 PM »
jago:

I have an e280 and without the mmu operating the radio function works just fine.  When I enable the mmu I have the same problem you are having.  I have tried several values for fm_delay() with no luck yet.  Still trying.
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

Offline sko

  • Member
  • *
  • Posts: 52
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #903 on: May 31, 2009, 05:55:48 PM »
Hmm... same problem as jago here: radio is not working on my e250v2 with clean r21151.
Logged
Sandisk Sansa e250v2 + 8GB Sandisk microSD Card
Ubuntu 9.10

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #904 on: May 31, 2009, 07:58:45 PM »
Quote from: matsch on May 31, 2009, 10:39:20 AM
Quote
You should try earlier revisions (bissecting) until you get display working, or perhaps tweak the delays in firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
Maybe my clip has a different OLED compared to others which needs a higher driver strength from SSD1303. How can I change the contrast or brightness to a higher value?
At least I can see the info on the screen with USB connected, but with very weak conatrast.

You can edit .rockbox/config.cfg and add a line:
contrast: 28


contrast value ranges from 0 to 50 (maximum)
Logged
a wise man said: "a wise man said"

Offline mc2739

  • Developer
  • Member
  • *
  • Posts: 262
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #905 on: May 31, 2009, 08:05:17 PM »
I have added FS#10267 to address the FM radio problem. The patch increases the fm_delay(). The radio now functions properly on my e200v2.
Logged

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #906 on: May 31, 2009, 11:14:24 PM »
Quote from: FlynDice on May 31, 2009, 04:08:58 AM
Can't resist a new toy and I'm a visual type-o- guy so just to show what's possible once we figure this darned mmu thing out I got some screen shots to show you.  Its running on 192/32/32 with mmu and both caches enabled, and as you can see it's only boosting 10% of the time and averaging a bit more than 48MHz while playing an mp3 file.  You can see a bit of corruption in the screen but funman's last patch corrects this.  Playback with cached memory is still not working reliably for me though.  One interesting thing I have found also is that for some reason if I use a plugin that has playback controls to start playback I get a much higher chance of music playing for more than 4-5 minutes.  Another thing is that as long as I don't attempt to play music, Rockbox runs very well.  I can play games all day long and when I hold the power button down to power off it has a normal shutdown.  Once I play music on it though I end up having to hold the power button for 10 secs to force it to turn off.  I was wondering if the fact that things run better when started from a plugin point to a buffer conflict with the plugin & audio buffers?

Great! Can you upload your diff of this very setup to FS#10048? I think we're not too far away from the goal! 500+% real time seems very reasonable too compared to other targets.
Logged
 

Offline jago

  • Member
  • *
  • Posts: 7
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #907 on: June 01, 2009, 07:51:42 AM »
Quote
I have added FS#10267 to address the FM radio problem. The patch increases the fm_delay(). The radio now functions properly on my e200v2.

Unfortunately it doesn't work for my e200v2 (clean r21151).
I've played around a little with the values for the delay loop. I tried values from 200 up to 2000 but there was no change. Strange that it works for m2739 but not for me.
Logged

matsch

  • Guest
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #908 on: June 01, 2009, 10:31:31 AM »
Quote
Maybe my clip has a different OLED compared to others which needs a higher driver strength from SSD1303. How can I change the contrast or brightness to a higher value?
At least I can see the info on the screen with USB connected, but with very weak conatrast.

You can edit .rockbox/config.cfg and add a line:
contrast: 28

config.cfg did not help, also tweaking some parameters in lcd-ssd1303.c was not successful.
Perhaps my OLED needs a special initialization which the OF makes. Fact is that the screen works with very low contrast which is enhanced if the Clip is connected/powered by USB.
I do not have time to go into into the LCD driver basics and stay with the OF of the Clip.
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #909 on: June 01, 2009, 11:02:51 AM »
Quote from: matsch on June 01, 2009, 10:31:31 AM
Perhaps my OLED needs a special initialization which the OF makes. Fact is that the screen works with very low contrast which is enhanced if the Clip is connected/powered by USB.

I noticed the same effect when working on the Clipv2 LCD, before finding the required i2c magic.
Perhaps your screen is powered by some combination, and plugging it on USB delivers some current to it.

When I find some time I'll look at the OF again to see if we didn't forgot some combination.

By the way some GPIO pins settings were removed since they had no effect (at least on the Clips tested so far). You could try to add them back (one by one and then the 2 of them)

Just add these lines at the top of lcd_init_device() after ams3525_dbop_init() :
Code: [Select]
GPIOB_DIR |= 0x40; /* pin 6 out */
GPIOB_PIN(6) = (1<<6);
GPIOB_DIR |= 0x20; /* pin 5 out */
GPIOB_PIN(5) = 0;

And if one day you open your Clip, please write down the numbers written behind the LCD display (not that it would be useful anyway, but extra information can not harm!).
Logged
a wise man said: "a wise man said"

Offline ej0rge

  • Member
  • *
  • Posts: 71
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #910 on: June 02, 2009, 12:29:06 AM »
If a developer is looking for a c200v2, send me a PM - I found one in a box of 15 broken c250's and I am willing to part with it. I just need to fix the headphone jack first, maybe re-pot the board in a case that is less damaged.
Logged
H120, H320, H10 20gb, F20, F40, S30, S60, E250, E280R, C250, Fuze, Fuze v2, Clip v2, MR100, MR500i, SA9200. Several parts available for H320, Gigabeat F and S, various Sansas.

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #911 on: June 02, 2009, 12:51:34 AM »
For any e200v2 users who are comfortable changing the frequency settings I have found that changing the frequencies in funman's latest mmu patch at FS#10048 to DRAM=PCLK=31 and DBOP = PCLK/1 solves a whole lot of problems for us right now until things get tested more!  LCD works fine with these settings!

#define AS3525_FCLK_FREQ      248000000            /* Boosted FCLK frequency  */
#define AS3525_DRAM_FREQ       31000000            /* Initial DRAM frequency  */
        /* AS3525_PCLK_FREQ != AS3525_DRAM_FREQ/1 will boot to white lcd screen */
#define AS3525_PCLK_FREQ      (AS3525_DRAM_FREQ/1)   /* PCLK divided from DRAM freq */
#define AS3525_DBOP_FREQ      (AS3525_PCLK_FREQ/1)   /* DBOP divided from PCLK freq */
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

Offline sko

  • Member
  • *
  • Posts: 52
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #912 on: June 02, 2009, 05:05:33 AM »
Quote from: FlynDice on June 02, 2009, 12:51:34 AM
For any e200v2 users who are comfortable changing the frequency settings I have found that changing the frequencies in funman's latest mmu patch at FS#10048 to DRAM=PCLK=31 and DBOP = PCLK/1 solves a whole lot of problems for us right now until things get tested more!  LCD works fine with these settings!

#define AS3525_FCLK_FREQ      248000000            /* Boosted FCLK frequency  */
#define AS3525_DRAM_FREQ       31000000            /* Initial DRAM frequency  */
        /* AS3525_PCLK_FREQ != AS3525_DRAM_FREQ/1 will boot to white lcd screen */
#define AS3525_PCLK_FREQ      (AS3525_DRAM_FREQ/1)   /* PCLK divided from DRAM freq */
#define AS3525_DBOP_FREQ      (AS3525_PCLK_FREQ/1)   /* DBOP divided from PCLK freq */


Yay... I watched "Elephants Dream" from the mpegviewer wiki page with this setting and it was playing smooth most time. I also had no freezes until now (played 4 different movies until now).
I also tested one 320 kBit/s mp3 file which played with 14 % boost at about 61 MHz. I'll do further stabiltity tests with music now.
But the menus seems to react slowlier than before and the wheel is not very reliable in spacerocks and pictureflow (spacerocks at all and pictureflow on fast turns).

EDIT: radio is working again (was not working with svn)
« Last Edit: June 02, 2009, 05:26:53 AM by sko »
Logged
Sandisk Sansa e250v2 + 8GB Sandisk microSD Card
Ubuntu 9.10

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #913 on: June 02, 2009, 05:46:37 AM »
Quote from: sko on June 02, 2009, 05:05:33 AM
But the menus seems to react slowlier than before and the wheel is not very reliable in spacerocks and pictureflow (spacerocks at all and pictureflow on fast turns).

I can confirm that unboosted the UI responsiveness is suboptimal.

I hope we can find a setting for ~40-45MHz for unboosted (that would also let run mp3 unboosted).
Logged
 

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #914 on: June 02, 2009, 07:37:15 AM »
Quote from: kugel. on June 02, 2009, 05:46:37 AM
I can confirm that unboosted the UI responsiveness is suboptimal.

I hope we can find a setting for ~40-45MHz for unboosted (that would also let run mp3 unboosted).

Yes I believe that's from the lower PCLK, but for the e200v2's it lets the lcd function much better for now.

I tried 240/40 and she white screened on me.  I got lots-o-Rockbox time today let me see what else I can come up with for e200v2's.
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

  • Print
Pages: 1 ... 59 60 [61] 62 63 ... 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.132 seconds with 21 queries.