Loading code from external eeprom
Can I read code being ran in a cog and write it to eeprom? Can I then read that code and write it to a cog and run it? I am out of code space on my P1 project.
My thinking is I have a cog running my RGB Panel with several diff display types. I would think I could remove all but 1, program the prop, read the compiled code from that cog and wright it to an external eeprom. I could do this for each subroutine. I could then load the code by reading it from the eeprom and putting it into a cog then start that cog. Can I do this if all the sub-routines have the same "Pub Name" and use the same variables when I read and send to eeprom?
Not clear on how to read the code from the cog or how to start that code after the code was copied to it though. I think I seen some one do this before in the forum but can not find it.