Hello,
i have a problem with my mcu.
I use
For non-ISP questions you are better off posting your question on the discussion forum at 8052.com.
Hint: for printf with 8-bit values try %bx instead of %x.
i have found a other reason, if i send to the i2c driver data from the main c file it is ok but i send from a other c file it dont ok.
the first command i send is 12 flanks the secound command must be 8 flanks but it are 12 flanks.
ram problems?
I don't know what a "flank" is. You might be better off posting your question on 8052.com.
ok it is not posible i found more about the problem:
in the main function it can send and recv successfull data to and from i2c bus but outsite the main function it don't work. (the main funktion call a other funktion).
flank = from a digital line (SDA), the changing from low to high.
i can measuring that with a logicprobe.
thanks
i "found" now the problemm,
it was a problemm for the Keil Compiler C51 - the Optimization Level 6 was to high with level 1 it works but the code is 1 kb bigger thats nod good.
Have anybody a other solution?
Thanks.
Have anybody a other solution?
yes, but not in a FlashMagic forum