Rockbox Development > New Ports
SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
willwolfe:
--- Quote from: funman on November 25, 2008, 08:44:59 AM ---Don't forget the major bug remaining : we can't access data past 1GB on the internal storage.
--- End quote ---
I think the emphasis at this time should be on the "internal" storage.
LambdaCalculus:
Just a reminder for everyone that we're starting to veer off-topic on this thread. Let's get back to the business of porting, shall we? ;)
kugel.:
I can confirm the Fuze buttons do not work in the main Rockbox.
More hacking is needed to make it work. Enabling button_int() for the main build in button-fuze.c does NOT give anything but a highly flickering screen and unresponsive.
Funnily enough, the screen actually reacts on your button presses, e.g. pressing up will make it invert the color, pressing center will make it flicker in a slower fashion.
Anyway, getting the buttons to work (and fixing the lcd) is not trivial, at least nor for me. I played around with irq, without success, although interrupt issues seem logical to me, since lcd and buttons are accessing the same GPIO port (lcd via switched to DBOP).
So I tried disable_irq and enable_irq, which leads to a non booting Rockbox, giving a "Divide by Zero" error at the boot for a split second (it's so fast you can't note down the address). Using disable_irq_save() and restore_irq() didn't seem to do anything.
Apart from the buttons, the lcd ain't stable. Even without buttons enabled, the display flickers frequently.
Edit: The button driver seems to crash when booting in the main. I replaced the button read function with something that toggles the buttonlight everytime that function is called. It just blinks once!
Then I placed a splashf which displays an increasing counter (which is increased everytime the funtion is called). It only counted upto 3.
Edit2: Scratch the crashing button driver. It's not crashing, that was just an issue with xpd.
But I still can't get the buttons to work in the main binary (always keep in mind: They work just fine in the bootloader).
I tried to read them seperately. I can read the Power and Down button pretty well, but reading e.g. center or right doesn't work at all. The code is the same, just the corresponding pin replaced. And they behave differently.
I'm out of ideas very soon. I'm now trying to get the button via DBOP since GPIOB and C are kinda connected to it by a physical pin or something, but I'm probably out of hope here.
Sadly, the OF doesn't reveal much at all about the buttons (at least not in my disassembly of the firmware block). I can hardly find mentions of GPIOB and GPIOC. Does anyone have an idea if the button stuff is another than the firmware block?
It would be great if I could get help on this one. Also, keep in mind, that this problems afaik are also on the e200v2 (not Fuze-only).
sko:
Hi, I have an e200v2 and I'm watching this thread and the SVN since some weeks. I am looking at the SVN and testing the changes nearly every day.
--- Quote from: .kugel ---Also, keep in mind, that this problems afaik are also on the e200v2 (not Fuze-only)
--- End quote ---
Yes, thats right, the buttons are working in the bootloader (at least Buttons for choosing the OF or RB), but in the Rockbox menu they aren't working.
Second thing (it hasn't been reported in this thread until now): since revision 19234 there is only a blank white screen on startup, no rockbox logo, no rockbox menu, but booting OF with the <<-button works, so the bootloader must be working I think.
EDIT: The issue with the white screen seems to be fixed with revision 19276.
funman:
Hello all!
I wanted to tell you that since today we have sound working !
The code isn't committed yet, because it required quite some changes and we still experience a lot of unexplained deadlocks/reboots/shutdown etc .. but sometimes we can hear our songs ;)
See FS#9592 for work in progress
@johnnyz86 : like saratoga told you there is still a lot of work to do (he only forgot the FM radio).
Something you'll need to work on the Sansa AMS is the AS3525 datasheet.
Unfortunately it's not redistributable, but if you come on irc (and prove you are interested) you can ask Bagder for it (he is allowed to redistribute it to developers on an individual basis, at the condition to not redistribute / make it public of course).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version