| Electronic Components Datasheet Search |
|
HT83F02 Datasheet(PDF) 14 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT83F02 Datasheet(HTML) 14 Page - Holtek Semiconductor Inc |
|
14 / 64 page ![]() HT83F02 Rev. 1.20 14 November 19, 2010 Because the TBLH register is a read-only register and cannot be restored, care should be taken to ensure its protection if both the main routine and Interrupt Service Routine use table read instructions. If using the table read instructions, the Interrupt Service Routines may change the value of the TBLH and subsequently cause errors if used again by the main routine. As a rule it is recommended that simultaneous use of the table read instructions should be avoided. However, in situations where simultaneous use cannot be avoided, the inter- rupts should be disabled prior to the execution of any main routine table-read instructions. Note that all table related instructions require two instruction cycles to complete their operation. Instruction Table Location *10 *9 *8 *7 *6 *5 *4 *3 *2 *1 *0 TABRDC [m] P10 P9 P8 @7 @6 @5 @4 @3 @2 @1 @0 TABRDL [m] 1 1 1 @7 @6 @5 @4 @3 @2 @1 @0 Table Location Note: *10~*0: Current Program ROM table P10~P8: Write P12~P8 to TBHP pointer register @7~@0: Write @7~@0 to TBLP pointer register In Circuit Programming The provision of Flash type Program Memory provides the user with a means of convenient and easy upgrades and modifications to their programs on the same device. As an additional convenience, Holtek has provided a means of programming the microcontroller in-circuit us- ing a 5-pin interface. This provides manufacturers with the possibility of manufacturing their circuit boards com- plete with a programmed or un-programmed microcontroller, and then programming or upgrading the program at a later stage. This enables product manufac- turers to easily keep their manufactured products sup- plied with the latest program releases without removal and re-insertion of the device. MCU Programming Pins Function PA0 Serial Data Input/Output PA2 Serial Clock RES Device Reset VDD Power Supply VSS Ground The Program Memory can be programmed serially in-circuit using this 5-wire interface. Data is downloaded and uploaded serially on a single pin with an additional line for the clock. Two additional lines are required for the power supply and one line for the reset. The techni- cal details regarding the in-circuit programming of the devices are beyond the scope of this document and will be supplied in supplementary literature. During the programming process the RES pin will be held low by the programmer disabling the normal opera- tion of the microcontroller and taking control of the PA0 and PA2 I/O pins for data and clock programming pur- poses. The user must there take care to ensure that no other outputs are connected to these two pins. Programmer Pin MCU Pins RES PC0 DATA PA0 CLK PA2 Programmer and MCU Pins * * * W r i t e r _ V D D R E S D A T A C L K W r i t e r _ V S S T o o t h e r C i r c u i t D A T A C L K V S S R E S V D D W r i t e r C o n n e c t o r S i g n a l s M C U P r o g r a m m i n g P i n s Note: * may be resistor or capacitor. The resistance of * must be greater than 1k W or the capacitance of * must be less than 1nF. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |