cbalint13 / tinnymodbus

RS485 ModBus tiny multi-sensor module
Other
102 stars 31 forks source link

Burn tinnymodbus roms with Arduino-IDE to a digispark #15

Closed seepv closed 2 years ago

seepv commented 2 years ago

Hi cbalint13,

is there a way burn/flash the roms (boot.hex, boot.epp, main.hex) of tinnymodbus via the Arduino IDE?

If so - what options do we have to chose for an digispark (with an ATtiny85)?

Thanks in advance

cbalint13 commented 2 years ago

Hi @seepv ,

You can use USBasp programmer with avrdude, this is the way how I manged it.

Initial development of this project was done a blue DigiSpark Attiny85 (but any can work) having a TTL to RS485 module board. Keep in mind that on DigiSpark board the original bootloader will be overwritten and lost, a backup dump first is a good idea. It is not possible to use preinstalled bootloaders of any boards, you have to flash the bootloader provided here too.