HomeAutomation
hardware
BlueGrey
calm
Elegant
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HomeAutomation
(root)
/
trunk
/
EmbeddedSoftware
/
AVR
/
AVR-Bios
/
bios.c
@ 331
– Rev 0
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
SVN
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
Changes
324
7179 d 4 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
CRC-calc-fix in bios.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
319
7182 d 2 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.
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.c
315
7182 d 8 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
294
7189 d 1 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.
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
292
7189 d 4 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
CRC-calculation fixed
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
284
7191 d 5 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
*makefile: updated with new fuses for larger bootarea
*bios.c: removed crc-code for now
/trunk/EmbeddedSoftware/AVR/AVR-Bios/Makefile
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
283
7191 d 6 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
279
7194 d 5 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
CRC-calc now complete, could probably be done better
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
278
7194 d 7 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
crc tillagt. Inte helt genomtänkt, testat eller klart.
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
264
7197 d 6 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
*Moved Can_Send in bootloader
*Fixed NMT/application bug
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
261
7197 d 7 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
Case-revert, BIOS_APP klarar programmering
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
259
7197 d 9 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
ACK at PRG_START must be sent also, not just set up
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
258
7197 d 9 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
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
254
7201 d 1 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.
/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/flash.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.h
253
7201 d 22 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
7207 d 23 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
248
7209 d 1 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
* Simple bootloaderfunctionallity in bios
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
240
7211 d 3 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
228
7214 d 2 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.
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/flash.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/vectors.S
/trunk/EmbeddedSoftware/AVR/AVR-Bios/vectors.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/app_vectors.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/Makefile
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega88_app.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega88_bios.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega8_app.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega8_bios.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/avr_cfg.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.h
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios_funs.h
225
7215 d 13 h
arune
/trunk/EmbeddedSoftware/AVR/AVR-Bios/
mega88-funktionalitet i avrbios
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega88_app.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/atmega88_bios.ld
/trunk/EmbeddedSoftware/AVR/AVR-Bios/bios.c
←Prev
1
2
Next→
Show All