Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/06/02 10:56
Read: times


 
#19458 - RE: The code is crashing :(
Hi Craig + Andy,

I am using assembly.

No I am not using the UART.

Actually the data is coming off an encoder which encodes with pulse width modulation.

In the idle state the pulse is constantly low so as the pulse goes high the input port the software starts measuring the pulse widths according to the data sheet of the encoder chip.

The difference between good and bad data is exactly the same way as you mentioned that the received byte is different from the expected byte.

The expected byte is read from the look up table.

Hey, its the first time I am effectively using lookup table in my code. Can it be a reason that the address offset is tooooo big that it never returns.

I don't think it can happen cuz, whether data bad or good the address offset is always constant and stored in a register and used by (mov a @a+pc).......

Simon

List of 18 messages in thread
TopicAuthorDate
The code is crashing :(            01/01/70 00:00      
RE: The code is crashing :(            01/01/70 00:00      
RE: The code is crashing :(            01/01/70 00:00      
RE: The code is crashing :(            01/01/70 00:00      
RE: The code is crashing :(            01/01/70 00:00      
RE: The code is crashing :(            01/01/70 00:00      
RE: The code is crashing, Erik.            01/01/70 00:00      
RE: The code is crashing, Craig:            01/01/70 00:00      
RE: The code is crashing, Craig:            01/01/70 00:00      
RE: See the mail Craig:            01/01/70 00:00      
RE: See the mail Craig:            01/01/70 00:00      
RE: The code is crashing, Craig:            01/01/70 00:00      
RE: I buy your idea, Andy:            01/01/70 00:00      
RE: Sorry Craig.            01/01/70 00:00      
Crashing            01/01/70 00:00      
RE: The code is crashing :(            01/01/70 00:00      
RE: Hang on:            01/01/70 00:00      
RE: The code is no more crashing :)            01/01/70 00:00      

Back to Subject List