Home Forums Gallery FAQs Downloads
 
 

Go Back   Meizu Me > miniPlayer M6 / SL > Community Development > Rockbox

Register Today!  

Rockbox Project (M6)

This is a discussion on Rockbox Project (M6) within the Rockbox forums, part of the Community Development category; Originally Posted by Speechless That should produce equivalent code, a bit more succintly. - I'm Speechless. XOR toggles a bit, ...



Reply
 
Thread Tools Display Modes
Old 04-29-2008   #221
Passing By
 
Join Date: Apr 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by Speechless View Post

That should produce equivalent code, a bit more succintly.

- I'm Speechless.
XOR toggles a bit, whereas &~ switches it off. Those are two different things, I would say.
denes nincs online   Reply With Quote
Old 04-29-2008   #222
Passing By
 
Join Date: Feb 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by denes View Post
XOR toggles a bit, whereas &~ switches it off. Those are two different things, I would say.
Correction: it would only replace the block of code serving as a toggle. Replacing (&~) with (^) wouldn't be equivalent.

- I'm Speechless.

Last edited by Speechless; 04-30-2008 at 01:02 AM. Reason: Wrong the first time.
Speechless nincs online   Reply With Quote
Old 04-30-2008   #223
Junior Member
 
markun's Avatar
 
Join Date: Mar 2008
Location: Netherlands
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Speechless: thanks, that would indeed simplify the code a bit.

Yesterday I tried to flash my M6SL with this home made test firmware of mine. It got stuck at "flashing firmware, please wait..". After a while I performed a hard reset, but the player seemed to stay off and not running my code (at least the backlight wasn't toggled). Eventually I was able to get into DFU mode and reflash with an official firmware. Maybe I can do some more experiments today.
markun nincs online   Reply With Quote
Old 04-30-2008   #224
vcf
Member
 
vcf's Avatar
 
Join Date: Apr 2007
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by markun View Post
Speechless: thanks, that would indeed simplify the code a bit.

Yesterday I tried to flash my M6SL with this home made test firmware of mine. It got stuck at "flashing firmware, please wait..". After a while I performed a hard reset, but the player seemed to stay off and not running my code (at least the backlight wasn't toggled). Eventually I was able to get into DFU mode and reflash with an official firmware. Maybe I can do some more experiments today.
if help is need contact me. the code is very simple for me as well and i cant find any errors but i am not strong in programming
vcf online van   Reply With Quote
Old 05-01-2008   #225
Junior Member
 
markun's Avatar
 
Join Date: Mar 2008
Location: Netherlands
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
ok, today I did some more tests and this time merged the NAND loader with my test firmware (with the merger from DFU manager). The backlight now turns on when I press PLAY and turns off when I release it (which is not what should happen). I couldn't get the piezo to produce any sound. No idea if it's actually running my code. I'll keep you updated.
markun nincs online   Reply With Quote
Old 05-02-2008   #226
Freshman
 
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
markun: You should put some key debouncing code here.
kgb2008 nincs online   Reply With Quote
Old 05-02-2008   #227
Member
 
Join Date: Jan 2008
Location: Indonesia
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
kgb2008: what is "key debouncing code"?
wpyh nincs online   Reply With Quote
Old 05-02-2008   #228
Junior Member
 
markun's Avatar
 
Join Date: Mar 2008
Location: Netherlands
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
wpyh: When pressing the key it might not go from 0 to 1 very cleanly but for example like this 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1. To 'debounce' you can for example add a little delay in the code after a key (un)press is detected.
markun nincs online   Reply With Quote
Old 05-02-2008   #229
Member
 
Join Date: Jan 2008
Location: Indonesia
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Um... OK, I get it. Please let us know if you get results with it
wpyh nincs online   Reply With Quote
Old 05-02-2008   #230
Member
 
Join Date: Jan 2008
Location: Indonesia
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Well, I'm just guessing, but it's possible that PDAT1 signals a key press or release event, and not the key status itself (whether the key is pressed or not).

Really just guessing here.
wpyh nincs online   Reply With Quote
Old 05-09-2008   #231
Passing By
 
Join Date: Jun 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
hmm and how is progress of rockbox?
szarecki nincs online   Reply With Quote
Old 05-09-2008   #232
Junior Member
 
Join Date: Apr 2007
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
How many people are working on this project ? I can't wait to see rockbox working on my m6
oxyg3n nincs online   Reply With Quote
Old 05-14-2008   #233
Junior Member
 
markun's Avatar
 
Join Date: Mar 2008
Location: Netherlands
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
I guess I'm the only one programming and trying to run code right now (right?) Sorry for being a bit unproductive lately. I hope I'll get some more work done soon. Getting a small breakthrough (running some custom code) would be nice for motivation

Next thing I'll try is to replace some code in an official firmware update to get my code running. After that, look how much I can change until it no longer works.

Last edited by markun; 05-14-2008 at 10:52 PM.
markun nincs online   Reply With Quote
Old 05-15-2008   #234
vcf
Member
 
vcf's Avatar
 
Join Date: Apr 2007
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by markun View Post
I guess I'm the only one programming and trying to run code right now (right?) Sorry for being a bit unproductive lately. I hope I'll get some more work done soon. Getting a small breakthrough (running some custom code) would be nice for motivation

Next thing I'll try is to replace some code in an official firmware update to get my code running. After that, look how much I can change until it no longer works.
you're right here. we are mostly noobs here. we can just to long tyring work like testing etc. all hope is on you
vcf online van   Reply With Quote
Old 05-18-2008   #235
Freshman
 
Join Date: May 2008
Location: Czech Rep.
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
My Meizu
Originally Posted by wpyh View Post
Well, I'm just guessing, but it's possible that PDAT1 signals a key press or release event, and not the key status itself (whether the key is pressed or not).

Really just guessing here.
i'd expect the status
beavel nincs online   Reply With Quote
Old 05-27-2008   #236
Administrator
 
nice2know_u's Avatar
 
Join Date: Mar 2007
Location: Budapest, Hungary
Posts: 2,296
Thanks: 14
Thanked 61 Times in 32 Posts
My Meizu
Any news from rockbox project? Does anybody working on it?
nice2know_u online van   Reply With Quote
Old 05-27-2008   #237
Passing By
 
Join Date: Dec 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
looks like this project is going nowhere...
OH23 nincs online   Reply With Quote
Old 05-28-2008   #238
Founder
 
Err0r's Avatar
 
Join Date: Nov 2006
Posts: 2,018
Thanks: 20
Thanked 19 Times in 9 Posts
My Meizu
I think it's largely due to the fact that we only have one person who can code - markun.

Maybe it's time to start a collection to buy some other Rockbox coders Meizu players too.
Err0r nincs online   Reply With Quote
Old 05-28-2008   #239
vcf
Member
 
vcf's Avatar
 
Join Date: Apr 2007
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
dont worry guys. the project hasnt died. just markun is a bit busy last time. in june there will be the rockbox dev's conference DevConEuro2008 < Main < TWiki
there is going to be many work done. as you see meizu has 3(!) devs Meizu M6 - Marcoen Hirschberg, Daniel Stenberg,Frank Gevaerts
vcf online van   Reply With Quote
Old 05-30-2008   #240
Passing By
 
Join Date: Feb 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by Err0r View Post
I think it's largely due to the fact that we only have one person who can code - markun.
Not so. There are a number of individuals here who can code. I think it's largely a matter of someone taking the lead, for others to follow; then we'll see how much skills are available. The skills available are largely shrouded, at present, methinks.

Personally, I have some rusty C and assembly language programming experience, which I haven't had much recent opportunity to exploit. I've not had any experience with embedded programming, and was waiting for markun to give some pointers.

Originally Posted by Err0r View Post
Maybe it's time to start a collection to buy some other Rockbox coders Meizu players too.
You mean some bribery and corruption? Hahaha.... Well, as you've mentioned that, I'm somewhat partial to a donation of a second Meizu player, myself, if the feeling takes you. As for cash donations, please direct all donations to... Wait a moment... I'lll get back to you. I'm in the process of heading out to buy a large bucket.

- I'm Speechless
Speechless nincs online   Reply With Quote



   
 
Meizu Me is an independent resource for all things Meizu. All rights reserved. Powered by vBulletin. Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. Meizu M8, miniPlayer and all related names are properties of MEIZU Electronic Technology, Inc. Copyright 2009 Meizu Me.