Closed coliss86 closed 2 years ago
Your printer won't update if the previous FW file still exists on the SD card. The plugin is supposed to delete the previous file (using an M30 command), and the log you attached indicated that it tried, and indeed the last file from your log isn't in your screenshot of files on the SD card, so it's not clear what the problem is.
2021-10-29 11:01:55,391 - octoprint.plugins.firmwareupdater - INFO - Attempting to delete previous firmware file /fw105629.bin
...
2021-10-29 11:01:55,532 - octoprint.plugins.firmwareupdater - INFO - Transfering file to printer using Marlin BFT '/tmp/tmp7z_rrglf' -> /fw110155.bin
Can you do this:
From what you've said, the first attempt to flash will work but the second won't.
What we want to see at the end is only the second FW file on the SD card. If the FW files from the first and second attempt are both on the card there is a problem deleting files.
Here is what I have done :
fw102613.bin
was present in it.2021-10-30 10:30:52,440 - octoprint.plugins.action_command_notification - INFO - Got a notification: GMEEEE Ready.
2021-10-30 10:31:00,417 - octoprint.plugins.action_command_notification - INFO - Got a notification: GMEEEE Ready.
2021-10-30 10:31:08,395 - octoprint.plugins.action_command_notification - INFO - Got a notification: GMEEEE Ready.
2021-10-30 10:31:16,373 - octoprint.plugins.action_command_notification - INFO - Got a notification: GMEEEE Ready.
2021-10-30 10:31:24,355 - octoprint.plugins.action_command_notification - INFO - Got a notification: GMEEEE Ready.
fw103017.bin
from the third flash attempt.Is it possible to add an option which deletes all the files fw.*\.bin
before starting to flash ?
here are the logs Tell me if you want me to do new tests.
If you were able to flash twice in a row successfully, and only the last used file was present on the card, then it seems like the plugin is working correctly. The FW file uploaded/flashed last won't be deleted until you attempt to update using the plugin again.
I don't know why the board would keep resetting until the card was removed, that's not a problem I've seen before but it sounds like something went wrong with the board's internal updating process.
Ok, I'm closing the issue until the next problem :-)
Thanks for your help :muscle:
This issue has been automatically locked because there was no further activity after it was closed. Please open a new issue for any related problems.
Hardware Setup
M115
:Describe the problem I followed the doc to flash the printer with marlinbft. When the SD Card is empty, the printer is successfully flashed. However, when I repeated the process, the updater tells me that the printer has been successfully flashed but I cannot see my updates on the printer. I plug the SD card to my computer and found the previous firmware. Here the content of the SD Card :
Log Files flash.log
Additional context Here is the setup of the plugin :