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 usbman

  1. U

    Problem with Keil C51 serial interrupt as it slows down the program

    serial on c51 try this: void serial_isr (void) interrupt 4 { if (RI) { RI=0; test=SBUF; } if (TI) TI=0; } you need to clear the flags even if you do not use the data. Otherwise the interrupt will be reentered after on asm code execute usbman Added after...
  2. U

    How to debug AT89C5131?

    compiler at89c5131 you should consider also the limits. 1. Every time when you have set a break you are writing to the flash memory. 2. If you are stepping through the code Flashmon will always set a break in Flash so with will be only a matter of time until your flash breaks down. 3. You...
  3. U

    How to debug AT89C5131?

    at89c5131 debugging I am using flip to load the configured mon51 into the internal flash. You need to build a special HW with an external Ram (32k) mapped to 0x8000 accessible with PSEN and read (VNM). UV2 + Mon51 loads the code to the ram and you can debug in realtime. Debugging is done via...
  4. U

    How to debug AT89C5131?

    at89c5131 jtag mon51 from Keil and a debug HW with VNM Ram at 0x8000 would do that. At least thats working for me. You need to build the monitor with a start address of 0x0000 and link the app code to 0x8000. usbman
  5. U

    What are "Segment address record" and "Linear address record" in INHX32 hex format?

    format inhx32 I don't have much expierance with Pics but as far as I know they give the adressspaci in words not in bytes so when there is a memory > 32k (words) you always end beyond a 64k (byte) segment. This may be the reason for using segmentation. usbman
  6. U

    What are "Segment address record" and "Linear address record" in INHX32 hex format?

    inhx32 format segment records divide the code in different segmends (each segment can hold 64k data) this is pretty much the same as x86 addressing scheme. It is a way to use Intel Hex on x86 machines. Keils C166 uses this format. Linear addressing means almost the same but I think there are no...
  7. U

    inline assembly instructions

    thats easy void rotateRight (UINT8 value) { UINT8 i; for (i=0;i< 6;i++) { if (value & 0x01) P1_1=1; else P1_1=0; value >>=1; } } usbman
  8. U

    pcb programmer mcu at89c51rc2 & at89c51rd2

    you won't need any schemaic connect a MAX232 to TX and RX and use a jumper zu pull PSEN to low at reset. Read the datasheet usbman
  9. U

    pcb programmer mcu at89c51rc2 & at89c51rd2

    don't use flashmagic with Atmel. What is wrong with flip ? usbman
  10. U

    Passing sbit address as function parameters on 8051

    passing sfr values in function in 8051 none of the above soulutions will work params are passed in registers! in Keil please check the asm output usbman
  11. U

    inline assembly instructions

    read the sections about #pargma asm in the manual. I can not see any reason wy this should be neccessary. Its always beter to write an extra asm module if you need the power of ASM usbman
  12. U

    Passing sbit address as function parameters on 8051

    sbit-address 8051 SFR addresses and bits are not possible as params in Keil See also the c51 manual usbman
  13. U

    [SOLVED] cypress ez usb fx2 microcontroller, interfacing with usb .?

    usb-fx2 board Take a look onto the Win32 Api CreateFile(....) This has nothing todo with MFC programming. See also the examples from cypress. usbman
  14. U

    Need sample design of USB implemented in an MCU

    Go to www.cypress.com. They have all you need. usbman
  15. U

    Questions about handhasking in isochronous transfers of USB

    Re: USB Query There is no handshake on ISO transfers. NAK is only defined for Bulk and Interrupt. See also USB Sspec... usbman

Part and Inventory Search

Back
Top