Discussion in "8051 Discussion Forum" started by    romel_emperado    Nov 4, 2010.
Wed Jun 08 2011, 04:42 pm

normally uses for debugging and changing in flash in run time



you mean we are just programming the PIC while its running?
Thu Jun 09 2011, 10:21 am
here is a sample code for software uart that u asked
boot loader is used to program a pic
very good description is here
http://dev.emcelettronica.com/what-microcontroller-bootloader-and-how-it-works

Thu Jun 09 2011, 10:24 am
majoka thanks so much... I will study that and make an application... i will let you know..
Thu Jun 09 2011, 10:28 am


guys I have several questions..

1. Is it possible to reset the Microcontroller using software reset? I mean instead of pulling to High/LOW the clear pin..


2. I know the function of watchdog timer but I need more clarification.. for example my code get stock with a non ending loop if we enable watchdog timer there is a change of reseting itself.. right?
but how to set the max time of watch dog timer?


3. what GPS module you can recommend that is easy to interface based on your experience??

romel_emperado



hehe


[ Edited Thu Jun 09 2011, 10:29 am ]
Thu Jun 09 2011, 02:27 pm
watchdog timer can do this
Thu Jun 09 2011, 06:33 pm
majoka.. tnx I understand now the sofware uart...

its applicable also to other controller.. right? no changes to baudrate formula?
Thu Jun 09 2011, 09:22 pm
@ romel

its applicable also to other controller.. right? no changes to baud rate formula?


yes it can be done for other controllers but changes in trick according to the internal structure of hardware
Sun Jun 12 2011, 11:35 am
baudrate formula will change as the current formula only applies to 8051 architecture.
Sun Jun 12 2011, 01:55 pm
thanks ajay ang majoka .
Mon Jun 13 2011, 10:42 am
yes current formula only for 8051
here is a code for pic uart it is in c for hitech pic compiler
it is for pic16fxxx

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

BrettTibre
Fri May 17 2024, 06:14 pm
Gordonfax
Fri May 17 2024, 10:28 am
Davidspils
Fri May 17 2024, 10:19 am
Patricknoind
Fri May 17 2024, 09:53 am
JeremyCycle
Fri May 17 2024, 09:46 am
FrabSeby
Thu May 16 2024, 07:31 pm
PeterGem
Thu May 16 2024, 06:27 am
Timothywalay
Thu May 16 2024, 04:40 am