LaosLaser / Firmware

Embedded software (firmware) for the laser system and components, including configuration files
27 stars 27 forks source link

Can't boot after upgrading to 2020 firmware #64

Closed BuildTheRobots closed 4 years ago

BuildTheRobots commented 4 years ago

After upgrading from laoslaser-2015-03-18.bin to laoslaser-2020-03-23-a459d9.bin my board seems to crash during boot, never getting further than the following on serial. It seems to make no difference if I disable the display in the config or change the verbosity of the logging.

replacing the firmware with the 2015-03-18.bin boots and seems to work (though newer versions of visicut can't talk to it as per #63

Any advice greatly appreciated.

Display() Simulation=ON, I2C Baudrate=9600
LAOS v0.4-a459d9
Mar 23 2020 18:06:53...
BOOT...
��MAIN            <-----  1 ----->TEST SD...
SD: READY...
BuildTheRobots commented 4 years ago

After formatting the MBED partition (mkfs.vfat) and copying the new firmware back across, it seems to have successfully booted the new image.

I've also ended up replacing the SD card with a 32GB Trancend used in a DSLR. It gives an "SD Not Ready" error on boot, but this clears quickly.

This is the most stable the laser has ever been in the 6 years we've had it. We've been plagued by random freezes and crashes for forever and yet I've just done a 25 minute very complicated job in one go, usually having to be split into 20 sections, which individually still crash. It's literally never been capable of this before.