Firmware Update and Questions about MIDI sync

edited February 2014 in Troubleshooting
Hi all,

I have just built my first (!) LXR and ecountered the following issue:
Initially the thing would not boot, I sometimes could cause LEDs to chase around by touching the ATMEGA.

So, I decided there was something wrong with that.
I downloaded and built the firmware for the ATMEGA and used avrdude to copy the DrumSynthAvr.bin file to the ATMEGA.

Sure enough, this worked - hurrah! and now I have an LXR that boots with firmware 0.28.

Now I figured perhaps the Cortex firmware needed updating too, so I followed the standard firmware update procedure (copy FIRMWARE.BIN to root of SD card, power on LXR whilst holding down the encoder) and nothing happens, I don't get any kind of firmware prompt, the LXR just boots as normal.

Any ideas?

Also, the LXR does not seem to be outputting MIDI clock or start/stop messages via USB or the standard MIDI ports, again, any ideas?

thanks!

Comments

  • edited February 2014
    It seems you have overwritten the bootloader of your ATMEGA. You only have to program the bootloader on the ATMEGA. The firmware of both, ATMEGA and Cortex is then programmed by the standard firmware update procedure (copy FIRMWARE.BIN to root of SD card, power on LXR whilst holding down the encoder).
  • ok, how do I just program the bootloader of the ATMEGA?
  • I built the SD_Bootloader project in ATMEL Studio, and this generates a SD_Card.hex file.
    Is this the bootloader for the ATMEGA?
  • There was a 'BootloaderLXR.hex' file on GitHub. But I can't find it anymore. You have to ask Julian.
  • looks like it :)
  • burned SD_Card.hex with avrdude, LXR now boots into firmware update mode, and I just saw this after an update from the SD card

    success!
    please reboot...

    awesomes and lovely

    now to see if the MIDI clock is output or not.....

Sign In or Register to comment.