aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/spi_flash
Commit message (Collapse)AuthorAgeFilesLines
* spi_flash: Update to fix SKR-3 config (#5827)JamesH19782022-10-131-2/+3
| | | | | it seems I made an error with my code for the SKR 3, and I copied the code from the wrong host , this PR fixes that. I have just retested with the right code and works as expected, this is confirmed by @adelyser who brought the issue to my attention. Signed-off-by: James Hartley <james@hartleyns.com>
* spi_flash: Add SKR2, SKR3 and Creality 4.2.2/7 to spi_flash (#5807)JamesH19782022-10-051-2/+15
| | | | | | | | | As discussed with Arksine, he has created new working settings for the Creality 4.2.x boards as the original 4.2.7 entry did not work, plus addition of SKR2 and SKR3. Tested on 4.2.2 and SKR2 and SKR3EZ. These are using the new skip_verify functionality that was recently merged due to them using SDIO Also removed a double definition for `monster8` it was in main definitions and aliased. Signed-off-by: James Hartley <james@hartleyns.com>
* scripts: Support BigTreeTech Octopus boards in flash-sdcard.Donna Whisnant2022-09-111-0/+29
| | | | Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
* scripts: Support SDIO in flash-sdcard using split verification stepDonna Whisnant2022-09-111-7/+42
| | | | Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
* spi_flash: Add board definition for Mellow FLY Gemini V2 (#5651)s6t2022-07-201-0/+5
| | | Signed-off-by: Tobias Schröder <schroedt@live.de>
* spi_flash: add mks_monster8,robin_v3 (#5568)Andreas Fröhlke2022-06-181-1/+8
| | | Signed-off-by Andreas Fröhlke <boandy1985@googlemail.com>
* spi_flash: reduce speed to 400KEric Callahan2022-04-251-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* spi_flash: validate mcu configurationEric Callahan2022-04-251-5/+21
| | | | | | | Prior to attempting a flash, verify that the MCU is successfully configured. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* spi_flash: support spi protocol changesEric Callahan2022-04-221-8/+22
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* spi_flash: Add btt-skr-bx-se to the board types (#4951)adelyser2022-01-291-0/+5
| | | Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
* spi_flash: Add btt-skr-mini-e3-v3 board definitionKevin O'Connor2021-12-231-0/+6
| | | | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Better fallback on MCU protocol changeJustin Schuh2021-11-091-3/+15
| | | | | | Support a set of known past config responses. Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Fix MCU handshake protocolJustin Schuh2021-11-081-1/+1
| | | | | | Update config response string to match new version from d4aee4f. Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Improve Python3 compatibilityKevin O'Connor2021-10-071-5/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Support firmware dictionary validationJustin Schuh2021-07-201-4/+27
| | | | | | | | | | | Updates firmware validation to use a dictionary if provided (or found when updating from the default out/ directory). Validation without a dictionary still checks the following (in order): 1. Active firmware's raw dictionary changed after update 2. Checksum of firmware.cur matches expected Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Make SD updates more tolerant of flaky boardsJustin Schuh2021-07-201-22/+53
| | | | | | | | | | Validation passes if either of the following succeeds (in order): 1. Active firmware's raw dictionary changed after update 2. Checksum of firmware.cur matches expected Additionally, deletes firmware.bin if found after update succeeds. Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Add board definitions for Fysetc S6 and SpiderWilhelm Schuster2021-05-031-0/+9
| | | | Signed-off-by: Wilhelm Schuster <ws@rot13.io>
* serialhdl: Update callers to decide serial fd typeKevin O'Connor2021-03-021-2/+4
| | | | | | | | Don't try to detect a "real serial port" in serialhdl.py. Instead, have the callers invoke either connect_uart(), connect_file(), or connect_pipe(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chelper: Fix check for failed code buildKevin O'Connor2021-02-071-1/+1
| | | | | | | Commit 73b78af6 inadvertently removed the check for a successful gcc compilation. Add the check back in. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: support for firmware upgrades via SD CardArksine2021-02-055-0/+1574
This module connects directly to MCU's previously flashed with Klipper, uploads Klipper firmware to an attached SD Card, and performs a device reset to intiate the bootloader's update process. Signed-off-by: Eric Callahan <arksine.code@gmail.com>