Subversion Repositories HomeAutomation

Rev

Hide changed files | Details | Compare with Previous | Blame | SVN | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
315 7202 d 9 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ EmbeddedSoftware/AVR/AVR-Bios
* bios_funs.h: Made __bios_start void instead of uint16_t.
* bios.c: CAN_NMT_TIME resets watchdog.
Comments cleanup.
Improved crc calculation loop and address validity check.
Pass page buffer to flash_init.
* can.h: Added CAN_NMT_TIME and some space between the rest of the NMT types.
* flash.c: Rewrite to use SRAM page buffer instead.
Reimplemented flash_load_buffer.
Deleted old unused code and cleaned up comments.
* flash.h: Some cleaning.
 
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios_funs.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.h
299 7206 d 1 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios/flash.c: Made flash_copy_data independent and located in top two pages of flash. All other code should be possible to update now.
* EmbeddedSoftware/AVR/AVR-Bios/can.h: Corrected defines for additional communication classes.
 
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega88_bios.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega8_bios.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.h
296 7208 d 3 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios/can.h: Removed NID from NMT id and placed TYPE, RID and SID on byte boundaries.  
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.h
283 7211 d 7 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios: New dangerous feature to enable BIOS updating over CAN.  
/trunk/EmbeddedSoftware/AVR/AVR-Bios/Makefile
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega88_bios.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega8_bios.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios_funs.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.h
253 7221 d 23 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios: Bootloader functionality reimplemented. Needs testing.  
/trunk/EmbeddedSoftware/AVR/AVR-Bios/Makefile
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios_funs.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515_cfg.h
250 7228 d 0 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios: Reorganized CAN code and bios-driver api. Can_Receive() replaced by interrupt controlled callback, Can_Process(). Had to remove bootloader functionality temporary.  
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can_cfg.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/Makefile
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios_funs.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515_bittime.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515_cfg.h
244 7230 d 3 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios: Made CAN bitrate selection in preprocessor instead of runtime to save flash space. Bitrate is not a dynamic property here anyway.  
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515.h
240 7231 d 4 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios: Added CAN-code copied from lib. CanTestPeriodic-like test code added. No functions exported to app yet. This needs to be rewritten to use interrupts.  
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/can_cfg.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515_bittime.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515_cfg.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/mcp2515/mcp2515_defs.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/Makefile
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c