Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by waterman

  1. W

    Basic variable declaration in C.

    Initiation of variables depends on the implementation of compilers
  2. W

    I2C protocol for 8051

    Visit NXP website for I2C-related specs and documents. They will tell you how to use I2C. For reading/writing serial EEPROM (24Cxx series), you could use the I2C master controller if your MCU has it. Or you could use the IO port and firmware to build an I2C master controller by your own. I...
  3. W

    8051 compatible MCU (Atmel 89S52) : Input questions

    Re: 8051: Input questions 8051 output structure, week 1 strong 0
  4. W

    Error when using Keil for 89S52: C241: auto segment too large

    error c241 keil It's about where your variables/data stored See https://www.keil.com/support/man/docs/c51/c51_ap_overlayseg.htm https://www.keil.com/support/man/docs/c51/c51_ap_smallmodel.htm https://www.keil.com/support/man/docs/c51/c51_ap_compactmodel.htm...
  5. W

    Error when using Keil for 89S52: C241: auto segment too large

    keil model dependent maximum Answer is here: https://www.keil.com/support/man/docs/c51/c51_c241.htm The required space for local objects exceeds the model dependent maximum. The maximum segment sizes are defined as follows: SMALL 128 bytes COMPACT 256 bytes LARGE 65535 bytes
  6. W

    8051 built in memory and external memory

    It is possible. If the code address is beuond the internal flash memory, 8051 will fetch the code from external memory.
  7. W

    Question about I2C interface

    In addition to SDA/SCL, don't forget the ground. Pull-up resistors on one side only.
  8. W

    MON51 Memory Considerations

    FYR If you don't need XDATA to store your volatile data, I suggest you map SRAM into 0x8000~0xFFFF. By doing this, the max code for your program will be 32Kbytes. If you map SRAM into 0x0000~0xFFFF, the first 8Kbytes can not be used for program code in your case. You have let /EA = 1 for...
  9. W

    mon51-store code at whr ?

    store code #16: MOVC command will try to access the program ROM space. In this case (MON51), the results of MOVC and MOVX should be the same for the external RAM space, which is used for CODE and XDATA simutaneoulsy now. I suggest that you check /EA, /PSEN, ALE first. (I made some mistakes...
  10. W

    mon51-store code at whr ?

    what does 35 whr mean Yes, only TXD/RXD and GND needed for connection. And the baud rate on both side (MCU and PC) should be the same. For this reason, the clock source of MCU should be accurate enough. Moreover, an RS-232 driver (like Maxim MAX232) is needed The connection should be like this...
  11. W

    mon51-store code at whr ?

    keil mon51 commands u mean download to external ram ??... ==> Yes, uV3 will do this. To used MON51 for debugging, you should change the MCU architecture from Havard to von Neumann. An external SRAM is used to store user's program. I used it for debugging several years. It could get rid of...
  12. W

    mon51-store code at whr ?

    what does 37 whr mean Do you use Keil's compiler? If yes, MON51 is programmed within flash. You should use SRAM as program memory and user's program is downloaded into by the IDE (uV3).
  13. W

    New 32 bit Pic micros.

    For 32-bit MCU ARM --> Cortex M3 (profile ARMv7-M) MIPS --> MIPS32 M4K (profile MIPS16e) I think both cores will be adopted by some companies.
  14. W

    C++ for embedded chip

    For Cortex M3, C++ may be as good as C. Use it if you are familiar with C++. The key point is if the compiler could produce a good machine code. The architecture of Cortex M3 is adapted to use the high-level programming language.
  15. W

    Anyone using Keil, MetroWorks, GreenHills IDE for ARM7?

    nohau emulator +forum The latest version from Keil (RV-MDK) uses kernels from ARM's RVDS. It is worth trying.

Part and Inventory Search

Back
Top