Editing Programming the Device

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 63: Line 63:
 
==Download and Loading Firmware==
 
==Download and Loading Firmware==
 
===dsPicProgrammer User Guide===
 
===dsPicProgrammer User Guide===
[http://chungyan5.no-ip.org/download/software/dsPicProgrammer/dsPicProgrammerUserGuide_V2.0.1.pdf dsPicProgrammerUserGuide_V2.0.1]
+
[http://chungyan5.no-ip.org/open_data/electronic_computer/platforms/dspic/dsPicProgrammer/dsPicProgrammerUserGuide_V2.0.0.pdf dsPicProgrammerUserGuide_V2.0.0]
 
 
 
===Hardware Requirement===
 
===Hardware Requirement===
 
#PC (Linux/Windows) with COM Port OR USB-COM converter cable
 
#PC (Linux/Windows) with COM Port OR USB-COM converter cable
Line 71: Line 70:
  
 
===Software Requirement===
 
===Software Requirement===
#[http://chungyan5.no-ip.org/vc/?root=dspicProgrammer dsPicProgrammer]
+
#[http://java.sun.com/javase/downloads/index.jsp JAVA JDK or JRE]
 +
#[http://users.frii.com/jarvi/rxtx/download.html RXTX Driver]: Download rxtx-2.1-7-bins-r2.zip or later
 +
#[http://chungyan5.no-ip.org/vc/?root=dspicProgrammer dsPicProgrammer] ('''dsPicProgrammer.jar''')
  
 
===Files===
 
===Files===
Line 79: Line 80:
  
 
====Setup COM Port====
 
====Setup COM Port====
[[Image:DSC00921.JPG | 480px]]
+
:[[Image:DSC00921.JPG]]
 
*Connect your USB-COM converter cable to your computer
 
*Connect your USB-COM converter cable to your computer
 
*Or Using a real COM PORT
 
*Or Using a real COM PORT
 +
  
  
 
----
 
----
 
=====Find out your COM port Number=====
 
=====Find out your COM port Number=====
[[Image:1.jpg | 480px]]
+
[[Image:1.jpg]]
 
*Go to Control Panel \ Device Manager
 
*Go to Control Panel \ Device Manager
 +
  
  
 
----
 
----
[[Image:2.jpg | 480 px]]
+
[[Image:2.jpg]]
 
*Find out your Device COM Port Number
 
*Find out your Device COM Port Number
 +
 +
  
  
 
----
 
----
 
====Get the Dspic Programmer====
 
====Get the Dspic Programmer====
[[Image:programmer_3.jpg |480px]]
+
[[Image:programmer_3.jpg]]
 
*Download [http://chungyan5.no-ip.org/open_data/electronic_computer/platforms/dspic/dsPicProgrammer/dsPicProgrammer3.00.01s.zip dsPicProgrammer.zip], from [http://chungyan5.no-ip.org/open_data/electronic_computer/platforms/dspic/dsPicProgrammer/ws/ updated directory] or [http://chungyan5.no-ip.org/vc svn server]
 
*Download [http://chungyan5.no-ip.org/open_data/electronic_computer/platforms/dspic/dsPicProgrammer/dsPicProgrammer3.00.01s.zip dsPicProgrammer.zip], from [http://chungyan5.no-ip.org/open_data/electronic_computer/platforms/dspic/dsPicProgrammer/ws/ updated directory] or [http://chungyan5.no-ip.org/vc svn server]
 
*Unzip the dsPicProgrammer.zip, then you have an unziped file.
 
*Unzip the dsPicProgrammer.zip, then you have an unziped file.
 +
 +
  
  
 
----
 
----
 
====Download Firmware====
 
====Download Firmware====
[[Image:programmer_4.jpg |480px]]
+
[[Image:programmer_4.jpg]]
 
*Save your .hex file(foo.hex) to the folder called firmware.
 
*Save your .hex file(foo.hex) to the folder called firmware.
 
*Run dsPicProgrammer.bat (Windows) / dsPicProgrammer.sh (linux)
 
*Run dsPicProgrammer.bat (Windows) / dsPicProgrammer.sh (linux)
 
**Make sure your device is connected through a "Direct RS232 Cable" to PC Serial Port.  
 
**Make sure your device is connected through a "Direct RS232 Cable" to PC Serial Port.  
 +
 +
  
  
 
----
 
----
[[Image:programmer_6.jpg |480px]]
+
[[Image:programmer_6.jpg]]
 
*Choose a COM port
 
*Choose a COM port
*Choose a baudrate
+
*Choose a braudrate
 
::115200 is communication speed [in bps]
 
::115200 is communication speed [in bps]
 +
 +
  
  
 
----
 
----
[[Image:programmer_7.jpg |480px]]
+
[[Image:programmer_7.jpg]]
 
*Choose a .hex file
 
*Choose a .hex file
 +
 +
 +
  
  
 
----
 
----
[[Image:programmer_8.jpg |480px]]
+
[[Image:programmer_8.jpg]]
 
*Press start  
 
*Press start  
 
*Then press Yes to confirm programming the device
 
*Then press Yes to confirm programming the device
 +
  
  
  
 
----
 
----
[[Image:programmer_9.jpg | 480px]]
+
[[Image:programmer_9.jpg]]
 
*The status during programming
 
*The status during programming
 +
 +
  
  
 
----
 
----
[[Image:programmer_10.jpg |480px]]
+
[[Image:programmer_10.jpg]]
*The programming have been completed, press OK the close the message box
+
*The the programming have been completed, press OK the close the message box
 +
 
 +
 
  
 
----
 
----

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)