From 1be1b2a8fa535cca356bde34d7222a27da517e5b Mon Sep 17 00:00:00 2001 From: Manfred Steiner Date: Sat, 12 Oct 2024 16:26:32 +0200 Subject: [PATCH] software/nano-5v/bootloader-arduino (release/2024-10-12_114654) --- software/nano-5v/bootloader-arduino/Makefile | 16 ++- ...otloader-arduino_nano-5v-328p-38400bps.elf | Bin 0 -> 8608 bytes ...otloader-arduino_nano-5v-328p-38400bps.hex | 97 ++++++++++++++++++ 3 files changed, 108 insertions(+), 5 deletions(-) create mode 100755 software/nano-5v/bootloader-arduino/release/2024-10-12_114654/bootloader-arduino_nano-5v-328p-38400bps.elf create mode 100644 software/nano-5v/bootloader-arduino/release/2024-10-12_114654/bootloader-arduino_nano-5v-328p-38400bps.hex diff --git a/software/nano-5v/bootloader-arduino/Makefile b/software/nano-5v/bootloader-arduino/Makefile index 36b5d75..29e973f 100644 --- a/software/nano-5v/bootloader-arduino/Makefile +++ b/software/nano-5v/bootloader-arduino/Makefile @@ -4,7 +4,12 @@ $(shell mkdir -p build >/dev/null) $(shell mkdir -p sim >/dev/null) $(shell mkdir -p sim/build >/dev/null) -NAME="bootloader-arduino_nano-5v-328p" +#BAUDRATE=115200 +#BAUDRATE=57600 +BAUDRATE=38400 +#BAUDRATE=19200 + +NAME="bootloader-arduino_nano-5v-328p-$(BAUDRATE)bps" SRC= $(wildcard src/*.c src/*.cpp src/*/*.c src/*/*.cpp) HDR= $(wildcard src/*.h src/*.hpp src/*/*.h src/*/*.hpp) OBJ_CPP = $(SRC:src/%.cpp=build/%.o) @@ -16,11 +21,12 @@ DEVICE=atmega328p DEVICE_ISP=m328p CC= avr-g++ -CFLAGS= -Wall -mmcu=$(DEVICE) -Os -DF_CPU=16000000 -DBAUD_RATE=115200 -DDOUBLE_SPEED -DNUM_LED_FLASHES=4 '-DMAX_TIME_COUNT=F_CPU>>4' -c +CFLAGS= -Wall -mmcu=$(DEVICE) -Os -DF_CPU=16000000 -DBAUD_RATE=$(BAUDRATE) -DDOUBLE_SPEED -DNUM_LED_FLASHES=4 '-DMAX_TIME_COUNT=F_CPU>>4' -c + #LFLAGS= -Wall -mmcu=$(DEVICE) -Os -DF_CPU=12000000 -Wl,-u,vfprintf -lprintf_flt -lm LFLAGS= -Wall -mmcu=$(DEVICE) -Os -DF_CPU=16000000 -Wl,--section-start=.text=0x7000 -CFLAGS_SIM= -Wall -mmcu=$(DEVICE) -Og -DF_CPU=16000000 -g -DBAUD_RATE=115200 -DDOUBLE_SPEED -DNUM_LED_FLASHES=4 '-DMAX_TIME_COUNT=F_CPU>>4' -c +CFLAGS_SIM= -Wall -mmcu=$(DEVICE) -Og -DF_CPU=16000000 -g -DBAUD_RATE=$(BAUDRATE) -DDOUBLE_SPEED -DNUM_LED_FLASHES=4 '-DMAX_TIME_COUNT=F_CPU>>4' -c #LFLAGS_SIM= -Wall -mmcu=$(DEVICE) -Og -DF_CPU=12000000 -g -Wl,-u,vfprintf -lprintf_flt -lm LFLAGS_SIM= -Wall -mmcu=$(DEVICE) -Og -DF_CPU=16000000 -g -Wl,--section-start=.text=0x7000 @@ -103,12 +109,12 @@ isp-read-flash-328p: avrdude -c usbasp -p $(DEVICE_ISP) -U flash:r:/tmp/flash-nano-1284__$(shell date +"%Y-%m-%d_%H%M%S") flash-1284p: dist/$(NAME).elf all - avrdude -c arduino -p $(DEVICE_ISP) -P /dev/ttyUSB0 -b 115200 -e -U flash:w:$< + avrdude -c arduino -p $(DEVICE_ISP) -P /dev/ttyUSB0 -b $(BAUDRATE) -e -U flash:w:$< picocom: # picocom sends CR for ENTER -> convert cr (\r) to lf (\n) - picocom -b 115200 --omap crlf /dev/ttyUSB0 + picocom -b $(BAUDRATE) --omap crlf /dev/ttyUSB0 isp-erase-328p: avrdude -c usbasp -p $(DEVICE_ISP) -e diff --git a/software/nano-5v/bootloader-arduino/release/2024-10-12_114654/bootloader-arduino_nano-5v-328p-38400bps.elf b/software/nano-5v/bootloader-arduino/release/2024-10-12_114654/bootloader-arduino_nano-5v-328p-38400bps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O|26vftx|uvqu4?EPn@}ABTUr6i-^3cn&)KoI)iRfgK~A z#UEoj`FjRBkLPcwpUr=cbe5lALO0^2{V=B6!%EHP@1Q@0{Sn5kf%5fx=zRV!?y{el zTEK20CggtwbZ);<(u>HR`LhRl4f4AfnAY=4_U)4XEOhSwF-aeWuHIxYANlha(2e_D zE_M}t{Z8+n3~>hi-$Q=0_4Qwc&i(&4=cna z;C1^R^Z7KPN)zxrQiV`^r>`r}tjf;?x`KwXuc{EwN0;zHD09?72pnn+nS+?5I~45n z;f15Q%ik`1jcoycm#?9_8-3=c;Is}qe^*FiZNXqC=Cl?xJR1sNt?tfXM|YqFvmOjI zhJsx_n{8UQLd4n*ADpeMt?^a4YAWiqK?En8{z27i+e?^uDZuAWZV?JL>e=I?ItwFR2U z&nAD!?`sRfCeYC|J+fFd^z7d++5#QTAu{9Z-ep*T8H<|(p_;}P9yTzWT1#C+Fc|8g z9HI-k>DE_7u63!Z*15~b0!xk&SP^9eOEtC}oOaYoS#9lTWf`!NPbDyH2^{KZZQ#aR z*uau$d5b`HaJCwQJsly@iVl9}p=xiWccqBVhVEHYV86eojd@Tc{GFY~`SE!xD{35d z^&ZzfVxvuR=SpI)F4BHuaFTg2BA@OR$jmyg9or@!9o^89ZusAmtEVrjBb zPW9NV$hv;Iw6o~*X+CSa0Icx!c3U&$%H?uT z?eRH#XROu2X`1s{@kBxy)K7mg;cwXku-ge{6uSLWq4yhO zZqhHqZj$+D^zD=EF5pG^%suQ{B)g~X6N28&jbh9f0x)FiI|RGgMlx6*#b!LW$Ziq- tzlg&m=*5_WS~gsS@#1JfEO1lM-=QepTpaYi&*%FgoNG3cfj(ot{{cb1zdQf{ literal 0 HcmV?d00001 diff --git a/software/nano-5v/bootloader-arduino/release/2024-10-12_114654/bootloader-arduino_nano-5v-328p-38400bps.hex b/software/nano-5v/bootloader-arduino/release/2024-10-12_114654/bootloader-arduino_nano-5v-328p-38400bps.hex new file mode 100644 index 0000000..67c7e0e --- /dev/null +++ b/software/nano-5v/bootloader-arduino/release/2024-10-12_114654/bootloader-arduino_nano-5v-328p-38400bps.hex @@ -0,0 +1,97 @@ +:107000000C943F380C9451380C9451380C945138EE +:107010000C9451380C9451380C9451380C945138CC +:107020000C9451380C9451380C9451380C945138BC +:107030000C9451380C9451380C9451380C945138AC +:107040000C9451380C9451380C9451380C9451389C +:107050000C9451380C9451380C9451380C9451388C +:107060000C9451380C94513831313A34363A353425 +:10707000004F63742031322032303234000011244A +:107080001FBECFEFD8E0DEBFCDBF21E0A0E0B1E072 +:1070900001C01D92AC38B207E1F70E942F390C9461 +:1070A000EF3A0C9400389091C00095FFFCCF80938C +:1070B000C6000895CF93982F8595859585958595DC +:1070C000805D9F709A3014F0C7E501C0C0E3C90F1E +:1070D0000E9453388C2FCF910C945338CF92DF926B +:1070E000EF92FF92C12CD12C76018091C00087FDD8 +:1070F00015C08FEFC81AD80AE80AF80A81E4C81642 +:1071000082E4D8068FE0E806F10478F317B818B8DF +:10711000E0910001F09101010995E7CF8091C6004F +:10712000FF90EF90DF90CF900895CF930E946E383C +:10713000C82F0E945338C13614F089EA03C0C03307 +:107140001CF080ED8C0F01C08C2FCF910895CF9350 +:107150000E949538C82F0E94953890E1C99F800DF4 +:107160001124CF910895CF93C82FCC2321F00E94F2 +:107170006E38C150FACFCF910895CF93C82F0E9497 +:107180006E38803251F484E10E9453388C2F0E9473 +:10719000533880E1CF910C945338809102018F5F76 +:1071A00080930201853041F417B818B8E0910001CE +:1071B000F0910101CF910994CF9108950E946E380A +:1071C000803231F484E10E94533880E10C945338CA +:1071D000809102018F5F80930201853039F417B8E6 +:1071E00018B8E0910001F091010109940895CF933E +:1071F000DF9300D000D0CDB7DEB719821A821B8290 +:107200001C8289819A81AB81BC8181159042A14009 +:10721000B10580F48091C00087FD0CC089819A81FE +:10722000AB81BC810196A11DB11D89839A83AB837B +:10723000BC83E7CF0F900F900F900F90DF91CF910D +:107240000895CF93C82FCC2341F02D9A0E94F73890 +:107250002D980E94F738C150F6CFCF9108950000C5 +:1072600015B8259A82E08093C00083E38093C40020 +:107270001092C50088E18093C10086E08093C2002F +:1072800084E00E94213913E001E0E5E0FE2EF1E107 +:10729000EF2E0E946E38803309F447C0813319F510 +:1072A0000E946E388032B9F484E10E94533881E440 +:1072B0000E94533886E50E94533882E50E94533875 +:1072C00080E20E94533889E40E94533883E50E948B +:1072D000533880E56BC1809102018F5F809302017A +:1072E0008530B9F670C1803439F40E946E38863822 +:1072F000E0F00E946E3819C0813491F40E946E381B +:10730000803811F481EF44C0813811F481E040C02D +:10731000823811F480E13CC08839C9F583E038C077 +:10732000823431F484E10E94B3380E94DE38B1CF58 +:10733000853411F485E0F7CF982F9D7F9035A9F320 +:10734000813599F3853549F40E946E3880938A011E +:107350000E946E3880938B01E8CF8635E1F40E945D +:107360006E38803389F40E946E380E946E38C82FC0 +:107370000E946E38C11102C08EE10AC0C13011F402 +:1073800085E906C08FE004C083E00E94B33880E046 +:107390000E94BD387ECF843609F0A6C00E946E38A8 +:1073A000809389010E946E388093880180918701C3 +:1073B0008E7F809387010E946E38853429F48091F6 +:1073C0008701816080938701C6E0D1E06E01209142 +:1073D000880130918901C601865091408217930738 +:1073E00030F40E946E38F60181936F01F0CF0E9455 +:1073F0006E38803209F0E0C02091870180918A01C7 +:1074000090918B01880F991F90938B0180938A0133 +:1074100020FF23C0E6E0F1E020918801309189014E +:10742000CF01865091408217930708F05BC0F9990D +:10743000FECF80918A0190918B0192BD81BD819197 +:1074400080BDFA9AF99A80918A0190918B010196F8 +:1074500090938B0180938A01DFCF8091880180FF18 +:1074600009C08091880190918901019690938901CA +:1074700080938801F89440918A0150918B01F99989 +:10748000FECF07B600FCFDCF2D9AFA0110935700EE +:10749000E89507B600FCFDCF2D9820E030E0FA011A +:1074A000E20FF31F898190E0982F88276881860F6B +:1074B000911D0C0100935700E89511242E5F3F4F5A +:1074C00022962038310559F73093050120930401A5 +:1074D000FA01F0925700E89507B600FCFDCFE09264 +:1074E0005700E89584E162C0843709F04FC00E94DC +:1074F0006E38809389010E946E3880938801809154 +:107500008A0190918B01880F991F90938B01809332 +:107510008A010E946E3890918701853411F4916040 +:1075200001C09E7F909387010E946E38803209F0DF +:107530003FC084E10E945338C0E0D0E080918801D0 +:1075400090918901C817D90798F58091870180FF2C +:107550000BC0F999FECF80918A0190918B0192BD69 +:1075600081BDF89A80B505C0E0918A01F0918B0148 +:1075700084910E94533880918A0190918B010196E9 +:1075800090938B0180938A012196D8CF853719F586 +:107590000E946E38803281F484E10E9453388EE17B +:1075A0000E94533885E90E9453388FE00E94533877 +:1075B00080E10E9453386DCE809102018F5F8093ED +:1075C0000201853009F417B818B8E0910001F09174 +:1075D000010109955ECE863709F05BCED8CEF894CE +:0275E000FFCFDB +:040000030000700089 +:00000001FF -- 2.39.5