PDA

View Full Version : bootloader Freqout problems



handgio
- 1st December 2007, 21:05
Hello
i have a program use Serial Communitacion, LCDout, and Freqout commands, and i like use a bootloader, but i have problems because the PIC not work, first i have problems with the LCD, cannot see any caracter in the device, but with the next post , i am fix the problem

http://www.picbasic.co.uk/forum/showthread.php?t=1318

now i like use the FREQOUT command, all work fine, but when the program skip to this command the PIC not work, not generate the sound and they restart, when i am use the program without bootloader all work fine, the hardware is ok, i am use a 16F876A at 20MHz, is possible help me

thanks

mister_e
- 1st December 2007, 23:31
When you're using the bootloader, make sure you have DEFINE LOADER_USED 1 at the top of your code. The syntax must be exact and in CAPITAL letters, unless, yes it may give you some weird results.

Now, did you tried with a simple led Blink?

Does the Bootloader return any error messages?

Did you use the same schematic as stated in the MCS help-file?
http://www.mecanique.co.uk/code-studio/loader/reset-circuit.gif

Are you using Mecanique bootloader or another one?

handgio
- 5th December 2007, 13:38
thanks Mister E for reply
my circuit work , but when i am use the command Freqout or Dtmfout the program restart, the other function work fine, Lcdout, serin2/serout2 , in the begin, not working the LCDout function, but making the change in the LIB file work without problems, maybe you know i need make other change in the LIB file for the command Freq and Dtmf work

Thanks for your time

Regards