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
|-+  Third Party
| |-+  Repairing and Upgrading Rockbox Capable Players
| | |-+  iriver H340 with 240GB drive - success!
« previous next »
  • Print
Pages: 1 2 [3]

Author Topic: iriver H340 with 240GB drive - success!  (Read 33867 times)

Offline some1

  • Member
  • *
  • Posts: 16
Re: iriver H340 with 240GB drive - success!
« Reply #30 on: January 11, 2012, 06:06:06 PM »
Thanks for your post, you can speed up transfers as mentioned in another post.

As you have gone this far, why not enable UDMA permanently?

Ground WP pin on the board just before pressing Y to commit a write to EEPROM.
Logged

Offline guzzi75

  • Member
  • *
  • Posts: 13
Re: iriver H340 with 240GB drive - success!
« Reply #31 on: January 11, 2012, 07:03:14 PM »
Thanks but libusb is not compatible with my Windows 7 x64.

Is there the same process from a linux box?

Good news, the full copy of 200GB is nearly complete. it was delayed because my desktop has been to sleep during lunch time) :)


Post Merge: January 11, 2012, 07:09:45 PM
Well i just modify the cache in windows 7 for this drive: enhance performance.
It is 12.7MB/s, slightly better.


Post Merge: January 11, 2012, 07:12:15 PM
Found the source for Linux.
http://www.rockbox.org/wiki/UDMAonUSB
At the end of the page
« Last Edit: January 11, 2012, 07:12:15 PM by guzzi75 »
Logged

Offline some1

  • Member
  • *
  • Posts: 16
Re: iriver H340 with 240GB drive - success!
« Reply #32 on: January 11, 2012, 07:14:21 PM »
Hmmm... i dunno, what about XP emulation in win7?  XP mode or whatever its called, will that work, i bet it doesn't.

If there is a linux version then why not, find the WP pad, and arrange a wire to ground, so anything earthed or ground will do i should imagine, i have not done any of this yet but intend too, good to see its stil possible with current builds.
Logged

Offline guzzi75

  • Member
  • *
  • Posts: 13
Re: iriver H340 with 240GB drive - success!
« Reply #33 on: January 11, 2012, 07:36:39 PM »
The main point is to stick to revision 19039 and a non-european firmware.
19039,  i read somewhere that someone succesfully installed it on time. I didn't want to stress more my lucky star :)
And non european firmware, it is pointed out in flyspray.
I am currently compiling the tool under linux.
Il needs libusb-dev preinstalled on system
sudo apt-get libusb-dev
to patch, put the diff file in src subfolder of the source (windows package)
patch < ../../isd300-linux-0.9.2.diff
make clean
make

Post Merge: January 11, 2012, 08:17:16 PM
verify that it is online
=> usb-devices
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1006 ProdID=3003 Rev=01.00
S:  Manufacturer=iRiver
S:  Product=iRiver H300 Series

S:  SerialNumber=0123456789AB
C:  #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr=98mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

Nice, launch copy:
14.766s to copy 72710821 Bytes
activate udma
sudo ./isd300_udma
10.626s
15s
16s
13s
Not very stable. maybe cause the ubuntu VM.
I will stay with no udma.
Better maybe worst.


And i can launch original firmware :) i just tested it.
And finally as my bootloader is smaller, it seems faster (just a little bit).






Post Merge: January 11, 2012, 08:37:26 PM
Whaoo,
i reconnected the device to Windows 7 to finish the copy.
It is 19MB/S to 22MB/S

as i rebooted the device and PC, it should be the activation of writeback cache under Windows 7 x64.
So the upgrade with udma to eeprom is not needed.
« Last Edit: January 11, 2012, 08:37:26 PM by guzzi75 »
Logged

Offline some1

  • Member
  • *
  • Posts: 16
Re: iriver H340 with 240GB drive - success!
« Reply #34 on: January 12, 2012, 04:42:02 AM »
I have the original 40gb drive at the moment, if i enable UDMA, reads go from 12mb/s to 19mb/s... idealy we want to reach 30mb/s as that saturates USB 2.0.

Still it looks like you are getting some great speeds there.
Logged

Offline guzzi75

  • Member
  • *
  • Posts: 13
Re: iriver H340 with 240GB drive - success!
« Reply #35 on: January 12, 2012, 05:53:25 PM »
After one day use, i have more to write :)
the root bug is around HDD spin down.
With a spin down timer to 5s, when screen get blank, sometimes the player hangs and i have to reset it a few times before booting up.




Post Merge: January 13, 2012, 11:45:02 AM
Hello,
I tried the last git.
With the same comments i made before: disable ide spin down and usb in bootloader
then compile and put in player.
i am lucky with those mods i didn't brick for now.
Will try to go a bit further :)

A bug: during boot of rockbox (main apps), it scans and built my long playlist (or maybe load to ram the db). After 5s, the screen fades off. If don't wait the end of the load, if i click a button on the H340, le load appears broken. It seems that it is not compatible with other threads.
« Last Edit: January 13, 2012, 11:45:02 AM by guzzi75 »
Logged

Offline guzzi75

  • Member
  • *
  • Posts: 13
Re: iriver H340 with 240GB drive - success!
« Reply #36 on: January 23, 2012, 12:36:56 PM »
So i modify timemout to 60s.
Nice now, the player is working well for nearly two weeks.

One persistent bug: after normal shutdown, i may have to reset the device to get Rockbox launch.
Logged

Offline frunsel

  • Member
  • *
  • Posts: 3
Re: iriver H340 with 240GB drive - success!
« Reply #37 on: January 26, 2015, 12:42:06 PM »
Hello guzzi75,

i have also an H340 with 240GB. I have Freezes by booting with Bootloader r17607M-080.522 from
http://cassland.org/rockbox/H300% 20r17607M-080.522% 20131kr.zip

Your Bootloader on http://www.packupload.com/GWJUHNIQB82 is offline.

Can you your r19309M-120111 Firmware (*.hex) send me on andre.naumann@t-online.de ?

My name is andre naumann and i´m german. my english is very bad. Sorry.

frunsel
Logged

  • Print
Pages: 1 2 [3]
« previous next »
+  Rockbox Technical Forums
|-+  Third Party
| |-+  Repairing and Upgrading Rockbox Capable Players
| | |-+  iriver H340 with 240GB drive - success!
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.078 seconds with 18 queries.