Welcome to the Rockbox Technical Forums!
I've got rockbox (version: r21520M-090714 ) on my sansae200v2 :-Bootloader works pretty fine.-Even if the backlight from the WheelLight is disabled, when my sansa is "computing", it's lighting.-There is no possibility of seeking an mp3 file.-The database building is crashing.-Except the "database crash", I don't have many crashes.
I've got rockbox (version: r21520M-090714 ) on my sansae200v2
I've been busy studying up on SD cards lately and thought I would pose some questions and observations here as this area seems to have quieted down.In looking at the code it appears that we assume the internal card is simply another sd card that is embedded in the device. I am speculating that perhaps this is not the case or they are different enough that they need to be treated slightly differently.It appears we can access the embedded card using the NAND_BASE address and the pl180 offsets so it is at least compatible in this way.
It seems to need a higher clock frequency to operate though. Funman mentioned the OF targets 65 MHz for the embedded and 20 MHz for the uSD.
Saratoga tested the frequency for the SD card and found it running at PCLK speed (62MHz) which is too fast for the specand leads me to believe that PCLK = MCLK for the uSD card. We need <=25MHz for standard speed and <= 50MHz for HS. We have to divide MCLK to get the card clock speed MCICLK so our choices here are actually PCLK/2 =31MHz for HS and PCLK/4 = 15.5 MHz for standard speed. Saratoga said the OF uses 16 MHz for standard speed which is the OF PCLK(64MHz) / 4.
The other thing I've been thinking of here is that our embedded card is at least a consistent, fixed object, even if we don't completely know all of it's characteristics, and in fact it seems be less problematic than the uSD card. On the other hand the uSD card can vary in size, speed, and specification and should require a bit more probing for card related info.
Also, I'm assuming we have 2 pl180's working here at the 2 base addresses or am I mistaken?
This patch leaves the internal SD alone and lowers the uSD frequency to 15.5 MHz. I can navigate the files on the uSD but the files will not play. I tried modifying the delays to get the files to play but have been unsuccessful so far.http://pastie.org/561237
I believe this patch only enables the ide ahb interface & clock (CGU_IDE bits 6:7) for the internal card and not the uSD. Rockbox runs just fine with the ide stuff disabled for the uSD. If I disable it for the internal card though I get an SD transfer error.... http://pastie.org/561241
Hopefully this can save a bit of battery, but I think this should be discussed with the people designing the storage layer (gevaerts) because every target needs to be changed.
Do you suppose clk_ide could be wired into the internal pl180's MCLK?
Page created in 0.164 seconds with 20 queries.