Martin Preuss
10e4aa8f85
fixed a problem with m8515 UART.
...
UBRRH and UCSRC share the same io register location, bit URSEL needs to
be set in order to access UCSRC!!
2025-05-17 13:18:50 +02:00
Martin Preuss
ea0d426430
added definition for bit USBS
2025-05-17 13:17:16 +02:00
Martin Preuss
27a0214b5d
removed old COM2 parts from code.
2025-05-17 13:16:46 +02:00
Martin Preuss
21c2c60f4f
started working on AtMega8515 module C1.
2025-05-17 10:50:09 +02:00
Martin Preuss
cc7ef0cf30
flash: wait for ATTN high before waiting for message.
...
this helps with syncing.
2025-05-07 20:03:58 +02:00
Martin Preuss
9102d90c34
flash: minor timing change.
2025-05-07 20:03:06 +02:00
Martin Preuss
6832487c46
flash: fixed a bug (reversed register order).
2025-05-07 20:02:42 +02:00
Martin Preuss
f5cf85a931
flash: reduced waiting times.
2025-05-07 20:02:07 +02:00
Martin Preuss
d57d721dbf
flash: increased number of retries when waiting for FLASH_DATA msg.
2025-05-07 20:01:34 +02:00
Martin Preuss
eecb022a0c
avr/modules/flash: make protocol more robust
...
- wait for ATTN high after error receiving a packet
- use different wait times when waiting for FLASH_START and FLASH_DATA
2025-05-05 21:05:07 +02:00
Martin Preuss
dc62f1fe05
added mising file.
2025-05-04 22:42:11 +02:00
Martin Preuss
e25b0ad69d
avr/module/flash: unified flash code for 1p/4p devices.
...
AtTiny 841 erases 4 pages at once, others only erase one.
Fixed a bug: only send ONE flash response to FLASH_START!!!
2025-05-04 03:32:53 +02:00
Martin Preuss
048eccf4c6
avr: toggle LED while waiting for ATTN line.
2025-05-01 00:58:32 +02:00
Martin Preuss
7349dcba8d
flash: fixed wait times etc.
2025-04-21 00:32:59 +02:00
Martin Preuss
89542e06c9
avr: consolidated uart_hw module
2025-03-27 00:20:58 +01:00
Martin Preuss
cac611deae
avr: use NETMSG functions, increase waiting times.
2025-03-25 00:38:12 +01:00
Martin Preuss
78fda7727a
avr: added some comments.
2025-03-24 00:18:50 +01:00
Martin Preuss
0165b02310
flashing older nodes across t03 now works!
...
older nodes need the new bootloader which doesn't depend on pagesize because
those older nodes used quite large message sizes which are not supported
across t03 nodes (we would need to much RAM on t03 for this).
2025-03-23 22:40:34 +01:00
Martin Preuss
50ba9ee3a1
avr: added missing files.
2025-02-09 21:09:03 +01:00
Martin Preuss
9719063a21
avr: adapted flash4p code for single page erasing mcu.
2025-02-09 21:04:30 +01:00
Martin Preuss
e840bfd9e6
avr: t03 runs in basic mode now, flashing of AtTiny841 finally works!!
2025-01-25 03:16:02 +01:00
Martin Preuss
779b37f195
avr: added flash4p (flashing basically works now).
2025-01-24 21:39:21 +01:00
Martin Preuss
22a5402141
avr: receiving flash messages basically works.
2025-01-22 01:10:32 +01:00
Martin Preuss
0a10d136d5
avr: bootloader partially works now but stops after 3 messages...
2025-01-20 23:47:13 +01:00
Martin Preuss
c390b1059c
avr: updated flash procedure code.
2025-01-19 15:44:46 +01:00
Martin Preuss
a3d5b33105
mainly built-fixes.
2025-01-01 19:33:32 +01:00
Martin Preuss
2626c4365c
avr: add delay when sending messages in boot loader.
2024-10-28 23:42:55 +01:00
Martin Preuss
9c35e7a006
avr: adapted boot firmware to latest changes (mainly switch to uart_bitbang).
2024-10-28 23:42:30 +01:00
Martin Preuss
3546c93d23
avr: adapted to latest changes in COM2 module (using uartBitbang)
2024-10-25 00:15:24 +02:00
Martin Preuss
cf1983d264
avr: set response code.
2024-09-07 14:59:01 +02:00
Martin Preuss
ed21f4bbfc
avr: fixed a bug in message creation.
2024-09-07 14:58:37 +02:00
Martin Preuss
eec544d1b8
avr: send firmware version in FLASH_READY and DEVICE messages.
2024-09-05 18:50:43 +02:00
Martin Preuss
a23997db39
avr: adapted README to latest changes.
2024-09-05 03:20:42 +02:00
Martin Preuss
51ba17d43f
avr: fixed list of modified regs.
2024-09-05 03:20:21 +02:00
Martin Preuss
575b0285fe
avr: optimize for space.
2024-09-05 03:20:00 +02:00
Martin Preuss
817ff958b9
avr: use common code.
2024-09-05 03:18:22 +02:00
Martin Preuss
c2a6d33ff2
avr: reduced code (bootloader now 569 words).
2024-09-01 22:29:08 +02:00
Martin Preuss
383e3ad93d
build: added more build files for subfolders.
2023-04-26 17:55:40 +02:00
Martin Preuss
ebd5829435
avr: renamned some filesfrom flash module. handle FLASH_END.
2023-04-22 14:47:16 +02:00
Martin Preuss
3b44fb9c5b
avr: split code in multiple files and routines.
2023-04-22 11:54:09 +02:00
Martin Preuss
3e6501c834
finished basic new structure.
2023-04-22 00:23:44 +02:00
Martin Preuss
5e12b8ad4e
started reorganizing code into subfolders.
2023-04-22 00:04:10 +02:00