Is programming over internet possible on X2 with external slot?

lbenson

Senior Member
I haven't investigated this--just a musing based on snippets from other threads.

Would it be possible to have a program in slot 0 which checked for a packetized code download over the internet (e.g. via SimpleLan or other pixaxeable internet connection), and if it saw one, downloaded it to an external slot, verified it, and executed it?

The external slot would need, from time to time, to return to slot 0 to check for another download, or do the checking itself and return to slot 0.

This could solve a longstanding issue with remote network-enabled picaxes which needed occasional firmware updates.
 

hippy

Ex-Staff (retired)
It's theoretically possible.

You could have a local PICAXE which extracted its slot program out of an external Eeprom and sent that via the internet, another remote PICAXE could place that information into its external Eeprom, and later RUN it or BOOTI2C it into an internal slot and execute it from there.

The local PICAXE could have downloads done to Slot 4, when it restarted its Slot 0 program would send the changed Slot 4 over the internet.

You should be able to prototype the behavior using just a serial link from local PICAXE to remote PICAXE.
 
Top