Jump to content


  • Posts

  • Joined

  • Last visited

zoom's Achievements


Regular (2/6)



  1. Thanks a lot Dave. The Microchip programming data sheet for the 16F1933 says: . My header file had 1E000h but the new one I just downloaded has 0xF000. 0xF000 works. Don't quite understand it, but it works. Thanks again, Colin.
  2. Hi, I cannot get the #pragma DATA _EEPROM, nn, nn, nn directive to work. EEPROM remains unchanged. Also, PICkit2 tells me the hex file is bigger that the device memory. I don't think I have data protection on anywhere. Is there anything else I need to be aware of? Thanks a lot, Colin
  3. Hi Dave. Release Notes say: Now only Win2k, WinXp, Win7 OS's supported. I suppose Vista still works? Thanks, Colin
  4. Hi, What's the maximum Tx buffer size supposed to be on a PIC16F1829 ? I'm finding 96. Thanks a lot, Colin
  5. So in PIC12F1822.TDF I changed FSR0 to FSR0L and FSR1 to FSR1L. Seems to work. Cheers, Colin
  6. Here ya go. Thanks Dave. #include <system.h> #include <stdlib.h> #pragma CLOCK_FREQ 4000000 // config clock to 4mhz. #pragma DATA _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _MCLRE_OFF & _CP_OFF & _CPD_OFF static unsigned char message[16]; void main() { unsigned char commandchar = 1; while(1) { if (commandchar != 0) { commandchar = 0; } }//while(1) } "C:\Program Files\SourceBoost\boostlink_pic.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.pic16.lib Release\Test1822.obj /t PIC12F1822 /d "C:\Program Files\SourceBoost\Samples\C\BoostC\Release" /p Test1822 Internal Error: Var not found id:0xFF000003: in Function '_startup' BoostLink Optimizing Linker Version 7.01
  7. Apparently it doesn't like this (at least in my case): static unsigned char message[16]; But this is OK: static unsigned char message[8]; static unsigned char message2[8]; And so is this: unsigned char message[64];
  8. Still there. success "C:\Program Files\SourceBoost\boostlink_pic.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.pic16.lib Release\USI1822.obj /t PIC12F1822 /d "C:\Program Files\SourceBoost\Samples\C\BoostC\Release" /p USI1822 Internal Error: Var not found id:0xFF000003: in Function 'rs232TxInterruptHandler' BoostLink Optimizing Linker Version 7.01
  9. Thanks for version 7.01. I'll go ahead and update for the 16F1823 and 12F1822 and see if that error goes away. Cheers, Colin
  10. OK, if I change: unsigned char txHead; unsigned char txTail; To: unsigned char txHead=0; unsigned char txTail=0; it seems to work. I would like to know if this is correct, however. Cheers, Colin
  11. After startup the first message the PIC should send is this: A Test: Instead I get this: x??????o??????w???i*?w??????w? Test: This is with txBuffer[64]. If I change it to txBuffer[16] I get this: ??????? Test: It is only the first message. The first message is sent on command sometime after the serial port is opened. If I send a single char right after uart1Init() the problem does not occur. The garbage message is still sent but I clear the buffers when I open the serial port. Any ideas? Thanks, Colin
  • Create New...