Subversion Repositories HomeAutomation

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
551 6995 d 23 h andfri /branches/buildsystem_v2/ Creating a branch of trunk for testing a new build system for avr-lib.  
378 7088 d 19 h arune /trunk/EmbeddedSoftware/AVR/ Moved (old) AVR-Bios and AVR-App and an unused folder and a readmefile to trash-folder  
319 7153 d 12 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios/flash.c (flash_write_word): Access the pagebuffer correctly.
* EmbeddedSoftware/AVR/AVR-Bios/bios.c: Small size optimization.
 
315 7153 d 19 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.
 
311 7154 d 18 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios/flash.c (flash_copy_data): Forgot to stop before writing over ourself. Had to remove eeprom and spm check to fit. These will have to go in bios.c instead, if neccesary.  
310 7154 d 18 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios/flash.c (flash_copy_data): Enable RWW section after flashing so next word can be read.  
309 7154 d 19 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios/flash.c (flash_copy_data): Extra checks to make sure spm is finished before every flash access. Rewrote loop to fit in flash.  
307 7154 d 21 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios/flash.c: Fix bug in flash_copy_data where last part of page were never written. Also made sure .flash_code will be included in hex-file.  
299 7157 d 11 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.
 
283 7162 d 16 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios: New dangerous feature to enable BIOS updating over CAN.  
254 7172 d 11 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios: Fixed address increment bug in bios.c. Send ACK at PGM_START. Added #ifdefs around uart and some flash code for conditional compilation.  
233 7185 d 11 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios/flash.c (flash_flush_buffer): Mark buffer as not dirty after page write.  
228 7185 d 12 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/app_vectors.h: Deleted.
* EmbeddedSoftware/AVR/*_app.ld: Removed the need for editing these files. Values are defined in application makefile.
* EmbeddedSoftware/AVR/*_bios.ld: Bios and bootloader location is now configurable in makefile. .bootloader section added.
* EmbeddedSoftware/AVR/avr_cfg.h: Moved avr-specific initialization here.
* EmbeddedSoftware/AVR/bios.c: Moved flash functionality to separate file.
* EmbeddedSoftware/AVR/Makefile: Added configurability options.
* EmbeddedSoftware/AVR/flash.*: Flash functionality moved here. flash_load_buffer implemented, needs testing.
* EmbeddedSoftware/AVR/vectors.*: New interrupt handling system, works on all avrs without configuration (hopefully). Not tested.