Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Auto Updating firmware in MM+
Author | Message | ||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 712 |
Hello, (how) is it possible to auto-update the program in an MM+ via SD-CARD on site? It should be possible to detect a program Update on a MM+ via SD-Card. Idea: Copy the new program on a sd-card, send it to the site, pluig in the SD-Card, reboot, the MM+ detects a new version, copy's it automaticaly to program memory (flash) and restarts with tne new program? Would this be a working solution? Has anyone another idea? Proof of concept? THX Atmega8 |
||||
boss Senior Member Joined: 19/08/2011 Location: CanadaPosts: 268 |
@atmega If you want to update MM FW you have to erase the PIC chip. So the answer is no it is impossible to update the FW from SD card yet. Bo |
||||
MicroBlocks Guru Joined: 12/05/2012 Location: ThailandPosts: 2209 |
It is possible. You would first need to load a program in RAM that will read the flash and write those values in flash. Or you reserve a part of the flash for a bootloader.:) Which is already done many times. Most of them use the USB as a means to get the data to be programmed into flash. The data could just as well come from an sd card. Microblocks. Build with logic. |
||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 712 |
@ Boss I Never talked about a Firmware (Mmbasic) Update, The Question is about updating the programm running in the Mite, from sdcard. Has anyone a detailed description for a working procedure? THX |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
That is easy, just use: LOAD file, R The ,R suffix causes the program to be run immediately after it has been loaded. Geoff Geoff Graham - http://geoffg.net |
||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 712 |
And before i will Check If the content of The sd Card IS differen, newer or whatever than The Programm in The Then load it with load. Done. Thank you all. |
||||
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2794 |
I think Boss was reading the Title of your thread which clearly mentions Firmware! For everything Micromite visit micromite.org Direct Email: whitewizzard@micromite.o |
||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 712 |
Uahh, mea culpa, sorry |
||||
Print this page |