How to write information into the device

Top  Previous  Next

 

1.

Click the Options tab in the Program Manager window. Check the options you need. We recommend that you always check the Blank check before programming and the Verify after programming check-boxes to make programming more reliable.
 

2.

Click the Program Manager tab. Select the Program line in the Function box, and double click it to start programming  of the primary memory layer (Code) or click the Execute button to do so. Alternatively, you can do the same by clicking the big Program button or selecting the command Menu > Commands > Program.
 

3.

Wait for the message Programming … OK in the Operation Progress box of the Program Manager tab. If an error has occurred the ChipProgUSB issues an error message.
 

4.

Execution of the main Program function (always shown in the beginning of the Function list) writes a specified buffer layer content to the Code device memory. However, other buffer layers may exist for the selected device (Data, User, etc.). If more than one buffer layer exists for the selected device go down to the list of functions, expand those that are collapsed and execute the Program functions for as many types of memory as the device has (Data, User, etc.). Skip this if just one memory layer Code exists for the device.
 

5.

IMPORTANT! After programming of all the memory layers (Code, Data, User, etc.) you need to program the options preset in the Device and Algorithm Parameters Editor window, if they have been modified. Go down to the Device parameters & ID line, expand it if collapsed, select the Program function and double click it. Continue until every parameter that was changed in the Device and Algorithm Parameters window is successfully programmed.

 

6.

Some microcontrollers can be protected against unauthorized reading of the written code by setting a set of Lock bits. Go down to the Lock bits line, expand it if collapsed and double click the lock bit# lines one by one. You can optionally lock only certain parts of the device memory. Continue until every lock bit is set.
 

7.

After every operation above make sure that you watch the Ok [xxxxx...  Ok] message in the Operation Progress box of the Program Manager tab. In case you get an error message stop the programming and troubleshoot the issue.