Commit Graph

635 Commits

Author SHA1 Message Date
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
skarg fc9be7814e Updated IAR project files for BDK port on AVR. Added main loop I/O toggle to monitor timing. 2010-12-11 21:40:13 +00:00
skarg 4ef20d370a Fixed watchdog timer initialization value. 2010-12-11 21:38:52 +00:00
petermcs d1db062db8 Updated project files so release build works 2010-12-11 15:30:18 +00:00
skarg 75249e0330 Added byte sized timer that can be used inside an 8-bit microcontroller ISR for up to 255mS of elapsed timing. 2010-12-10 23:16:02 +00:00
skarg f5829ea483 Added interrupt disable protection, and enable interrupts early in the ISR. 2010-12-10 23:14:43 +00:00
skarg 794e2ea9d4 Changed timers on AVR to only disable the timer interrupt, not global interrupts. 2010-12-10 23:13:50 +00:00
skarg 68a2f83638 Changed object functions to use a local name and smaller structure so it wouldn't name collide with the one defined in device.h. 2010-12-10 23:12:13 +00:00
petermcs dbb8997b4d Added routing support for virtual network to more of the handlers and fixed up a couple of typos from the previous changes.
Added ReadRange service handler so that trendlogs can be read.
2010-11-18 21:29:11 +00:00
petermcs f0fc277650 Added gateway demo project 2010-11-17 23:09:29 +00:00
bacpack a639864cc8 In bip.c getter and setter functions of IP address and Port number expect and return values in the network byte order. All ntoh and hton were eliminated from bip.c.
All other modules changed to be consistent.
arm7 port left unchanged.
2010-11-04 13:30:26 +00:00
skarg 0953c8ada6 Per the datasheet, "Beware that if doing a Read-Modify-Write on ADCSRA, a pending interrupt can be disabled." I don't know a good way to do this, but using ADIE seems to not be reliable. 2010-10-22 17:12:30 +00:00
skarg 3b49fb0271 Change global interrupt disable to timer specific interrupt disable for data protection. Added interrupt disabled around ADC API. 2010-10-22 00:11:25 +00:00
skarg df5197b89c added comments 2010-10-19 13:22:32 +00:00
skarg 57781b40cb Changed Tturnaround time in MS/TP modules to be a minimum of 2ms, or use a dummy transmit of 4 bytes while the transceiver is disabled. 1ms delay will always give smaller than 1ms of delay due to silence timer tick. 2010-10-18 20:42:26 +00:00
skarg e9249b5b5e Added test for a decoding problem where the stack is unable to decode something, and retrofitted into WriteProperty for each of the demo objects by returning an Error, Out of Range. 2010-10-12 01:17:50 +00:00
skarg 8d2560225d Updated builds for ports/atmega168 (IAR) and for ports/bdk-atxx4-mstp (AVR Studio) 2010-10-07 15:56:35 +00:00
skarg b54218939e Added extra sub-state for MS/TP from Addendum 135-2008v. Tested with ports/bdk-atxx4-mstp/ code on the BACnet Development Kit. Clean compile on src/mstp.c, ports/at91sam7s and ports/atmega168, but untested. All other changes were not compiled or tested. 2010-10-07 15:52:45 +00:00
skarg 8165d5bb09 Corrected clock frequency to 18.432MHz to correct baud rate at 115200. 2010-10-04 23:26:25 +00:00
skarg d5822ac53a Add clear of MCU status registers at initialization. 2010-09-24 19:38:32 +00:00
skarg 6826688777 Fixed merge problem. 2010-09-24 19:37:43 +00:00
skarg 6dd635cdee Added clearing of MCUSR per GCC-AVR FAQ. 2010-09-23 22:35:45 +00:00
skarg 0e59eeee32 Converted project to not use external makefile for debugging. 2010-09-23 14:27:21 +00:00
skarg 0a9728ae54 Increased CStack size, and reduced APDU size since CStack was getting exceeded. 2010-09-23 14:26:11 +00:00
skarg d84243914b Added ifndef to allow overriding of default defines. 2010-09-23 14:25:23 +00:00
skarg 8098100483 removed timeout code 2010-09-23 00:52:41 +00:00
skarg 6cb6200f39 Reverted seeprom timeout for now. Lowered APDU size in Makefile. Changed stack based text to static buffer. 2010-09-23 00:34:26 +00:00
skarg 80c27fd0b5 Added timeout to SEEPROM wait for transmit. 2010-09-22 18:33:18 +00:00
skarg 430f068305 Updated makefile for v2 hardware. 2010-09-22 18:32:53 +00:00
skarg ea3e9db07d Fixed compiler warnings. 2010-09-22 18:31:57 +00:00
skarg 4f464820eb Added baud rate set/view to serial terminal. 2010-09-22 18:31:24 +00:00
skarg b1c9870989 Refactoring some BDK code. Updating Skip Data state for AT91 port. 2010-09-22 01:13:42 +00:00
skarg 64c28c32ad corrected MS/TP new Skip Data states 2010-09-22 01:12:14 +00:00
skarg 2fc159cea2 Changed ADC reading to be 10-bit. 2010-09-21 19:50:43 +00:00
skarg be7efebaa1 Enhanced the ADC to be able to read all channels, and fixed bug in configuration of ADC. 2010-09-21 19:50:16 +00:00
skarg 9569f2c536 Fixed EOL and performed standard indentation. 2010-09-16 22:00:47 +00:00
skarg 092834b2d9 changed led initialization behavior to turn on for 500ms for board validation. 2010-09-16 21:57:10 +00:00
skarg d7ad075c7a UpdAdded new MS/TP skip data state.
Added ring buffer for incoming PDU to fix WhoIs followed by ReadProperty situation.
2010-09-16 17:57:51 +00:00
skarg 6e739e06d5 Added new MS/TP skip data state.
Added ring buffer for incoming PDU to fix WhoIs followed by ReadProperty situation.
2010-09-16 16:08:10 +00:00
skarg 812c1c4bfb Added board v2 fuses. 2010-09-12 03:32:36 +00:00
skarg 7832ba11db Changed Object List in various ports to return Segementation Not Supported abort when it is too large to return in a single APDU. 2010-09-11 13:38:16 +00:00
skarg 332d776c32 Added watchdog module to makefile (after adding it to the project for IAR compile). 2010-09-07 18:00:15 +00:00
skarg 0b047cd7bd Updated project for Release build. 2010-09-07 16:45:54 +00:00
skarg 21426e12f7 Added example project and workspace for IAR for AVR compiler, and fixed compiler errors and warnings after doing such a deed. 2010-09-07 16:18:55 +00:00
skarg f9153ffb8a Corrected test application writes to Binary Output object. Corrected BACnet task to use Binary Output to control LEDs. 2010-09-02 01:44:22 +00:00
skarg e49263915f Added pre-compiler logic for configuring the Timer pre-scaler for any given CPU frequency. 2010-08-26 17:43:25 +00:00
skarg fd22542ad1 Added comments. 2010-08-23 14:03:06 +00:00
skarg 298038c0d8 Corrected compile error. 2010-08-20 21:56:18 +00:00
skarg bb7237e38d Updated prototypes and include as required and found by compile with extra checking. 2010-08-20 19:27:28 +00:00
skarg b769dcbe1d Indented. 2010-08-18 00:11:35 +00:00