LXR bootloader.hex

edited July 2015 in General
Where can I find a copy of the bootloader.hex for the lxr?
I found a reference to its location on github, but doesn't seem to be there anymore.

Comments

  • If that is the correct bootloader file, then I have some other issues...

    I built a trigger IO module to go in my synth, after connecting the cable and powering up for a test, I got no lights or display.

    I disconnected the trigger board cable, and tried again, no luck. I was able to get display if I pressed the encoder button after power on or booted with it held down for firmware update mode. Either way it would just cycle through the text "Bootloader v1.2" and screens of garbage with every encoder press.

    The only work I did the the front panel was the trigger extension socket, and I touched up u10 as step 11 was a bit sticky. but no shorts I can see.

    +5V is present, so presumably power is OK. I've pulled the avr/u10 and reseated. I have had the all/some led's light up once or twice at power on, but seems random.

    Somewhere along the line, I stopped getting text at all on the screen at all.

    I removed the mainboard also to rule it out.

    Assuming I'd corrupted the avr flash somehow I flashed the above hex file onto the avr and set fuses (avr-dude commands as described by Julian in another thread) but still no response from the machine.

    This thing has been rock solid since I built it 18+ months ago, now I don't know what's up with it.
    Where should I be looking next?
  • if you burn the bootloader the main program will be deleted.
    the bootloader will only start if you hold down the encoder during power on.
    the normal firmware has to be installed via the bootloader from SD card after the bootloader has been flashed, or the LXR will do nothing (no lights and display)
  • That makes sense, and is as I thought.

    However I'm not getting anything even when I hold down the encoder. With or without the mainboard attached.
  • edited July 2015
    I'm still assuming I've got the correct .hex file, can you confirm?
    (I'm only writing 4984 bytes during the flash, whereas in another thread 65146 bytes written is mentioned)

    For reference I'm running these commands to flash the avr;
    avrdude   -B100 -c usbasp -p m644 -U lfuse:w:0xff:m -U hfuse:w:0xd8:m -U efuse:w:0xfc:m
    avrdude  -B1  -c usbasp -p m644 -U flash:w:UartBootloader_FPU.hex:i
    avrdude  -B1  -c usbasp -p m644 -U lock:w:0x2F:m

    I get a sck warning but I don't think that's an issue, each step writes and verifies with no error;
    avrdude: set SCK frequency to 750000 Hz
    avrdude: warning: cannot set sck period. please check for usbasp firmware update.
  • I sorted this out in the end; not sure what caused the original problem, but the hex file I was flashing was the wrong one.
    For anyone looking, the correct bootloader hex file is located here:
Sign In or Register to comment.