LPC93x programming problems - buffer (pointer)

Started by Kristen, June 06, 2005, 10:00:18 AM

Previous topic - Next topic

Kristen


Andy Ayre

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.

Embedded Systems Academy, Inc.
support at esacademy dot com

Kristen

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?

Andy Ayre

I don't know what a "flank" is. You might be better off posting your question on 8052.com.

Embedded Systems Academy, Inc.
support at esacademy dot com

Kristen

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

Kristen

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.

erikm

Have anybody a other solution?

yes, but not in a FlashMagic forum