Commit Graph

11 Commits

Author SHA1 Message Date
Martin Preuss
97016b21b9 Rebooting and flashing a node now works! 2023-04-21 23:38:44 +02:00
Martin Preuss
82c7626783 flashing a device via boot loader works now!!
- use a simple rjmp to start main firmware
- add buffer size as a parameter for com2ReceivePacketRaw
- fixed bugs in
  - Flash_StartPage
  - Flash_FinishPage
  - Flash_ReadPageIntoPageBuffer
- assume irqs disabled in flash routines
- increase flash receive buffer size to 128
2023-04-20 23:57:13 +02:00
Martin Preuss
c65bd60bc5 avr: added flash-related messages. 2023-04-20 00:43:07 +02:00
Martin Preuss
fd2c4da9ce aqhome: added FLASH_READY msg. 2023-04-19 15:39:51 +02:00
Martin Preuss
93e89e801e aqhome: added defines for FLASH messages. 2023-04-17 01:14:18 +02:00
Martin Preuss
d53b061aed aqhome: implemented IPC client, fixed some bugs.
sending a PING request and retrieving the PONG response works now.
2023-04-16 23:22:03 +02:00
Martin Preuss
eca6fc6efc avr: try calculating idle times. 2023-04-10 23:33:24 +02:00
Martin Preuss
04ab31ca3d added message MEMSTATS. 2023-04-10 01:01:48 +02:00
Martin Preuss
4ba7b49cdd simplified message handling, switch from XOR checksum to CRC8 with polynomial 0x97.
0x97 allows for detection of all 1-3 bit errors in a message of up to
119 bytes
(see https://www.faa.gov/aircraft/air_cert/design_approvals/air_software/media/TC-14-49.pdf)
2023-04-07 23:22:40 +02:00
Martin Preuss
fecf4ab79c aqhome: implemented new node messages, adapted to firmware changes. 2023-03-19 23:23:14 +01:00
Martin Preuss
6507f3896f aqhome: started reworking message code to use gwen's new msgio code. 2023-03-18 00:57:03 +01:00