Sample Application Programs
Flash EEPROM Test
Main Program.
The following is the main program:
1560 !/////////////// Main /////////////////////////////////////////////
1570 CALL Init_hp4155
1580 ON INTR 8 CALL Err_check
1590 ENABLE INTR 8;2
1600 !
1610 CALL Test_setting
1620 CALL Get_file
1630 !
1640 Str_num=1
1650 FOR I=1 TO Meas_points
1660 CALL Stress_loop(I)
1670 IF Meas_str_num(I)>4500 THEN CALL Calibration
1680 !
1690 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'MEM2.STR','MEMORY'"
1700 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'MEM1.MES','MEMORY'"
1710 CALL Vth_meas("Write",I)
1720 !
1730 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'MEM3.STR','MEMORY'"
1740 CALL Vth_meas("Erase",I)
1750 !
1760 CALL Trans_data(I)
1770 CALL Stress_graph(I)
1780 !
1790 IF Vth_w(I)<.1 OR Vth_e(I)<.1 THEN
1800 PRINT " ### The Device is broken. Test Aborted ###"
1810 PRINT " Final Stress Times : ";Str_num
1820 CALL Final_session
1830 STOP
1840 END IF
1850 Str_num=Str_num+1
1860 NEXT I
1870 !
1880 CALL Final_session
1890 !
1900 END
6-6