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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
« previous next »
  • Print
Pages: 1 ... 50 51 [52] 53 54 ... 65

Author Topic: Cowon D2  (Read 636532 times)

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #765 on: October 17, 2009, 08:28:32 AM »
Quote from: GMelchett on October 16, 2009, 02:09:49 PM
There is a small flaw in last nights touchscreen patch. Since the "last_btn = btn" ended up inside if(tsc200x_is_pressed()) {} the latest button will be repeated on and on until you press somewhere else and that new button gets repeated on and on. IE the line must be outside the if.

You mean I put it in the wrong place - all fixed now though! ;)

Quote
I would really appreciate if you could mail me the tcc7801 datasheet. The link on the forum is dead, or rather Telechips now require a password for the files, and the datasheet is nowhere else to be found.

This is the current working link.

Quote
I tried many times to see if any GPIO pin changed in the "Hardware info" screen, but none did when I inserted/removed the USB cable.

Ok, we'll need to monitor the PCF50635 interrupts (this should work in pretty much the same way as the existing code). Also does D23 change when you insert the AC adapter?
Logged

Offline GMelchett

  • Member
  • *
  • Posts: 11
Re: Cowon D2
« Reply #766 on: October 17, 2009, 11:47:23 AM »


Quote
This is the current working link.
Hmm.. It looks like the datasheet for TCC780, not TCC7801. Sure that you got it right?

Quote
Ok, we'll need to monitor the PCF50635 interrupts (this should work in pretty much the same way as the existing code). Also does D23 change when you insert the AC adapter?
No idea. An AC adapter wasn't included when I bought my D2+, so I can't test it.
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #767 on: October 17, 2009, 12:42:18 PM »
Quote from: GMelchett on October 17, 2009, 11:47:23 AM
Hmm.. It looks like the datasheet for TCC780, not TCC7801. Sure that you got it right?
Yes, it's definitely the correct one. The '01' is the only variant of 780x that made it into mass production, as far as I can tell.

Quote
No idea. An AC adapter wasn't included when I bought my D2+, so I can't test it.
Ok, I'll assume it's the same for now - I can always check the OF disassembly to be sure...
Logged

Offline GMelchett

  • Member
  • *
  • Posts: 11
Re: Cowon D2
« Reply #768 on: October 20, 2009, 01:38:21 PM »

Eventhough power management  isn't top priority at the moment, I feel for starting with it.
I'll start with trying to replace the TIMER0 interrupt that does current_tick++ 100 times a second
with the 32 bit timer/counter hw.

Can anyone explain why adc_tick() looks like it does? It looks strange.

 



Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #769 on: October 20, 2009, 03:08:42 PM »
Quote from: GMelchett on October 20, 2009, 01:38:21 PM
I'll start with trying to replace the TIMER0 interrupt that does current_tick++ 100 times a second
with the 32 bit timer/counter hw.
I don't really see what you'd achieve by changing it. And it could be tricky since the 32bit counter is already being used for the high resolution timer USEC_TIMER - see system-target.h and clock_init().

Quote
Can anyone explain why adc_tick() looks like it does? It looks strange.
Ah OK, I forgot an IRQ in my list - the ADC conversions are clearly IRQ based. ;)

It's quite straightforward: adc_tick() is called once each tick, and it just requests that the CPU starts the ADC conversion process. When that is finished, the ADC interrupt fires and the results are read. Calls to adc_read() just return the cached values.

If by "strange" you mean the #ifdef BOOTLOADER stuff, it's because at one time IRQs did not work in the bootloader - that's not a problem now, so I should remove those lines.
Logged

Offline GMelchett

  • Member
  • *
  • Posts: 11
Re: Cowon D2
« Reply #770 on: October 24, 2009, 03:01:54 AM »

You don't achieve much by just replacing the TIMER0 interrupt. But in order to reach good playback hours, you have to aim to reduce the number of wake-ups during idle to just a handful per second.
 
Logged

Offline tomers

  • Developer
  • Member
  • *
  • Posts: 76
FS#10728 - Cowon D2: Add support for D2 in rbutil
« Reply #771 on: October 27, 2009, 07:15:30 AM »
Just to let you know, I am working on implementing rbutil support in http://www.rockbox.org/tracker/task/10728

It will hopefully committed in the near future.
Logged

Offline Gunbuster

  • Member
  • *
  • Posts: 14
Re: Cowon D2
« Reply #772 on: October 29, 2009, 09:11:05 AM »
Is there any way to rotate the screen (the left of the screen being the top, and the right the bottom) ?
I want to display big covers in 240x240 pixels like i did with my gigabeat F, which is not possible with de default display.
Thank you.
Logged

Offline tomers

  • Developer
  • Member
  • *
  • Posts: 76
Re: Cowon D2
« Reply #773 on: December 03, 2009, 12:26:34 AM »
Quote
Is there any way to rotate the screen (the left of the screen being the top, and the right the bottom) ?
I want to display big covers in 240x240 pixels like i did with my gigabeat F, which is not possible with de default display.

Take a look at the themes site: http://themes.rockbox.org/index.php?target=cowond2. Especially, notice the SpartanBlack theme:




« Last Edit: December 03, 2009, 12:29:08 AM by tomers »
Logged

Offline fish

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #774 on: December 09, 2009, 04:48:22 AM »
I just want to say thank your for making it work on the newer D2+ Devices.
Finally a usable firmware - the original firmware really suck I think.. I never had a piece of hardware with such a bad usability. But with Rockbox it just rocks :D
Logged

Offline tomers

  • Developer
  • Member
  • *
  • Posts: 76
Re: Cowon D2
« Reply #775 on: December 09, 2009, 07:34:23 AM »
Quote from: fish on December 09, 2009, 04:48:22 AM
Finally a usable firmware - the original firmware really suck I think.. I never had a piece of hardware with such a bad usability. But with Rockbox it just rocks :D

Hi Fish,

I found that Cowon D2 has some usability issues related to keymaps.
If you would like to volunteer and contribute to Rockbox (no need for programming knowledge), I could use your contribution with compiling a list of desirable key-mappings for various screens and plugins on Rockbox, which would make it more usable. I'll try to fix whatever you find :-)
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #776 on: December 11, 2009, 07:52:25 AM »
Tomers - regarding your recent keymap changes, I really don't agree with some of them.

In the FM Radio screen the +/- keys could previously be used to adjust volume (their natural usage, consistent with the WPS and also how they're used in the OF). Why did you change this to prev/next?

Also in the FM screen, the MENU key would previously open the menu (again the natural, expected function). Now it needs a long-press - why did you do this?

You also removed the second ACTION_TREE_WPS line that I only recently added. What was the reason for this?

Please can you revert these changes.
Logged

Offline lynix

  • Member
  • *
  • Posts: 1
Re: Cowon D2
« Reply #777 on: December 11, 2009, 03:11:42 PM »
Hi, there!

I want to thank you guys for working on D2 support :)

I just managed to build the dev tools and install Rockbox on an SD in my D2. Unfortunately I can't hear any sound when playing MP3s while FM radio is working fine... will check this later.

I also have an AC adapter so if I can help by providing some information, just tell me :)
I also speak C and a bit MIPS, if that helps ^^

Thanks again for a firmware that rocks! ;)


lynix

EDIT: removed typo ^^
Logged

Offline tomers

  • Developer
  • Member
  • *
  • Posts: 76
Re: Cowon D2
« Reply #778 on: December 12, 2009, 12:43:25 AM »
Quote from: shotofadds on December 11, 2009, 07:52:25 AM
Tomers - regarding your recent keymap changes, I really don't agree with some of them.

In the FM Radio screen the +/- keys could previously be used to adjust volume (their natural usage, consistent with the WPS and also how they're used in the OF). Why did you change this to prev/next?

Also in the FM screen, the MENU key would previously open the menu (again the natural, expected function). Now it needs a long-press - why did you do this?

You also removed the second ACTION_TREE_WPS line that I only recently added. What was the reason for this?

Please can you revert these changes.

Hi shotofadds, I am sorry to cause a regression with the keymaps. I agree with your comments and reverted the changes you've referred to in r23936. I did not mean to change anything that worked as expected previously, rather to add functionality in areas where things didn't work at all :-) I am sorry if I caused any inconvenience to you or to other D2 users. I am now working on making the D2 more usable, and for every two steps forward, one step might be taken backwards. I'll be more careful now.
Thank you for your feedback!

Tomer
Logged

Offline robbie

  • Member
  • *
  • Posts: 2
Re: Cowon D2
« Reply #779 on: December 14, 2009, 09:14:15 PM »
current build is broken now (get an error when opening the file with winrar).
Logged

  • Print
Pages: 1 ... 50 51 [52] 53 54 ... 65
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
 

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

Page created in 0.113 seconds with 15 queries.