Differences

This shows you the differences between the selected revision and the current version of the page.

howto:reflash_from_windows 2014/01/20 00:14 howto:reflash_from_windows 2018/05/17 14:30 current
Line 10: Line 10:
  * [[http://www.cygwin.com/|Cygwin]]   * [[http://www.cygwin.com/|Cygwin]]
  * [[http://downloads.secnem.com/Software/DNS-323/splitdns323fw.zip|splitdns323fw Utility]]   * [[http://downloads.secnem.com/Software/DNS-323/splitdns323fw.zip|splitdns323fw Utility]]
-  * [[http://www.dlink.ca/products/?pid=509|Factory]], [[https://code.google.com/p/alt-f/|ALT-F]] or Custom Firmware+  * [[http://support.dlink.ca/ProductInfo.aspx?m=DNS-323|Factory]], [[https://code.google.com/p/alt-f/|ALT-F]] or Custom Firmware
  * [[http://en.sourceforge.jp/projects/ttssh2/releases/|Tera Term]]   * [[http://en.sourceforge.jp/projects/ttssh2/releases/|Tera Term]]
Line 18: Line 18:
==== Serial Adapter ==== ==== Serial Adapter ====
You will need to get one of the serial adapters from the hardware guide [[hardware:serial|Serial Adapters]]. I used the USB cable out of the available options, but any will work. You will need to get one of the serial adapters from the hardware guide [[hardware:serial|Serial Adapters]]. I used the USB cable out of the available options, but any will work.
-==== Cygwin ====+ 
 +==== Firmware ==== 
 +The next step will be to either use a pre-split firmware (provided below) or use splitdns323fw to split your own into a Kernel and Ramdisk image. 
 + 
 +=== Pre-Split === 
 +== D-Link Firmware 1.10 (http://www.djtazie.com/) == 
 +  * [[http://www.djtazie.com/dns323/uKernel|Download uKernel]] 
 +  * [[http://www.djtazie.com/dns323/uRamdisk|Download uRamdisk]] 
 + 
 +=== Split your own === 
 +== Cygwin ==
Install Cygwin with the **Ruby interpreter** and any dependent packages. The remaining setup settings can remain as their defaults. Install Cygwin with the **Ruby interpreter** and any dependent packages. The remaining setup settings can remain as their defaults.
-==== splitdns323fw  ====+== splitdns323fw  ==
Here is where we'll split either a custom firmware or factory firmware in Cygwin. Here is where we'll split either a custom firmware or factory firmware in Cygwin.
Line 32: Line 42:
  - Once the splitdns323fw utility is finished you should have **two new files** in your home directory: **uKernel and uRamdisk**   - Once the splitdns323fw utility is finished you should have **two new files** in your home directory: **uKernel and uRamdisk**
-  * As a bit of help , i have put the 2 files for firmware 1.10 on here : http://www.djtazie.com/dns323/ and the above can be skipped if you want to use firmware 1.10+ 
==== Tera Term ==== ==== Tera Term ====
Line 40: Line 51:
  - **Power off** your DNS-323 and connect your serial adapter to the DNS-323 and your computer.   - **Power off** your DNS-323 and connect your serial adapter to the DNS-323 and your computer.
  - Record which COM port you're serial adapter is on, we'll need that to connect to the device //(don't know what it is? check your device manager)//.   - Record which COM port you're serial adapter is on, we'll need that to connect to the device //(don't know what it is? check your device manager)//.
-  - Open Tera Term and select 'Serial' and change 'Port' to the COM port your serial adapter is on and hit 'OK'. //[[http://picasaweb.google.com/100894775614123215686/DNS323#5596092646728012738|Example]]// +  - Open Tera Term and select 'Serial' and change 'Port' to the COM port your serial adapter is on and hit 'OK'. //[[https://plus.google.com/photos/100894775614123215686/albums/5596040608459226961/5596092646728012738|Example]]// 
-  - Go to the 'Setup' menu and then to 'Serial Port...', match the settings as follows and hit 'OK': //[[http://picasaweb.google.com/100894775614123215686/DNS323#5596092639770581410|Example]]//+  - Go to the 'Setup' menu and then to 'Serial Port...', match the settings as follows and hit 'OK': //[[https://plus.google.com/photos/100894775614123215686/albums/5596040608459226961/5596092639770581410|Example]]//
    * Baud rate: 115200     * Baud rate: 115200
    * Data: 8 bit     * Data: 8 bit
Line 48: Line 59:
    * Flow control: none     * Flow control: none
    * Transmit delay: 0 msec/char 0 msec/line     * Transmit delay: 0 msec/char 0 msec/line
-  - Power on your DNS-323 and **immediately enter** the following **key sequence rapidly**: ((I stationed my DNS-323 so I could have one hand on the power button and the other hand on the keyboard so when I turned the DNS-323 on I could **immediately** hit the keys. ****It requires quick timing**.** Don't be afraid to **unplug the DNS-323 and try again**, so long as you keep your serial adapter connected to your computer and leave Tera Term open you can repeat this until you get it. If you **unplug your serial adapter** or close Tera Term you'll need to start back at step 4.)) +  - Power on your DNS-323 and immediately (about 2 seconds) press **SPACE bar than 1** ((I stationed my DNS-323 so I could have one hand on the power button and the other hand on the keyboard so when I turned the DNS-323 on I could **immediately** hit the keys. ****It requires quick timing**.** Don't be afraid to **unplug the DNS-323 and try again**, so long as you keep your serial adapter connected to your computer and leave Tera Term open you can repeat this until you get it. If you **unplug your serial adapter** or close Tera Term you'll need to start back at step 4.  I had to use Spacebar + 1 key to get it to stop, I could hit he space bar and any other keys all day and it didn't break the autoboot. Spacebar + 1 worked form me on the first try.)). 
-   * SPACE BAR then '1' (the number one key)+If the serial cable is correctly wired, uboot will tell you to press a key to stop boot sequence
  - You should be prompted with a **Marvel>>** command line at this point.   - You should be prompted with a **Marvel>>** command line at this point.
    * Type in and hit enter: **loadb k**     * Type in and hit enter: **loadb k**
-  - Go to '**File' -> 'Transfer' -> 'Kermit' -> 'Send...'** and navigate to your Cygwin home directory where the uKernel and uRamdisk files are. Select the **uKernel** file first and hit 'Open'. **Once it is done** you will be prompted with another **Marvel>>** command line. ((The screen should indicate it's waiting for a binary transfer at this point. Tera Term will now send the kernel to the device which will take some time. Once it's finished sending it will erase the old kernel and flash the new one you just sent it.))+  - In Tera Term go to '**File' -> 'Transfer' -> 'Kermit' -> 'Send...'** and navigate to your Cygwin home directory where the uKernel and uRamdisk files are. Select the **uKernel** file first and hit 'Open'. **Once it is done** you will be prompted with another **Marvel>>** command line. ((The screen should indicate it's waiting for a binary transfer at this point. Tera Term will now send the kernel to the device which will take some time. Once it's finished sending it will erase the old kernel and flash the new one you just sent it.))
  - Type in and hit enter: **loadb r**   - Type in and hit enter: **loadb r**
-  - Go to **'File' -> 'Transfer' -> 'Kermit' -> 'Send...'** and navigate to your Cygwin home directory where the uKernel and uRamdisk files are. Select the **uRamdisk** file next and hit 'Open'. This will take longer than the kernel flash. **Once it is done** you will be prompted with another **Marvel>>** command line.+  - Back in Tera Term go to **'File' -> 'Transfer' -> 'Kermit' -> 'Send...'** and navigate to your Cygwin home directory where the uKernel and uRamdisk files are. Select the **uRamdisk** file next and hit 'Open'. This will take longer than the kernel flash. **Once it is done** you will be prompted with another **Marvel>>** command line.
  - Reboot the DNS-323.   - Reboot the DNS-323.
 +
==== Done  ==== ==== Done  ====
At this point - assuming there were no errors - your DNS-323 should boot up with out problems with a default installation of either the Factory or Custom firmware you picked. You can leave the serial adapter connected ((Repeat the same process as we did in Tera Term to flash the DNS-323, except don't press any keys)) and check on the installation / boot-up sequence of the device to make sure everything is working OK. At this point - assuming there were no errors - your DNS-323 should boot up with out problems with a default installation of either the Factory or Custom firmware you picked. You can leave the serial adapter connected ((Repeat the same process as we did in Tera Term to flash the DNS-323, except don't press any keys)) and check on the installation / boot-up sequence of the device to make sure everything is working OK.
===== Completion ===== ===== Completion =====
If your re-flashing was a success you can now disconnect the serial adapter and put your DNS-323 back together! If your re-flashing was a success you can now disconnect the serial adapter and put your DNS-323 back together!

Navigation

Personal Tools