Activity Forums Questions & Troubleshooting Hardware Firmware update at Maxi Automation with SD Card Reply To: Firmware update at Maxi Automation with SD Card

  • marcel00

    Member
    July 4, 2019 at 11:28 am

    Hello Lukas,

    I used the following code to reset:

    Code:

    void softwareReset( uint8_t prescaller) {
    wdt_disable();
    // start watchdog with the provided prescaller
    wdt_enable( prescaller);
    // wait for the prescaller time to expire
    // without sending the reset signal by using
    // the wdt_reset() method
    while (1) {}
    }


    This works and flashing starts. The only remaining question is: How can I compile the SD dual bootloader after changing Flashing LED port from PB7 to PL7?