I am looking to use ISP programming. I am fairly new to it, so I would like to lay out my game plan below and see if it makes sense; otherwise, some suggestions/ideas in the right direction would be greatly appreciated.
Basically, I want to put the values of a lookup table into flash. It will be 211x11 bytes so it will come out to ~2.3 kB. I have gone through the user's manual for the processor a couple times and this is what I got from it:
Here are some other tidbits you may want to know:
Is there anything missing or incorrect in the game plan above? Or is it all feasible? Please let me know if I missed anything critical that I have not mentioned yet. Any other tips would help, as well.
(9/29) EDIT: I was able to get going with ISP programming! I do, however, have another issue with trying to copy data from RAM over to flash. I am currently trying to copy already existing data from RAM (i.e. I did not manually write said data via ISP) into flash. I noticed that some of the data gets copied fine and others are jumbled/out of place. I have a couple of things in mind to try out such as using different baud rates. Are there any other ideas for this issue?
Other notes that may help:
(9/30) EDIT 1: I found out that copying manually written data from RAM to flash is fine. The next issue is trying to send data from Realterm to RAM (i.e. dumping a .txt file). What I have in my .txt file does match what comes into RAM but I am certain that it has something to do with UU-encoding, as well as the fact that I'm not sending the checksum. I hope that is in the right direction! If anyone else has other tips, I am all open ears.
(9/30) EDIT 2: Problem solved! Changing the file to be UU-encoded and including the checksum worked. The only downside now is that the values are going into flash as ASCII instead of the actual values. There is an extra hassle for that conversion in the application, but all is well at this point.
Hopefully this post can help someone else get started with ISP/IAP programming.