background image

Revision 1.1

4

Download configuration options include enabling or disabling the Watchdog Timer, Power-up
Timer, Brown-out Reset, In-Circuit Debugger and Code Protection modes.  Refer to the
datasheet for the target microcontroller for a full description of each available download option.  

If a PIC Flash device is code protected, the read function will return all 1’s for the data read, and
a standard bulk erase will not work correctly.  The only way to erase a device that was
previously programmed with code protection turned on is by issuing commands 1 and 7 while in
Load Configuration mode.   The download application mentioned above will perform both a
standard bulk erase and a code-protected bulk erase when the Erase function is selected.  This
allows the target processor to be code protected such that the firmware cannot be read but will
still allow for future downloads to occur.

A firmware version string of 16 characters (maximum) can be written to the EEPROM memory
in the download microcontroller.  This string is read automatically every time the download
process is initiated, and can be written any time the download application is running and
connected to the target.  EEPROM memory in the download microcontroller was used for
storage of the version string instead of the target microcontroller’s EEPROM so that all of the
EEPROM memory in the target would remain available for project use.

The Connect function will attempt to initiate communications with the DLP-IO16 board using
the serial number, the device description string or just the device number found in the Search edit
box.  The character string in the text box can either be entered manually by the user or it can be
placed there as a result of using the Search function.  

If the desired DLP-IOx board is present in the system then the Connect function will be
successful and the version string for the attached board will appear in the Firmware Version edit
box.  Additionally, as part of the Connect process, the processor type (16F84A or 16F877) will
be automatically selected by the processor selection radio buttons.  Connect mode can be
terminated either by clicking on Disconnect or by pressing the reset button while the Connect
LED is solidly lit.

The Open function will launch a dialog that allows selection of the HEX file that is to be written
to the Flash memory of the target processor.  As the HEX file is loaded, each line of data in the
file is checked for errors by calculating and verifying its checksum.  The HEX file can contain
configuration settings, processor ID codes and EEPROM data as well as program data.

The Blank Check function will read the entire contents of the Flash memory program area and
verify that every location is set to an all 1’s condition.  This is the expected state of the Flash
memory after an Erase function has been successfully completed.

The Program function will read the currently selected HEX file, verify the data to be written and
then send the data to the Download processor.  Each 14-bit word is checked immediately after it
is written for errors.  Any errors that occur during the download process are immediately
reported and the download process if halted.  If the target processor is not blank the Program
function will report an error.

Содержание DLP-IO16

Страница 1: ...n be written directly into the 16F84A s Flash memory without the need for an external device programmer PC application software that runs under Windows 98 2000 is available from dlpdesign com as a free download that performs the Flash download process The DLP IO16 connects to the user s hardware via 8 buffered digital inputs and 8 latched digital outputs The digital outputs are implemented using a...

Страница 2: ...f the D2XX Direct driver adds support for simultaneous access and control of multiple FT8U245AM devices An Extended Open function FT_OpenEx has been added allowing the device to be opened either by it s Product Description or by Serial Number both of which can be programmed to be unique A complementary List Devices function FT_ListDevices has been added to allow application software to determine w...

Страница 3: ...function that allows multiple DLP IOx boards to be connected to the same PC in a well organized manner This function will open the named device and return a handle that will be used for subsequent accesses When the Search button is clicked a dialog window is opened and all FTDI devices connected to the system are listed for easy selection The device name can be its serial number or a device descri...

Страница 4: ...ription string or just the device number found in the Search edit box The character string in the text box can either be entered manually by the user or it can be placed there as a result of using the Search function If the desired DLP IOx board is present in the system then the Connect function will be successful and the version string for the attached board will appear in the Firmware Version ed...

Страница 5: ...zer program from either dlpdesign com or ftdichip com Unzip the package and place it in a folder on the hard drive 3 Download the Windows download application from dlpdesign com unzip the program file and place it either on the desktop or in a folder on the hard drive 4 Download the example software DLPIO16X from dlpdesign com unzip the package and place it in a folder 5 Connect the DLP IO16 board...

Страница 6: ...will write the version string to the download processor Click on Disconnect and then once again on Connect The new version will appear in the Status Version edit box 10 Click on Open and select the HEX file that was stored to the hard drive in step 4 11 Click on Erase to bulk erase the Flash memory in the DLP IO16 s target processor Click on the Program button and wait for the program process to c...

Страница 7: ...7 8 9 10 11 12 Digital Outputs 15 16 17 18 19 20 21 22 Digital Inputs The External reset pin pin 1 can be used by the target electronics to reset the USB interface on the DLP IO16 The target microcontroller reset signal pin 2 is made available such that target electronics can also be held in the reset state if desired during the firmware download process Five volt power is made available for targe...

Страница 8: ...IN 1 0 Indicates a high to low transition POWER SUPPLY The DLP IO16 takes all needed operational power from the host PC s USB port When the host PC goes to Standby mode the DLP IO16 will also go to Standby mode after 3 milliseconds of no USB bus activity If the 5 volt power for the DLP IO16 board is supplied by the target electronics via the Digital I O Interface connector JP3 then the jumper at J...

Страница 9: ...wise noted 1 Pin Signal Type Description 2 75 typ 69 9 typ 2 75 typ 69 9 typ 21 typ 8 typ 50 typ 12 7 typ 2 25 typ 57 2 typ 2 25 typ 57 2 typ 97 typ 24 7 typ 1 24 typ 31 5 typ 1 17 typ 29 7 typ 95 typ 24 1 typ 59 typ 15 0 typ 49 typ 12 6 typ 42 typ 10 7 typ Reset Test ...

Страница 10: ...claimer Neither the whole nor any part of the information contained in or the product described in this datasheet may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder This product and its documentation are supplied on an as is basis and no warranty as to their suitability for any particular purpose is either made or implied DLP D...

Страница 11: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information DLP Design DLP IO16 ...

Отзывы: