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 ... 22 23 [24] 25 26 ... 129

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

Offline wnmnkh

  • Member
  • *
  • Posts: 3
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #345 on: October 05, 2008, 06:00:43 PM »
Since we have two kinds of hardware versions for Clip, is this project aiming for version 1 or version 2?

I read some and it seems there are some hardware changes.
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #346 on: October 05, 2008, 06:19:15 PM »
Quote from: wnmnkh on October 05, 2008, 06:00:43 PM
Since we have two kinds of hardware versions for Clip, is this project aiming for version 1 or version 2?

Personally I own a ClipV1, and we have no details about the V2 except the firmware update recently released (which let us think that the ClipV2 comes with external RAM).

Parts of this project are common across all the Sansav2 models (including Clipv1 AND v2), since they are all based on the same AS3525 SoC.

But some development (like the LCD driver for example) is specific to each model.

Until someone comes with a ClipV2, we have no idea if all or some of the work done for the ClipV1 can be reused for the ClipV2
Logged
a wise man said: "a wise man said"

Offline atomikpunk

  • Member
  • *
  • Posts: 96
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #347 on: October 05, 2008, 09:13:47 PM »
Haha now that's good news, good work funman (though I deserve thanks for part of it ;D).

Now let's hack that damn flash, with the LCD help of course!
Logged
iPod Nano 3rd gen. 4gb
Sansa Clip 1gb

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #348 on: October 05, 2008, 09:54:50 PM »
Of course many thanks to you atomic punk !!

I think without you there would be nothing today which let us hope for a port!

I pushed my rockbox branch in the gitorious tree, so we can synchronize the work.
« Last Edit: October 06, 2008, 05:26:44 AM by funman »
Logged
a wise man said: "a wise man said"

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #349 on: October 05, 2008, 10:26:41 PM »
Quote from: funman on October 05, 2008, 01:26:26 PM
Quote
Any implementation of the Simplified Specification may require a license from the SD Card Association, SD Group, SD-3C, LLC or other third parties.

I believe this will be a problem, so we rather should not look at this document at all.

I believe that refers to SD communication itself, not the datasheet (which is itself available under reasonable license).  Generally such things are safely ignored since they are effectively unenforceable against source code.
Logged

Offline tobi-lu

  • Member
  • *
  • Posts: 12
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #350 on: October 06, 2008, 05:22:53 AM »
That's what I thought as well...

In the end, we'll HAVE to use things that are in this document, because that's just how the SD communication works, no matter how we find it out.
Logged
working on: Sansa e250v2 FW 03.01.16

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #351 on: October 06, 2008, 12:39:07 PM »
Hey guys

Now with the help of the LCD I'm sure that I can issue commands to the SD, but the protocol is still quite confusing to me.

I attach the code I use to power the device and send commands, but without my buggy commands ;)

P.S. I uploaded a nicer HD picture of the lcd
* mmc-as3525.c (4.27 kB - downloaded 364 times.)
« Last Edit: October 06, 2008, 01:00:47 PM by funman »
Logged
a wise man said: "a wise man said"

Offline daniel_at

  • Member
  • *
  • Posts: 28
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #352 on: October 07, 2008, 08:10:16 AM »
WOW! Congrats to funman, atomikpunk and all other helpers! This is really great news.

I am just looking at the current GIT-Tree and feeling somehow unsure, how I cleanly get to a rockbox.bin file which i can stuff into the mkamsboot-makefile. Any Hints?

Now as we can print out more informations i would eagerly want to know where the interrupt-vector points, which handles the power-button. Because, if the "power-off" it is software driven, this vector would point to a region which is executed befor the OF (and now our rockboxloader) is executed from flash. Which will be the mask-ROM mentioned in the datasheet. According to the pdf this ROM can be mapped onto 0x00000000, but that seems unreasonable in our case, because here lies RAM which gets loaded with data from flash. So Sansa has maybe modified the Address which the mask-ROM maps to. Or the power-off is hardware driven - then forget about all i wrote :)

Daniel
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #353 on: October 07, 2008, 08:24:20 AM »
Quote from: daniel_at on October 07, 2008, 08:10:16 AM
I am just looking at the current GIT-Tree and feeling somehow unsure, how I cleanly get to a rockbox.bin file which i can stuff into the mkamsboot-makefile. Any Hints?

You can use tools/configure and use the Clip target, bootloader only.
But before you should be sure to disable the lcd driver, because it is specific to the Clip: I don't think it will work on the E200.

Quote from: daniel_at on October 07, 2008, 08:10:16 AM
Now as we can print out more informations i would eagerly want to know where the interrupt-vector points, which handles the power-button. Because, if the "power-off" it is software driven, this vector would point to a region which is executed befor the OF (and now our rockboxloader) is executed from flash. Which will be the mask-ROM mentioned in the datasheet. According to the pdf this ROM can be mapped onto 0x00000000, but that seems unreasonable in our case, because here lies RAM which gets loaded with data from flash. So Sansa has maybe modified the Address which the mask-ROM maps to. Or the power-off is hardware driven - then forget about all i wrote :)

Daniel

I think the power-off is software driven, because on the Clip I see a logo animation before it shutdown.
You can access the ROM at 0x80000000 (it is an alias) but I think it's useless because before being able to dump its content we need flash driver :/

Also I looked at the NAND / SD registers, because I supposed the ROM bootloader would leave them initialized, but they are reset to 0 .. so nothing useful here.

The LCD controller for the Clip is very similar if not identical to controllers for other rockbox targets, and it may be the same for the E200: check the controller model on the wiki page for E200 port
Logged
a wise man said: "a wise man said"

Offline atomikpunk

  • Member
  • *
  • Posts: 96
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #354 on: October 07, 2008, 08:55:52 AM »
Hi,

Quote from: funman
The LCD controller for the Clip is very similar if not identical to controllers for other rockbox targets, and it may be the same for the E200: check the controller model on the wiki page for E200 port

Hmm I really doubt it, if I remember correctly, the display controller on the e200 serie is an ILI-something. Anyway, it is a color display so it wouldn't work with the SSD1303 ;)

Quote from: funman
I think the power-off is software driven, because on the Clip I see a logo animation before it shutdown.

Oh that's some news, I didn't noticed. Though I think there is an hardware "recovery" power-off if you hold the power button long enough (about 4-5 seconds). I often used it with infinite loops broken test firmware ;)

Gitorious is back, yay! (See ya later peeps)
Logged
iPod Nano 3rd gen. 4gb
Sansa Clip 1gb

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #355 on: October 07, 2008, 10:26:35 AM »
Quote from: atomikpunk on October 07, 2008, 08:55:52 AM
Quote from: funman
The LCD controller for the Clip is very similar if not identical to controllers for other rockbox targets, and it may be the same for the E200: check the controller model on the wiki page for E200 port

Hmm I really doubt it, if I remember correctly, the display controller on the e200 serie is an ILI-something. Anyway, it is a color display so it wouldn't work with the SSD1303 ;)

I meant another rockbox target (not the Clip) may have code for a similar controller.
But first you need the initialization sequence, which is specific to the E200v2.

Quote from: atomikpunk on October 07, 2008, 08:55:52 AM
Quote from: funman
I think the power-off is software driven, because on the Clip I see a logo animation before it shutdown.
Oh that's some news, I didn't noticed. Though I think there is an hardware "recovery" power-off if you hold the power button long enough (about 4-5 seconds). I often used it with infinite loops broken test firmware ;)

Note also that if you boot the OF, you need to press the power button at least 4-5 seconds, but with my tests, 1/2 second is enough (when using my custom code).

So that "recovery" power off is customizable, and the time needed to hold the power button is extended by the OF.

Is it similar on E200/Fuze ?
Logged
a wise man said: "a wise man said"

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #356 on: October 07, 2008, 11:07:18 AM »
There's two power offs. The one where you see the goodbye logo, which should be software driven. The other, were the device is powered off immediately, is doutfully software driven, that'd render the purpose of "emergency power off" useless.

On the e200v1, this emergency power off was also hardware driven.
Logged
 

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #357 on: October 07, 2008, 07:35:50 PM »
I have put the patch for Clip port on the patch tracker: FS#9467
Logged
a wise man said: "a wise man said"

Offline Hillshum

  • Member
  • *
  • Posts: 108
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #358 on: October 09, 2008, 10:12:56 PM »
Don't get mad at me, but I think putting a hacked firmware image on my sansa has made it not support drm. Hey, I only free drm(aka Overdrive). So yeah. Bad for dualboot. I've looked for a solution and tried all kinds of things, including clean firmware, none have worked.
« Last Edit: October 09, 2008, 10:31:31 PM by Hillshum »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #359 on: October 09, 2008, 10:40:07 PM »
Installing Rockbox on h300 also requires the loss of DRM support. If that happens, it happens, we're not going to get particularly upset about it. It would be ideal to find a way to avoid this, but if not, ah well.
Logged

  • Print
Pages: 1 ... 22 23 [24] 25 26 ... 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.133 seconds with 16 queries.