Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi, is it possible to not overwrite EEPROM data while reprogramming the controller? I only want to upgrade the program i write and not the previous EEPROM data contents.
Any suggestions please ?
I am using WinPIC800 to program my MCU.
Only if you can use a bootloader to update your program, normal programming methods first erase the entire device.
Are the contents of the EEPROM known? If so you can place it in your source code.
Can just the EEPROM be read before programming?
Bootloader is like OS for the MCU?
Thank you Nigel, actually i use a PIC trainer to burn program and check data on ports. Yes it does have a serial port on it as well, one i use for programming and the other one is connected to PIC's serial port. I am using PIC18F4520.
Is bootloader program same for all PIC18 series? From what i understand, i will serially write program on the PIC using bootloader. But which software to send the program from hex file serially to target PIC.
Just use MPLAB, before reflashing it go "Read EEDATA" and then it will copy what it has read
Nigel on the same website you sent, on page PIC micro and C - bootloader
it says "his bootloader is compatible with the PIC18F252 and the PIC18F452, running at either 3.68Mhz, 10Mhz, 20Mhz or 40Mhz."
I have two issues, i work with 4MHz and not on PIC18F452 but on PIC18F4520