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

uvision2 v2.31

I'm using an 8051/8052 emulator build with Siemens 80c535 uc, and i use uvision2 v2.31 to put the program in. This is a student version of uVision and i'm using it for educational purpose. my goal is to develop a system with serial communication. Problem is that when i try to emulate function printf my emulator is blocked, but on the other hand same thing works with function putchar(printf use putchar). Emulator was build under old version of uVision that worked under DOS and the function printf worked properly.
Thnx!

Parents
  • I found out that the problem is with SFR on 80c535. When I debug code in debugger some information is writed on some locations in SFR on plases where are interrupt flags. I think that printf is not properly translated into hex code or with some bug so my emulator goes to interrupt (don't know witch), but routine is not defined. Emulator was build on my faculty in 1995. I'l just skip printf and write function my self.
    Thanx to all who tried to help,
    good luck in your work with uc

Reply
  • I found out that the problem is with SFR on 80c535. When I debug code in debugger some information is writed on some locations in SFR on plases where are interrupt flags. I think that printf is not properly translated into hex code or with some bug so my emulator goes to interrupt (don't know witch), but routine is not defined. Emulator was build on my faculty in 1995. I'l just skip printf and write function my self.
    Thanx to all who tried to help,
    good luck in your work with uc

Children