Welcome! Log In Create A New Profile

Advanced

Writing program to flash

Posted by mk2cav 
Writing program to flash
January 18, 2013 11:29AM
Hi,

I purchased the PIC32 Microcontroller with BASIC - KIT-1 for my son for his Christmas.

Between us we are having a lot of fun building projects and writing code.

We are currently building a circuit the he will use for a school science project.

How do I write the program to flash?

Currently we have it connected to the pc and load the program to ram but when he takes it to school it needs to run stand alone.

Thanks

John
Re: Writing program to flash
January 18, 2013 12:17PM
At any time any functions in RAM can be written to Flash with flasave("")
If a function is called main() and saved to Flash, it will run at start up or reset.
Re: Writing program to flash
April 19, 2013 01:46PM
Hi Jim,

Thought you might like to see the final outcome.

Video of finished project
Re: Writing program to flash
April 19, 2013 01:53PM
That is a brilliant school project, thanks for sharing.
Sorry, you do not have permission to post/reply in this forum.