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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/29/05 18:04
Read: times


 
#101737 - verifying.
Responding to: ???'s previous message
To verify that your programming ("burning" the flash) works, try runninmg "blinky" does it work?

I'm quite sure I'm getting my programs loaded. With my setup I can load code into flash by flipping a switch and running the associated "loader" program. Then i just flip the switch back to run.
When I make changes that change the test LED's sequence i can verify that they change.

1) 4k7 is way too high for a "flying lead" IIC bus, try 1k if your uC can sink 5ma (see darasheet).

Is it possible that this will work without any pullups? because I've tried all possible ways and nothing has changed.
this is the only device I'm testing with at this point so basically the bus goes from my '51 to the appropriate pins on the max6956.

When I was reading through the "IIC Bible" it says the bus could be up to 10 meters in length, surely with my jumpers being just 16 inches long the signal is getting there.

2) recode your timings to make the speed, say, 1/10 of what it is right now and see what happens.

I'm not sure I can get them any lower. I've got them set up as routines I can "lcall" and they just use a "djnz". The 1 I call "bitdly" does a djnz from 10. I've tried with as low as 1 and high as 255, makes no difference.
Is it possible for this '51 to even run fast enough to do this communication? When looking through some of the specs I noticed some time references to 350 ns.


I put a transistor and an LED on both the SDA and SCL so that I could see if anything was actually happening on the pins. a) that will kill the bus and

Connecting the SDA or SCL to the base of a transistor will "kill the bus"? I've got the collector connected to the V+ of my breadboard (5 volts) and the emitter connected to the anode of my led and then the cathode grounded (I hope I've stated anode and cathode correctly). That's how I monitor the pins. I've also probed the pin with my logic probe and see it pulsing when it should be.

b) your eyeballs can not follow a 100kHz blink.
When I increased my delay times I could see the blinks, just to verify that they were actually changing, then dropped them back down.



To verify that your programming ("burnin" the memory) works, try runninmg "blinky" does it work?

I didn't try "blinky" because before I moved to this point I had originally hooked a 5x7 LED to P1 and P3.
I then designed my font using this setup.
I even had it display the proper character based on whichever key was pressed.
My '51 is working if that's what you wanted to verify.


List of 29 messages in thread
TopicAuthorDate
Using IIC.ASM            01/01/70 00:00      
   address, speed            01/01/70 00:00      
      Yes            01/01/70 00:00      
   two things            01/01/70 00:00      
      Is HW I2C easier?            01/01/70 00:00      
         That may have been true then, this is no            01/01/70 00:00      
            Replies.            01/01/70 00:00      
               Check SBCMON            01/01/70 00:00      
                  SBCMON            01/01/70 00:00      
                     try a serial memory            01/01/70 00:00      
                     let us try another tack            01/01/70 00:00      
                        another tack.            01/01/70 00:00      
                           you have created just about the worst co            01/01/70 00:00      
                              Worst conditions.            01/01/70 00:00      
                                 oscilloscope            01/01/70 00:00      
                                    oscilloscope            01/01/70 00:00      
                                 To verify that your programming ("burnin            01/01/70 00:00      
                                    verifying.            01/01/70 00:00      
                                       Without a scope you are kind of stuck, s            01/01/70 00:00      
                                          Success.            01/01/70 00:00      
                                       back to the roots            01/01/70 00:00      
                                          Success.            01/01/70 00:00      
               To Mike!            01/01/70 00:00      
                  Hello Mehdi            01/01/70 00:00      
                     Or...            01/01/70 00:00      
                        this is a bootleg, use the original            01/01/70 00:00      
                        i2cbits            01/01/70 00:00      
                           you may want to go here            01/01/70 00:00      
   Clock width is only 2 uSec in IIC_ASM ex            01/01/70 00:00      

Back to Subject List