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
| | |-+  Creative Zen Vision:M
« previous next »
  • Print
Pages: 1 ... 29 30 [31] 32 33 ... 46

Author Topic: Creative Zen Vision:M  (Read 617068 times)

Offline gitrdone300ex

  • Member
  • *
  • Posts: 2
Re: Creative Zen Vision:M
« Reply #450 on: February 26, 2008, 05:19:14 PM »
I have been watching this thread for a long time and I would like to try to start helping out if its not too late. I am new to this stuff, but i have done quite a bit of fw modding on cell phones. I have a lot of free time and would like to try to start helping if someone feels like explaining to me how i need to get started. I have vista 32 bit. What programs would I need and what do i need to have on my zen vision m? I would be glad to help. thanks
Logged

Offline tomaskn

  • Member
  • *
  • Posts: 1
Re: Creative Zen Vision:M
« Reply #451 on: February 27, 2008, 07:43:22 AM »
guestion: are there any plans to change the battery indicator system? because the current firmware wont let me use my new battery ,its 3,7V instead 3,2 or something like that;
i can make the battery work but if my player crashes and i have to reset the indacotr go's to "battery drained" mode wich is wrong.and when its working the indicator wont change

it would really be great if you can make these battery's work normally. you get something like 7,5hrs of video and much more audio (didnt test it)

i wish i could do something myself but...
could you make a code wh allows you to manually set battery 0% and let it charge all night (full charge) and then set the 100%

something like this is probably farfar away from today but  thank you all for reading this and all the work you guys have done before ;D

sorry for the horrible english :-\
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Creative Zen Vision:M
« Reply #452 on: February 27, 2008, 07:51:58 AM »
Quote from: gitrdone300ex on February 26, 2008, 05:19:14 PM
I have been watching this thread for a long time and I would like to try to start helping out if its not too late. I am new to this stuff, but i have done quite a bit of fw modding on cell phones. I have a lot of free time and would like to try to start helping if someone feels like explaining to me how i need to get started. I have vista 32 bit. What programs would I need and what do i need to have on my zen vision m? I would be glad to help. thanks
Take a look at the wiki page. I also advice you to set up a build system, so you can compile code yourself.
Then start with trying to fetch the current SVN, patch it with my latest diff and compile that and upload it to your ZVM.
If you succeed in that, you can start trying to disassemble the original firmware and try figuring out the hardware.

Quote from: tomaskn on February 27, 2008, 07:43:22 AM
guestion: are there any plans to change the battery indicator system? because the current firmware wont let me use my new battery ,its 3,7V instead 3,2 or something like that;
i can make the battery work but if my player crashes and i have to reset the indacotr go's to "battery drained" mode wich is wrong.and when its working the indicator wont change

it would really be great if you can make these battery's work normally. you get something like 7,5hrs of video and much more audio (didnt test it)

i wish i could do something myself but...
could you make a code wh allows you to manually set battery 0% and let it charge all night (full charge) and then set the 100%

something like this is probably farfar away from today but  thank you all for reading this and all the work you guys have done before ;D

sorry for the horrible english :-\
Yes, that will be no problems (look at the current Rockbox targets, they all support it). But, as you say, that's for in the far, far future :)
Logged

Offline Falafel

  • Member
  • *
  • Posts: 44
Re: Creative Zen Vision:M
« Reply #453 on: February 27, 2008, 07:58:29 AM »
@mceulenaere: It works! Constantly changing value :)

edit: But I messed some stuff and reverted to the originals and appllied your diffs, (which caused some trouble.. So I now have to rediscover the right settings for my screen.. after that I'll be able to give you all the addresses you wanted)
« Last Edit: February 27, 2008, 08:00:46 AM by Falafel »
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Creative Zen Vision:M
« Reply #454 on: February 27, 2008, 07:59:25 AM »
Quote from: Falafel on February 27, 2008, 07:58:29 AM
@mceulenaere: It works! Constantly changing value :)
Does it change about every second? If so, it is the RTC(Real Time Clock) :)
Logged

Offline Falafel

  • Member
  • *
  • Posts: 44
Re: Creative Zen Vision:M
« Reply #455 on: February 27, 2008, 08:01:38 AM »
No, way faster than that, I can hardly read/see the value before it dissapears..
« Last Edit: February 27, 2008, 08:03:46 AM by Falafel »
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Creative Zen Vision:M
« Reply #456 on: February 27, 2008, 08:04:19 AM »
Quote from: Falafel on February 27, 2008, 08:01:38 AM
No way faster than that, I can hardly read/see the value before it dissapears..
Did you just compile the diff I put on the forums or did you add i2c_reading(); ?
If not, could you do that anyway and post the addresses (0x??) it reports?
Logged

Offline Falafel

  • Member
  • *
  • Posts: 44
Re: Creative Zen Vision:M
« Reply #457 on: February 27, 2008, 08:10:30 AM »
I compiled the diffs.

Here are the addresses:

0xE
0XF
0x10E
0x10F
0x1A2
0x1A3
0x20E
counter is still running but it doesn't seem to add anything new, so I'll post this.
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Creative Zen Vision:M
« Reply #458 on: February 27, 2008, 08:14:07 AM »
Quote from: Falafel on February 27, 2008, 08:10:30 AM
I compiled the diffs.

Here are the addresses:

0xE
0XF
0x10E
0x10F
0x1A2
0x1A3
0x20E
counter is still running but it doesn't seem to add anything new, so I'll post this.

Ok, now remove the i2c_reading(); line and replace (l.174)
Code: [Select]
unsigned short arr[2] = {0xD1, 0xC8};with
Code: [Select]
unsigned short arr[7] = {0xE, 0xF, 0x10E, 0x10F, 0x1A2, 0x1A3, 0x20E};and replace (l.178)
Code: [Select]
for(i=0;i<2;i++){with
Code: [Select]
for(i=0;i<7;i++){
and compile that.
Now tell me which address changes about every second.

edit:
I think 0xE, 0x10E and 0x20E are mirrored; the same applies to 0xF and 0x10F

edit2:
the counter is just a hardware counter that just counts up and resets and counts again.
It is just there so that I can identify if the device would have crashed :)
« Last Edit: February 27, 2008, 08:18:44 AM by mcuelenaere »
Logged

Offline Falafel

  • Member
  • *
  • Posts: 44
Re: Creative Zen Vision:M
« Reply #459 on: February 27, 2008, 08:23:13 AM »
When I compile and run (with finally the right dimensions on screen) I see the 7 hex codes I just added, with long (36 Bytes) never changing codes behind 'em, and the top one (0xE) has a constantly changing 4digit number behind the code.

Edit: the long ones are addresses? because they don't change.
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Creative Zen Vision:M
« Reply #460 on: February 27, 2008, 08:28:13 AM »
Quote from: Falafel on February 27, 2008, 08:23:13 AM
When I compile and run (with finally the right dimensions on screen) I see the 7 hex codes I just added, with long (36 Bytes) never changing codes behind 'em, and the top one (0xE) has a constantly changing 4digit number behind the code.

Edit: the long ones are addresses? because they don't change.
Strange.
The format is as this: '0x[ADDRESS]: [READ 20-BYTES OUT ADDRESS]'.
If the long ones are FFFFFFFFFFF... or 00000000000... there isn't a slave device responding to that address.

But I conclude that the Zen Vision does have different hardware in comparison with the Creative Zen Vision:M.

BTW: what are the basepx and basepy values you use?
Logged

Offline Falafel

  • Member
  • *
  • Posts: 44
Re: Creative Zen Vision:M
« Reply #461 on: February 27, 2008, 08:37:34 AM »
Basepx = 80;
Basepy =   0;

Well, maybe I could find the different information in the fresc of my zv?

Edit:
also, it was possible to run the Rescue program of the ZVM on the ZV so at least buttons and such should have the same interface I guess.. (Although I do not remember if I tried them..)

Edit2:
output on screen:
0xE: 00...00 FF...FF
0xF: 00...00 FF...FF
0x10E: 00...00 FF7FFBFF7FFBFF7FFBFF
0x10F: 00...00 FF...FF
0x1A2: 00...00 1BFF001841
0x1A3: 00...00 41119858080
ox20E 00...00 F7F7F7F7F7F7F7F7F7F7
« Last Edit: February 27, 2008, 10:21:17 AM by Falafel »
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Creative Zen Vision:M
« Reply #462 on: February 27, 2008, 04:09:35 PM »
Whoow, I just see that I've got some new permissions on the forums  :)
Apparently, I got promoted to Developer? Whoever did that, thanks!  :D

Anyway, I'm getting close to the ATA driver, although I'm having trouble with ATA_CONTROL; I just can't seem to figure out which value it should have :S

As usual, diff is attached.
* zvm.diff.txt (57.39 kB - downloaded 278 times.)
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Creative Zen Vision:M
« Reply #463 on: February 28, 2008, 03:53:55 PM »
I'm having difficulties with sleep() and more precise sleep_thread() (and maybe switch_thread() ), the device just restarts when some code calls sleep().
Were there any other ports behaving the same at this stage?
It seems like it has got to do with some ARM-specific code, as I don't think the (current used) DM320 code can reboot/crash the device.

As I see in the code, sleep() is replaced with a loop for some ports as they have problems with it at bootloader stage. But my problem is that actually bootloader stage is already passed; so it won't matter if Rockbox or the bootloader get loaded; both will have trouble with sleep()
Logged

Offline Domonoky

  • Developer
  • Member
  • *
  • Posts: 205
Re: Creative Zen Vision:M
« Reply #464 on: February 28, 2008, 04:48:37 PM »
hi,

i seam to remember that on some targets the bootloader doesnt have the interrupts enabled, and thats why the replace the sleep with a loop.
Perhaps this also the problem here ?

good luck..
Logged

  • Print
Pages: 1 ... 29 30 [31] 32 33 ... 46
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Creative Zen Vision:M
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.146 seconds with 22 queries.