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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
« previous next »
  • Print
Pages: 1 ... 30 31 [32] 33 34 ... 129

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

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #465 on: November 21, 2008, 06:21:29 AM »
I did tests with ADC and was not successful.
Logged
 

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #466 on: November 21, 2008, 08:17:12 AM »
Quote from: atomikpunk on November 20, 2008, 09:05:52 PM
Any progress on the SD side?

I have working read/write using DMA in my tree.

But we still can't access data past 1GB on >1GB models :(

--
You mention offsets in the Fuze OF, but which firmware version exactly are you disassembling ?

EDIT:
I tried the DMA code in the bootloader, the FAT32 partition is read correctly, and the beginning of rockbox.sansa as well (since I can see the correct size and checksum on screen); but the calculated checksum is always wrong .. I couldn't figure what was wrong.

I pasted my current diff (with some plugin keymaps, too lazy to sort it from the DMA/SD code :P ) since I couldn't figure what was wrong.

Note that when using a bootloader from SVN and this code, plugins/rockbox/lang files load just fine..
« Last Edit: November 23, 2008, 03:37:48 PM by funman »
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 #467 on: November 21, 2008, 12:15:48 PM »
Hi again,

daniel_at: thanks for the pics, I really clear things up in my mind. It seems to me the buttons are all linked to a single supply (GND or VCC) on one side, and all connected to independent connector pins on the other. As for the wheel, well that still to be looked upon, but I think it'll be easier to test using a custom firmware once we will have a "safety button" for the dual boot.

kugel: From what I see, it definitely isn't ADC and definitely is using DBOP (so a standard "logic" interface).

funman: I *think* it is v. 1.1.11 but I'll have a look tonight. It definitely is the first version we could get from bagder's site (if there are more, been a long time since I looked there...). If you have a bit of time, would you mind explaining how to use the current SVN, I got lost with the "new" bootloader and stuff and since you're not online anymore... :P

Keep up the good work everyone!
Logged
iPod Nano 3rd gen. 4gb
Sansa Clip 1gb

Offline caladan

  • Member
  • *
  • Posts: 2
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #468 on: November 21, 2008, 01:56:24 PM »
The wheel could be a standard rotary encoder using some kind of magnetic relays..
Logged

Offline atomikpunk

  • Member
  • *
  • Posts: 96
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #469 on: November 21, 2008, 07:52:40 PM »
After review, it is indeed the 1.1.11 fuze firmware revision that I have here.

Caladan, yes you are right and from the pics from Daniel, it looks like it :) I know some hall effect sensors have 4 pins and this is exactly the kind of sensor they could have used with a polarized wheel.
Logged
iPod Nano 3rd gen. 4gb
Sansa Clip 1gb

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #470 on: November 22, 2008, 07:06:37 PM »
funman, I tried to apply your patch. It's seems not to be against svn, since I'm missing a file it wants to patch.
Logged
 

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #471 on: November 23, 2008, 04:04:22 PM »
sorry it was missing parts of the new files, I corrected the paste in my previous message
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 #472 on: November 23, 2008, 05:00:24 PM »
With the corrected patch, I'm able to successfully boot into the main menu on my fuze reliably.

The display is slightly greenish, and the area where the statusbar should be is flickering. I can turn the backlight on with inserting the usb cable. Obviously I'm not able to browse anything due to the lack of buttons.

Edit: I forgot to mention: I've made a 500MB partition to work around the >1GB problematic for now. But now as it boots successfully I'll have a look at the getting the whole 4GB to work (which will likely be problematic without seeing the filebrowser).
« Last Edit: November 23, 2008, 05:02:12 PM by kugel. »
Logged
 

Offline daniel_at

  • Member
  • *
  • Posts: 28
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #473 on: November 24, 2008, 12:35:14 PM »
The blinking top status-bar on the fuze build disappears if I remove the line 394 in lcd-fuze.c:
Code: [Select]
    lcd_write_data((unsigned short *)lcd_framebuffer, LCD_WIDTH*LCD_HEIGHT);
Seems do be a copy-pasta snipped from lcd_update...

Logged

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #474 on: November 24, 2008, 02:06:18 PM »
Small update: I found that the buttons for the Fuze are the same as the ones for the e200v2, at least the ones implemented (i.e. not scrollwheel, home(fuze)/rec(e200v2) and hold).
Logged
 

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #475 on: November 25, 2008, 08:44:59 AM »
I finally found what was wrong in the bootloader:
I was not incrementing the SDRAM pointer, so data would be overwritten after each sectors transfer; only if the requested sectors number was >= 128 (which it seems only happened in the bootloader)

I committed the (read and write) code in r19211 , with the DMA driver which will be used for I2SOUT (pcm playback) and perhaps I2SIN (pcm recording).

It will require some modifications though:
  • Currently the end of transfer notification works only if 1 channel is active
  • Unlike in SD transfers, the data flow needs to be controlled manually
  • Maybe fix some bugs ..

Don't forget the major bug remaining : we can't access data past 1GB on the internal storage.

NOTE: LambdaCalculus37 reported his 2GB Clip is correctly detected as 2GB by rockbox.
I believe 2GB is the maximum theorical size on not High Capacity SD cards.
« Last Edit: November 25, 2008, 10:19:51 AM by funman »
Logged
a wise man said: "a wise man said"

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #476 on: November 25, 2008, 12:20:30 PM »
Quote from: funman on November 25, 2008, 08:44:59 AM
I believe 2GB is the maximum theorical size on not High Capacity SD cards.
I thought 4GB was the limit, but Wikipedia claims 8GB ???
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline Hillshum

  • Member
  • *
  • Posts: 108
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #477 on: November 25, 2008, 01:14:37 PM »

According to sdcard.org, 2gb is the non-hc limit
Logged

Offline cosmocat

  • Member
  • *
  • Posts: 31
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #478 on: November 25, 2008, 02:06:24 PM »
the limit for sd card and microsd cards are differents.
sd card : 1GB, 2GB and 4GB
sdhc card : 4GB, 8GB, ...

but in our case, for a microsd card :
micro sd card : 1GB, 2GB
micro sdhc card : 4GB, 8GB...

if it could help...
Logged

Offline philibuster

  • Member
  • *
  • Posts: 7
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #479 on: November 25, 2008, 02:12:19 PM »
According to sdcard.org it says "up to 2gb" for both micro and normal SD.

wikipedia (gasp) has a good writeup about the "openness" of the "standard" and says that all <1gb should work in every case, but SD supports up to 4gb with some hacking.
http://en.wikipedia.org/wiki/Secure_Digital_card#SD_.28non-SDHC.29_cards_with_greater_than_1_GB_capacity
Logged

  • Print
Pages: 1 ... 30 31 [32] 33 34 ... 129
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.094 seconds with 23 queries.