Subversion Repositories HomeAutomation

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
324 7165 d 16 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ CRC-calc-fix in bios.c  
319 7168 d 14 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 7168 d 20 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.
 
294 7175 d 13 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios/bios.c: Fixed bug where BIOS sent a trashed reply if it received an unexpected msg.  
292 7175 d 15 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ CRC-calculation fixed  
284 7177 d 17 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ *makefile: updated with new fuses for larger bootarea
*bios.c: removed crc-code for now
 
283 7177 d 18 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios: New dangerous feature to enable BIOS updating over CAN.  
279 7180 d 17 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ CRC-calc now complete, could probably be done better  
278 7180 d 19 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ crc tillagt. Inte helt genomtänkt, testat eller klart.  
264 7183 d 18 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ *Moved Can_Send in bootloader
*Fixed NMT/application bug
 
261 7183 d 19 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ Case-revert, BIOS_APP klarar programmering  
259 7183 d 21 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ ACK at PRG_START must be sent also, not just set up  
258 7183 d 21 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ If NMT but not for this node then application should not receive package
Set state to BIOS_NO_APP to be able to reprogram application
 
254 7187 d 12 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.  
253 7188 d 10 h andfri /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * EmbeddedSoftware/AVR/AVR-Bios: Bootloader functionality reimplemented. Needs testing.  
250 7194 d 11 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.  
248 7195 d 13 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ * Simple bootloaderfunctionallity in bios  
240 7197 d 15 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.  
228 7200 d 14 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.
 
225 7202 d 1 h arune /trunk/EmbeddedSoftware/AVR/AVR-Bios/ mega88-funktionalitet i avrbios  

Show All