This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

mem mapping of I2C interface

Is there a particular reason I have to memory map the I2C interface registers? They are already mapped in the lpc21xx.h file but when in simulator mode I get read/write permission errors unless I map them via Debug->Memory Map. This seems odd to me as I am also using other registers mapped in the lpc21xx.h file that do not require me to perform the mapping again when debugging.
-m

Parents Reply Children
  • I'm using V1.3. I2C simulations is not available for the lpc2129 which is on my MCB2100.

    I take it that I'm wrong in assuming that the lpc21xx.h file (which does define the I2C registers w/ the correct memory locations is not being used to generate the mapping. Is there another file I can access (or create) that will allow me to do this so that I don't have to do the re-mapping manually each time I run the simulator?