Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About rdo

  • Rank
  1. void sendCharacter() { //check if its ok to send while(test_bit(pir1,TXIF)==0){ clear_wdt(); //wait until the TXREG is empty, check the PIC DataSheet } txreg = outputBuffer[lastpos]; //these are globals //i use a circular output buffer to hold the data to send //the main loop calls send character with NO delay //this allows for other processing while the data is being sent (i.e. to calculate any additional data to transmit more efficently } Or you can use interrupts
  2. Yes. I use it to have two USART in one pic16f877a Instead of pooling the RCIF bit, try to use de kbhit() function
  3. And don't forget tu use a MAX232 or equivalent between your pic and the PC port
  4. I think that alt+g is the best shortcout for the Plugin menu, alt+p is fine for the Proyect menu
  5. Are the keyboard shortcut for Plugin and Proyect Menus?
  6. Hi! I have some values in the eeprom of 16877, and, when y try to read them, the EEDATA have the correct values, but when I try to put in another variable, it's simply puts 0x0c. Check this: http://www.geocities.com/rdodemotta/draw04.JPG here is my read and writes routines: It's a simulator bug or something?
  7. rdo

    Psp Mode

    I not found nothing about the psp of the f877 in the manual. Besides, is just set a bit. in a register, like any other. This means that the SourceBoost can't handle the PSP? and support the pic 16xxxx series? It can be a bug in the watch window, or something.
  8. I get this error when I try to build (or link, not compile) my program Building... BoostBasic Optimizing Basic Compiler Version 6.15 (for PIC16 architecture) http://www.picant.com/c2c/c.html Copyright© 2004-2005 Pavel Baranov Copyright© 2004-2005 David Hobday Single user Lite License (Unregistered) for 0 node(s) Limitations: PIC12/PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only codigo_source.c success BoostLink Optimizing Linker Version 6.15 http://www.picant.com/c2c/c.html Copyright© 2004-2005 Pavel Baranov Copyright© 2004-2005 David Hobday
  9. rdo

    Psp Mode

    Yes, it support it. the 16f877 have a PSP. Check the page 38 (40 in the acobat reader) in the data sheet
  10. rdo

    Psp Mode

    Steps to reproduce: Simply set the PSPMODE bit in TRISE register. Expected behaviour: well, enable the psp port in pic 16f877. I don't know if really enables the port, but, there is no sign of change in the register window. Check this: http://www.geocities.com/rdodemotta/Dibujo.jpg Is 100% reproduceable IDE version: 6.15 Compiler: BoostC Compiler version: 6.15(I think) Target device: PIC16f877 OS:win xp. no service pack
  • Create New...