PaxInstruments / t100-firmware

Firmware for the Pax Instruments T100 thermocouple USB adapter
0 stars 1 forks source link

"make bootloader" looks for wrong file #12

Closed charlespax closed 9 years ago

charlespax commented 9 years ago

Here my output.

bash-3.2$ make bootloader
avrdude -c usbtiny -p t85 -U flash:w:/bin/micronucleus-1.02.hex -U lfuse:w:0xe1:m -U hfuse:w:0xdd:m -U efuse:w:0xfe:m

avrdude: 1 retries during SPI command
avrdude: AVR device initialized and ready to accept instructions

Reading |                                                    | 0% 0.00savrdude: 1 retries during SPI command
avrdude: 2 retries during SPI command
Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e930b
avrdude: 2 retries during SPI command
avrdude: 4 retries during SPI command
avrdude: 1 retries during SPI command
avrdude: 1 retries during SPI command
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "/bin/micronucleus-1.02.hex"
avrdude: error opening /bin/micronucleus-1.02.hex: No such file or directory
avrdude: input file /bin/micronucleus-1.02.hex auto detected as invalid format
avrdude: can't open input file /bin/micronucleus-1.02.hex: No such file or directory
avrdude: read from file '/bin/micronucleus-1.02.hex' failed

avrdude: 2 retries during SPI command
avrdude: 2 retries during SPI command
avrdude: 3 retries during SPI command
avrdude: safemode: Fuses OK (H:FF, E:DF, L:62)

avrdude done.  Thank you.

make: *** [bootloader] Error 1
bash-3.2$ 
charlespax commented 9 years ago

The Makefile was looking for an absolute path (/bin/micronucleus-1.02.hex). Now it looks for a relative path (bin/micronucleus-1.02.hex).

charlespax commented 9 years ago

@kehribar I'm closing this issue. If it does not work for you, we can reopen it.