Rockbox Development > New Ports
Creative Zen Vision:M
Falafel:
Uhm, I don't know what happened, but the code won't compile anymore! :o
And although it's an error I can vaguely remember: "error: called object '196608' is not a function" I can honestly say that I cannot recal how to solve it..
Ow, and if I can get my hands on a camera I will post some ics of the internals of my zen too, might come in handy.
mcuelenaere:
--- Quote from: Falafel on March 11, 2008, 12:55:04 PM ---Uhm, I don't know what happened, but the code won't compile anymore! :o
And although it's an error I can vaguely remember: "error: called object '196608' is not a function" I can honestly say that I cannot recal how to solve it..
Ow, and if I can get my hands on a camera I will post some ics of the internals of my zen too, might come in handy.
--- End quote ---
Mmm, strange.. I think it has something to do with system-dm320.c; can you track down the error by doing 'svn revert system-dm320.c' in target/arm/tms320dm320/ ?
Test if that works, and if it does try re-applying the patch bit by bit (I believe you do understand some C, so I think that won't be a problem?)
Falafel:
Good plan, I'll do that!
Edit:
Problem seems solved now, although to do so I had to revert back all the files you changed and afterwards I had to do some "snoeiwerk" in the files you added because for some reason they had their contents doubled. But this does explain what the problem was: I think I cut off the wrong part last time..
Now I'm gonna look at the new program running...
Edit2: Awesome!
It boots into the bootloader rescue menu and in the right bottom it shows a 4BYTE value that changes whenever I press a key, although I cannot actually move the cursor around.. Or select anything.. but Maybe thats because ZV uses different values there?
mcuelenaere:
--- Quote from: Falafel on March 11, 2008, 01:32:20 PM ---Good plan, I'll do that!
Edit:
Problem seems solved now, although to do so I had to revert back all the files you changed and afterwards I had to do some "snoeiwerk" in the files you added because for some reason they had their contents doubled. But this does explain what the problem was: I think I cut off the wrong part last time..
Now I'm gonna look at the new program running...
Edit2: Awesome!
It boots into the bootloader rescue menu and in the right bottom it shows a 4BYTE value that changes whenever I press a key, although I cannot actually move the cursor around.. Or select anything.. but Maybe thats because ZV uses different values there?
--- End quote ---
Hmm, I suppose it boots directly into the 'Rescue Mode' because it falsely detects you're pressing the MENU key.
But can you post all the hex values you're getting when you press buttons (look in buttons-creativezvm.c for some reference)?
Also give the values when you press the buttons for more than 2 seconds (button_x_long value) and normally after you release the button, the button_x value should reappear.
And if you can, please report the values for plugging in headphones, charger, USB, dock, power, ...
Thanks!
Falafel:
First number is just pressing it, second is when you release it or keep it pressed a bit longer
Also, all the value are preceded by FFFF
On/Off = 0F00 && 0F01
Hold = 9F06
UnHold = AF06
Volume Up = 6F00 && 6F01
Vol Down = 7F00 && 7F01
Up = DF00 && DF01
Right = EF00 && EF01
Down = FF00 && FF01
Left = CF00 && CF01
Back = BF00 && BF01
Menu = 9F00 && Etcetera
Ok = 1F00
Play = 2F00
Next = 4F00
Prev = 5F00
USB = 2F06
USB ouot = 3F06
Headphones= AF06
Hdphns out= BF06
Charger = 4F06 -> 9F05
Chgrout = 5F06 -> 8F05
AV in = 8F06
AV out = 9F06
There doesn't seem to be a button long value..
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version