Hey there, I tried your bootloader on an SD card which was acting erratically... now it works fine, that's really promising. Thanks for you work
I noticed that the power light and back-light flicker during flashing, anybody else has this issue?
rodot wrote:But then I wonder... if voltage drop was the problem, why does your bootloader work better than the official one?
jonnection wrote:Because I disabled double speed reading from the mmc_fat.c read_first_sector (or something like that) function that is actually used in all the SD read operations done by the bootloader.
jonnection wrote:If you read that AVR Freaks forum posting that I linked, they say that you MUST use BOD function to prevent the MCU doing all sorts of funny stuff (even corrupting the bootloader) in undervoltage situation when using SPM (program memory flashing) commands.
jonnection wrote:We could implement CRC check on the SD sector read to ensure that no rubbish is written into the progmem.
Return to Software Development
Users browsing this forum: No registered users and 5 guests