Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bootloader [2020/09/29 10:02] yairbootloader [2020/09/29 10:20] (current) yair
Line 1: Line 1:
  
 ===to compile a tiny bootloader=== ===to compile a tiny bootloader===
 +{{ :pasted:20200929-072031.png}}
 ===TLDR=== ===TLDR===
 on ubuntu (or wsl) on ubuntu (or wsl)
Line 20: Line 20:
   * serial port (if changed from the windows upload sequence.    * serial port (if changed from the windows upload sequence. 
   * full path to HEX file (TinyFlexiAudioBoot_PB0.hex) you got from the make/linux build.\\   * full path to HEX file (TinyFlexiAudioBoot_PB0.hex) you got from the make/linux build.\\
-WIP+ 
 +if you first had it running from arduino just changing the serial and hex file should have this running from cmd anywhere in your system. 
  
 <code> <code>
Line 88: Line 89:
 the output has this flags, broken into lines. because its an automated build system it spits out a few double and empty flags.\\ the output has this flags, broken into lines. because its an automated build system it spits out a few double and empty flags.\\
 note the first Capital Letter after a ''-'' is part of the avr flag system. and not part of the variable.   note the first Capital Letter after a ''-'' is part of the avr flag system. and not part of the variable.  
 +<hidden output/>
 <code bash> <code bash>
 /usr//bin/avr-g++  /usr//bin/avr-g++ 
Line 130: Line 132:
  
 </code> </code>
 +</hidden>
  
- 
-current arduino bootloader  
-<code bash> 
-C:\Users\Admin\AppData\Local\Arduino15\packages\8BitMixtape\hardware\avr\0.0.28/tools/avrdude/windows/avrdude -cstk500v1 -B4 -PCOM8 -b19200 -b19200 -pattiny85 -CC:\Users\Admin\AppData\Local\Arduino15\packages\8BitMixtape\hardware\avr\0.0.28/tools/avrdude/windows/avrdude.conf -Uflash:w:C:\Users\Admin\AppData\Local\Arduino15\packages\8BitMixtape\hardware\avr\0.0.28/bootloaders/tinyaudioboot/AudioBootAttiny85_AudioPB3_LEDPB1.hex: 
-  </code>