Commit Graph

30 Commits

Author SHA1 Message Date
9390f7830b Add small blink example as bootloader payload test 2020-04-12 18:45:33 +02:00
b21673e326 Uncomment setting stack pointer to allow jumping into bootloader 2020-04-12 18:43:53 +02:00
3afda0ebf9 Replace function call to user code with jump 2020-04-12 16:05:16 +02:00
807b1f336f Finish bootloader by adding jump to user code 2020-04-12 15:32:31 +02:00
5f8d6a6f85 Fix chip erase followed immediately by flash programming 2020-04-12 15:12:02 +02:00
41f81247ce Improve semantics for chip erase state enum 2020-04-12 15:07:58 +02:00
a72bf67b07 Fix flash memory address being a word-address 2020-04-12 13:10:00 +02:00
3a04b1f488 Add topcard detection for avrdude 2020-04-12 12:01:53 +02:00
8979066420 Fix receiveByte timeout and add global timeout 2020-04-12 11:47:11 +02:00
6f9d8bae42 Implement writing flash memory 2020-04-12 00:15:26 +02:00
289e66160e Refactor getting bootloader size from lambda to function 2020-04-12 00:14:51 +02:00
355160dedb Increase uart receive timeout 2020-04-12 00:12:56 +02:00
b20d0aced8 Change bootloader location of debug build 2020-04-11 23:02:50 +02:00
f307eb1340 Fix bootloader size read-out 2020-04-11 23:02:16 +02:00
3ce9c60448 Refactor address variable 2020-04-11 22:25:30 +02:00
16955979a2 Implement chip erase 2020-04-11 22:19:22 +02:00
28eeca8158 Move transmitMessage to message handling part 2020-04-11 21:17:17 +02:00
03fd10860f Implement eeprom programming 2020-04-11 19:19:23 +02:00
9c24c32f3d Add reading of eeprom 2020-04-11 17:48:13 +02:00
c46ba6bbb3 Move code to bootloader section and provide custom init code 2020-04-11 16:51:09 +02:00
98d6c9720f Add flash reading functionality 2020-04-11 10:35:52 +02:00
9ba16e71e1 Fix checksum discarding high-order byte of size field 2020-04-11 10:34:40 +02:00
c5b3614733 Add reading of lock bits 2020-04-10 16:47:17 +02:00
c808c344b4 Implement basic stk500v2 protocol support 2020-04-10 16:09:41 +02:00
0e39021192 Add all stk500v2 commands 2020-04-10 10:22:28 +02:00
39c98939bd Add uart to stk500v2 2020-04-10 10:11:47 +02:00
ef42a67d10 Change clock crystal to 18.432 MHz 2020-04-10 10:06:11 +02:00
cf60d846b6 Rename solution and add stk500v2 bootloader project 2020-04-10 08:56:54 +02:00
4348759652 Implement basic tsb protocol for information command 2020-04-10 08:50:22 +02:00
8386d55813 Initial commit 2020-04-10 08:47:54 +02:00