Which flashing commands are current for the old iDryer board, and do you need to flash the bootloader every time

Do you have to run all 4 commands every time?
or can you do the bootloader part just once, and after that only flash and upload the EEPROM?

🇷🇺 Оригинал

каждый раз все 4 команды надо выполнять?
или про бутлоадер можно только первый раз выполнить , а потом только флеш и еепром заливать?

In the docs, 2.1 is changing the fuses
pio run -e fuses -t fuses
2.2 flashing the EEPROM
pio run -e EEP -t uploadeep
if Atmega328PB is used
pio run -e EEPB -t uploadeep
General firmware¶ (https://docs.idryer.org/iDryerV2/Firmware/iDryerController/firmware/#_1)
2.3 flashing the MCU
pio run -e EEP -t upload
if Atmega328PB is used
pio run -e EEPB -t upload

🇷🇺 Оригинал

В документации 2.1 смена фьюзов
pio run -e fuses -t fuses
2.2 прошивка EEPROM
pio run -e EEP -t uploadeep
если используется Atmega328PB
pio run -e EEPB -t uploadeep
Прошивка общая¶ (https://docs.idryer.org/iDryerV2/Firmware/iDryerController/firmware/#_1)
2.3 прошивка МК
pio run -e EEP -t upload
если используется Atmega328PB
pio run -e EEPB -t upload

Feedback:
for some reason, part of the info with the instructions and command list disappeared from README.md. Why were these changes made? ) it was convenient, everything was in one place,

and about this _ there was a different command list in the README file.

2.1 changing the fuses and bootloader

2.1.1 pio run -e fuses_bootloader -t fuses

2.1.2 pio run -e fuses_bootloader -t bootloader

2.2 flashing the MCU

pio run -e ISP -t upload -t monitor

2.3 flashing the EEPROM

pio run -e EEP -t uploadeep -t monitor

so which commands are the current ones, and which ones are old?
Looks like there are 2 sets of instructions,

🇷🇺 Оригинал

фидбэК:
из README.md почемуто исчезла часть информации с инструкцией и списком команд. В связи с чем такие изменения? ) было удобно, всё рядом,

вот на счёт этого _ в РИДМИфайле был другой список коман д .

2.1 смена фьюзов и бутлоадера

2.1.1 pio run -e fuses_bootloader -t fuses

2.1.2 pio run -e fuses_bootloader -t bootloader

2.2 прошивка МК

pio run -e ISP -t upload -t monitor

2.3 прошивка EEPROM

pio run -e EEP -t uploadeep -t monitor

так какие команды будут актуальные , а какие старые ?
2 инструкции получается есть ,

for your board version:

pio run -e fuses -t fuses
pio run -e EEP -t uploadeep
pio run -e EEP -t upload

🇷🇺 Оригинал

для твоей версии платы:

pio run -e fuses -t fuses
pio run -e EEP -t uploadeep
pio run -e EEP -t upload

pio run -e ISP -t upload -t monitor ??

🇷🇺 Оригинал

pio run -e ISP -t upload -t monitor ??

there are instructions for boards with scales, the flashing process is done a bit differently there

🇷🇺 Оригинал

есть инструкция для плат с весами, там прошивка немного по другому делается

so what’s the issue here, it’s only 3 commands

I ran these 4 commands - looks like everything flashed,
just with a little error at the end

🇷🇺 Оригинал

так а чего тут , 3 команды всего

я вот эти 4 команды выполнил - вроде прошилось всё,
тока с ошибочкой в конце

You only need to change the bootloader once. I flash the fuses every time just in case. And the EEPROM, соответственно, needs to be done every time

I haven’t seen that error before. But it does say it flashed.

🇷🇺 Оригинал

один раз бутлаодер менять. Фьюзы я на всякий случай каждый раз шью. А epp соответственно каждый раз надо

с такой ошибкой не встречался. Но пишет же что прошилось.

You made a mistake in the last line, the process should be ISP, not EEP

🇷🇺 Оригинал

ошибся ты в последней строке, процесс ISP должен быть , а не EEP

For a proper programmer, epp

🇷🇺 Оригинал

Для нормального програматора epp

Basically, we’re just going to muddy the waters now. ))

🇷🇺 Оригинал

короче, щас только воду наболомутим. ))

Let’s read the docs) [iz chata]

🇷🇺 Оригинал

Читаем доку) [iz chata]

and earlier you said that my board version is old. and that here on GitHub there’s already something newer for the version with scales.

that’s where the confusion started

I was running the commands from this README, from version 036 [file: README.md (not included in export)]

🇷🇺 Оригинал

а ты вот вперёд сказал что у меня версия платы старая. и что тут на гитхабе уже новое под версию с весами.

тут то и началась путаница

я запускал вот команды из этого РИДМИ , от версии 036 [file: README.md (not included in export)]

Mine are also still only the old versions in use for now. So I flash using the commands I sent you. And of course the first command for changing the bootloader

Yep, and take a look in the platformio ini file too)

🇷🇺 Оригинал

А у меня тоже пока только стаоые версии в работе. Поэтому шьюсь теми командами что тебе скинул. Ну и конечно первая команда по смене бутлаодера

Ага, а в файл платформио ини загляни)

yeah, looks like I’ve got the bootloader info figured out, that’s what I thought too - once you’ve reflashed it, that’s enough, - it’s like a separate block of data, as I understand it.

Oh! there’s another set of instructions here - this one is much clearer already )
But it’s strange - why did the commands change,
And why doesn’t this instruction have the veeeeery first command about changing the bootloader?

==================
ran the “latest” commands, looks like everything worked without errors.
no red text,
:slight_smile:
about to power it on now..:crossed_fingers:t2:

🇷🇺 Оригинал

ага, вроде с бутлоадером усвоилась инфа, я так и подумал - раз его перепрошили и достаточно, - это как отдельный блок данных, на сколько я понял .

о! вон еще инструкция - тут уже более всё понятно )
Но странно - почему команды поменялись,
И почему в этой инструкции нет саааамой первой команды про смену бутлоадера ?

==================
запустил “свежие” команды, вроде всё без ошибок сработало .
без красноты,
:slight_smile:
щас включу..:crossed_fingers:t2: