I'm working on a project where I need to calibrate each board to remove errors due to resistor tolerances. To do this, I plan to run each board thru a 30 second calibration routine on its first power up. This will result in calibration values specific to that board being saved in the picaxe chip. It's possible, even likely, that I will want/need to reprogram boards with different firmware as the project matures, but I'd like to do this without losing the calibration numbers.
Is there a way to reprogram the picaxe chip without clearing all the stored data? As a last resort, I know I could download the data, write it down, enter it in the reprogramed software, but that's going to be a real burden in the long run.
What I'd really like would be a suggestion of a place in memory that would remain non-volatile during reprogramming. Failing that, I wonder if I could write a program that would read specific bytes, reprogram the picaxe, then write those specific bytes back.
FYI, I'm only talking about 5 bytes of data.
thanks,
Is there a way to reprogram the picaxe chip without clearing all the stored data? As a last resort, I know I could download the data, write it down, enter it in the reprogramed software, but that's going to be a real burden in the long run.
What I'd really like would be a suggestion of a place in memory that would remain non-volatile during reprogramming. Failing that, I wonder if I could write a program that would read specific bytes, reprogram the picaxe, then write those specific bytes back.
FYI, I'm only talking about 5 bytes of data.
thanks,
Last edited: