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 |
EPROM(Erasable programmable Read Only Memory) |
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.
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.
Reference : http://en.wikipedia.org/wiki/EPROM
2012exp3_state_analysis(2012.09.27).pdf
Reference : http://en.wikipedia.org/wiki/EPROM
2012exp3_state_analysis(2012.09.27).pdf
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?
回复删除I mean the basic theory that the machine can understand the language, and the basic characristics that differ it from other language.
回复删除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... >_<
回复删除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.