A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
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 .
--- In piclist@picl..., "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
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@farf...> 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.______________________________