2012年10月17日星期三

Use of Logic Analyzer for State Analysis


  After the last two experiments,I have some feeling about doing experiment.The moment that I get the result is unforgettable , and I really enjoy this moment.
Today I will do the Experiment 3,Use of Logic Analyzer for State Analysis.Through this experiment I want to study the use of logic analyzer for state analysis , and study the program with disassembler in state analysis.
Before the experiment, I have to understand what is the state of microprocessor ,which is illustrated as left:






  And we have to let compiler know how to arrange the structrue,so we  have to define a code segment.

Define a code segment at 0F800H

This is the first time that I contact with the assemble language, it is a basic language for the computer, and through the assembly we can translate the assemble language into the machine language.

EPROM(Erasable programmable Read Only Memory)

After finishing the language in the computer ,we have to put the code into the EPROM.EPROM s a type of memory chip that retains its data when its power supply is switched off. In other words, it is non-volatile. It is an array of floating-gate transistors individually programmed by an electronic device that supplies higher voltages than those normally used in digital circuits. Once programmed, an EPROM can be erased by exposing it to strong ultraviolet light source (such as from a mercury-vapor light). EPROMs are easily recognizable by the transparent fused quartz window in the top of the package, through which the silicon chip is visible, and which permits exposure to UV light during erasing.
  Then we put the EPROM in the prototype board and then we will get the result soon.



 












1.Connect the POD1 and POD3 with the PCB circuit.

 2.Program for USB EPROM Emulator



3.Load configuration files. ET8088_A._E, I8088

4.Format, assign pins.

5.Set trigger condition.


 Then we have get the result just showing in the below:

The result of the experiment

The result of the experiment

  During the experiment we have known how to use logic analyzer for state analysis.And we have felt the powerful effect of assembler language.From the operand we know what the cpu is doing in the current time.And we also know what the real meanings are for the operands such as “MOV” ”JUMP” ”LOOP”.Although we have just contacted the assembler language, the experiment can provide us with a background for us ,which is benefit for us further study.
  I have just known a little bit about Microprocessor,and what I have done is just the follow the steps, which comes from the teacher.I have no idea about the coming mini project. But I have talk to my senior sister(師姐),she told me don't worry about that. I have to read the textbook more carefully to let the knowledge more solidly.  


Referencehttp://en.wikipedia.org/wiki/EPROM
          2012exp3_state_analysis(2012.09.27).pdf 

   

4 条评论:

  1. To tell the truth, it is very hard to understand for a person who have not learned assembly language. Congradulations to your success. But it will be better to explain more about the detail of how you write the language and put it into the EPROM. I have searched the language on the internet but the only thing I got was that it is a basic and low-level language. I am very interesting in the inner relationship between assmbly language and the machine. Why the machine can understand it instead of other languages? what the producer of the machine do to the machine?

    回复删除
  2. I mean the basic theory that the machine can understand the language, and the basic characristics that differ it from other language.

    回复删除
  3. It is really helpful to combine theories with real world, just like the relationship between this course and IERG3230. The description of the process is really indetail, and the feelings about the course is authentic. In my opinion, it's really important to understand the meaning of each experiment as well as each step in the experiment, not just follow the steps given by the teacher. Look forward to your mini-project, though I still have no idea what to do also... >_<

    回复删除
  4. I think state analysis is a powerful tool for program debugging because, as we can see, it can trace the running of the program.
    By the way, laboratory usally seems to be interesting but in fact, quite troubling sometimes. All we can do is just to prepare more before the class.

    回复删除