Hello, I have developed a software using code architect's I2C software and it works fine when I use the EPM900 emulator. However, when I burn it into a PLC932, it works sometimes and when I add a little code to it or change some statements around, it stops working. The program size is 2200 or so bytes and I do not exceed the data and xdata limits of the chip and all variables are being initialized. Can anyone think of what I am doing wrong? I would appreciate any hints. This thing is driving me crazy! Thanks.
Is it possible that I am setting up uvision incorrectly? Once I want to burn an eeprom which I use the MCB900 and flash to do, what do I need to change on my target setup, given that the setup is for the emulator? Thanks
Yes I do. Thanks.
forgot one: do you have pullups (I use ik) on the IIC wires, missing those resistors MAY work with an emulator and not with a chip. Erik
Thanks, they are. I will spend some time probing around the board, since it sounds like the issue may not be the software. Thanks again.
thumbs Not IIFc but IIC Erik
Thank you for your response. For clocking I use the chip's internal clock. I have tied the reset high. I do not use push-pull, I will look at this more carefuly. I have checked power and ground. Can you tell me what IIFC pins are? Thanks.
emulator works, chip doesn't usual causes: a) Clocking (if internal to ICE) b) Resets c) power and ground e) configuration (if I remember, there is something about the EPM900 killing PushPull) and the IIFC pins MUST be open collector. Erik
View all questions in Keil forum