Commit Graph

7 Commits

Author SHA1 Message Date
Martin Preuss
d8e5252697 avr: some more work on flash code. 2023-04-20 00:45:20 +02:00
Martin Preuss
a7d587a134 avr: first step of boot loader works
- send FLASH_READY
- waits for FLASH_START

NOTE: Utils_WaitNanoSecs only works reliably with values way above 1000
because 1000 is already one cycle time, and since each assembler command
already uses multiple clock cycles a value of 1000 never flies.
2023-04-19 15:43:17 +02:00
Martin Preuss
5c111aa935 avr: add modules mask variable.
will be used by bootloader.
2023-04-18 23:46:38 +02:00
Martin Preuss
5f4260d605 avr: moved COM and COMPROTO defs and routines into dedicated files. 2023-04-16 23:23:06 +02:00
Martin Preuss
56c11b959e avr: add copyright notices. 2023-04-08 13:05:05 +02:00
Martin Preuss
090122a192 reworked com stack.
- prepared for use of CRC8
- organized code in more files
- recv stats message now contains crc errors and io errors
2023-04-07 19:14:05 +02:00
Martin Preuss
f963ff6b7a avr: started working on flash protocol. 2023-04-05 22:55:21 +02:00