We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I Have a relatively big (14K), program that I try to debug. One of the functions reads an I2C peripheral memory (bit banged) there is no interrupt related to this function or other running functions. when I program the code(14K)into my chip AT89C51RD2 It works and diaplays the result, but using Mon51, it dosn't! It reads all 0xFF from I2C peripheral memory. the irony is when the same function is in a light (<4K) project like hello world it works with mon51. regards
Are you using "Stop Program Execution with Serial Interrupt"? If so you need to reserve the space for the interrupt vector as explained in the Getting Started User's Guide, Chapter 11. Using Monitor-51, "Using Stop Program Execution with Serial Interrupt". Note that we also offer a Flash-based Monitor (FlashMon) that can work with just the on-chip memory resources of the Atmel AT89C51RD2.