Re: [piclist] need help plz


Feb 22, 2006

 


----------------------------

#9924 Feb 22, 2006

Is it possible to enter part of the program as a hex code through a

keypad to the microcontroller, store it in certain place in the memory

& then run it ?

if this is possible how it could be handeled ?

thanks in advance .



----------------------------

#9932 Feb 28, 2006

--- In piclist@yahoogroups.com, "farfor1984" farfor1984@...> wrote: >

> Is it possible to enter part of the program as a hex code through a

> keypad to the microcontroller, store it in certain place in the memory

> & then run it ?

> if this is possible how it could be handeled ?

> thanks in advance .

>



Read up on self-programming in the 16F877 datasheet. Since a

bootloader can be loaded on the chip and the bootloader can receive

and program the device, what you are asking is trivial.



Richard



----------------------------

#9936 Mar 1, 2006

Yes, very possible. How easily depends on which PIC you are using.

You will need to burn a simple bootloader program first. The

bootloader program needs to read the keypad, write the Flash, and then

execute the code depending on keys pressed.



Regards,

Chad





--- farfor1984 farfor1984@...> wrote:

> Is it possible to enter part of the program as a hex code through a

> keypad to the microcontroller, store it in certain place in the

> memory

> & then run it ?

> if this is possible how it could be handeled ?

> thanks in advance .

>





My software has no bugs, only undocumented features.


S
e
n
i
o
r
T
u
b
e
.
o
r
g