interesting...

Status
Not open for further replies.

mstechca

New Member
It seems that my code on the at89c2051 chip is working ok, but I have one concern.

When I tested the code with a ridiculously slow clock, :lol: I can see what is happening with it.

It seems that everything is working fine until the code is finished. Once the code is finished, it appears that the system goes into a state where all outputs are tristated? (not 100% off and not 100% on). I have not programmed anything in the higher addresses before.

Why does it do this?

Doesn't the rest of the flash memory contain code equivalent to ascii 0? Ascii 0 means NOP in 8051 language. And if a NOP occurs, nothing should happen right?

I didn't place code in my program that would clear every output.

Maybe it is an internal thing I don't know about.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…