Rockbox Development > New Ports
RockChip mp3/mp4 players
mortalis:
--- Quote from: wodz on September 29, 2011, 02:28:40 PM ---They are read through ADC most probably.
--- End quote ---
Yes, they are. I've changed button driver to make them work.
The only button left not working is hold. It's read not through ADC or GPIO.
wodz:
mortalis: could you provide vendor/model of your player (or is this again noname)?
mortalis:
--- Quote from: wodz on October 01, 2011, 04:11:25 PM ---mortalis: could you provide vendor/model of your player (or is this again noname)?
--- End quote ---
It's HIFIMAN HM-601.
I've noticed that my device has 2 different DFU modes:
1. I can switch to this mode by this ways (works only with original firmware):
* put empty RKLDSET.FLW in root dir and detaching usb
* "rkusbtool -d" also switch in this mode
* "rkusbtool -s" prints "error: CSW dCSWTag mismatch" and switch into this mode tooIf I use rk27load in this mode I get following:
--- Code: ---[info]: Initializing device... done
[stage1]: Loading 510 bytes (rkboot_s1.bin) of code... done
[stage1]: Encoding 510 bytes of data ... done
[stage1]: codesize = 510 (0x1fe)
[stage1]: Calculating checksum... 0x7ce5
[stage1]: Uploading code (512 bytes)...
[error]: Code upload request failed (ret=-7)
[error]: Error -14
--- End code ---
-7 means libusb timeout error.
RK27UpgradeImage from RockChip SDK identifies device as "RK27 Loader Usb " and works well.
2. The only way to put device in this mode is to connect 29 and 30 pins on Sasmung flash memory chip.
RK27UpgradeImage identifies device as "RK27 Mask ROM usb" and works well too.
rk27load also works fine in this mode.
Playback not working at all cause my device use I2S bus.
Also shutdown isn't work. I get "Shutting down..." message but device keeps working.
pamaury:
Hi all,
I know this thread is mainly about rk27xx devices but I recently stumbled upon a new kind of rockchip: RKnano-B. From rockchip website it's also an ARM base SoC dedicated to MP3 players. It's very hard to find any information aout it, there is not SDK, no datasheet it seems. The only thing I found is some windows tool to upgrade the firmware but they are not very useful. Furthermore there is no firmware upgrade for this device so no way to inspect the firmware code.
Here is a photo of the device: http://perso.ens-lyon.fr/amaury.pouly/SSL22776.JPG
And the link to rockchip info: http://www.rock-chips.com/index.php?do=prod
wodz:
mortalis: could you sniff usb trafic when in this 'other' dfu mode between player and RK27UpgradeImage?
Regarding playback - It always uses I2S bus. The difference may come if this bus is connected to internal codec (as in mine and knob's device) or external one. In the second case you have to know what codec have been used. If you are lucky we may have driver if you are not you will have to write one. Anyway the first step is to find out what codec is being used. I2S initialization is prepared to route signals to external pins if HAVE_RK27XX_CODEC is not defined.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version