- 14 Nov, 2014 2 commits
-
-
Peter Zumbruch authored
-
Peter Zumbruch authored
- adjusting PGM_P arrays to be const char* const array[] - new paths and symbols
-
- 05 May, 2014 1 commit
-
-
Peter Zumbruch authored
-
- 22 Aug, 2013 2 commits
-
-
Peter Zumbruch authored
-
Peter Zumbruch authored
- added check for CR in addition to LF to allow for MS windows terminals - added debug function to view received UART input and possible ctrl characters - apiFindCommandKeywordIndex: - determines maximal keyword length by in addition to MAX_LENGTH_PARAMETER by looking to the first occurrence of a ctrl characters - correct printout in debug statements
-
- 24 Jul, 2013 2 commits
-
-
Peter Zumbruch authored
-
Peter Zumbruch authored
-
- 23 May, 2013 4 commits
-
-
Peter Zumbruch authored
-
Peter Zumbruch authored
- new array created, containing the remainder which is too large - less error messages
-
Peter Zumbruch authored
-
Peter Zumbruch authored
-
- 22 May, 2013 4 commits
-
-
Peter Zumbruch authored
with dummy structure git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@412 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
- changed default of globalDebugSystemMask - added - canBusStoredState - canBusStateResetInterval_seconds - adopted printDebug_p pointer - main - moved watchdog back again main while loop - removed watchdog incarnations counter from main loop git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@410 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
- global - refactoring/renaming of strings and string arrays - adding syntax alternatives string and commandImplementation flags - command renaming and reordering - added new dummy commands CMD5...CMD8 - printDebug - added option to skip default line and file printout - NEW: determineAndHandleResetSource - split from showResetSource - fills global reset source - for WDOG reset: - increases watchdogIncarnationsCounter - else resets to 0 - added enum resetSources git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@409 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
- refactoring - renaming of error messages - added canBusMode strings - canSendMessage - implemented check on canBusMode (current status) before sending - in case of an error (disabled, bus off, error passive) subsequent transmit are ignored until bus mode has been reset to "undefined" - which happens automatically by the can timer mechanism within canBusStateResetInterval_seconds with a granularity of the calculated canTimerInterval given by CANTCON - new: canSetCanTimer - enables to set the can timer clock cycle either - by setting the prescaler [0,0xff] Tclk = 1/F_CPU x 8 x (prescaler + 1) - or by - setting the time in seconds - canInit - added canSetCanTimer - setting canBusStoreState - canIsGeneralStatusErrorAndAcknowledge moved as inline to can.h - canIsMObErrorAndAcknowledge moved as inline to can.h - ISR(CANIT_vect) - setting canBusStoreState for BOFFIT interrupt - ISR(OVRIT_vect) - reset error canBusStoredStates every canBusStateResetInterval_seconds with the granularity canBusStoredState of the calculated canTimerInterval given by CANTCON to canBusStoredState to undefined to allow for recovery - defined macro CAN_BUS_STATE_RESET_INTERVAL_SECONDS = 60. - enum: - bus state - timer units - new inline canGetCurrentBusModeStatus git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@408 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
- 21 May, 2013 4 commits
-
-
Peter Zumbruch authored
- added global for canBusStoredState refactored and canBusStateResetInterval_seconds git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@407 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@406 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
commands TODO: HELP <mode> git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@405 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@404 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
- 15 May, 2013 11 commits
-
-
Peter Zumbruch authored
- replaced by rule errorType * 100 + errorIndex - refactored xxx_errorCode to xxxErrorCode - xxx_init flags: - moved from main.c to api.c - changed to uint16_t - cosmetics git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@403 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
- replaced by rule errorType * 100 + errorIndex - refactored xxx_errorCode to xxxErrorCode - xxx_init flags: - moved from main.c to api.c - changed to uint16_t - cosmetics git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@402 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
- replaced by rule errorType * 100 + errorIndex - refactored xxx_errorCode to xxxErrorCode - xxx_init flags: - moved from main.c to api.c - changed to uint16_t - cosmetics git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@401 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@400 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
'-' removed git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@399 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@398 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
- changed assignment of canErrorCode - enabled TIMER OVERRUN interrupt - default timer t_CANTIM 13.4s - canGetGeneralStatusError refactored to canShowGeneralStatusError - canShowGeneralStatusError: - extended to care also for CANGIT states - canIsGeneralStatusError refactored to canIsGeneralStatusErrorAndAcknowledge - canIsGeneralStatusErrorAndAcknowledge: - added CANGIT - including interrupt reset - added 2 new canStates: - GENERAL_BXOK - GENERAL_OVRTIM - canGetMobError refactored to canShowMobError - ISR (CANIT_vect): - added CANGIT - removed CANGIT |= 0; statement - ISR (OVRIT_vect): - added - setting flag - TODO: missing prompt action git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@397 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
- cosmetics / cleaning up - moved twi specific definitions/declarations to twi_master.c/h - corrected deprecated prog_char - added canTimerOverrun to init function - changed canErrorCode assignments - added getMaximumStringArrayLength_P - added getMaximumStringArrayLength git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@396 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
- added "periodic debug verbose" debug level - changed former "periodic debug" to the latter level to allow not so often, but periodic events - moved watch dog part out of while loop - removed "interrupt enable/disable" debug statements - CAN section: - moved cli/sei and canReady = IDLE section out of the switch statements - 2 new states introduced: GENERAL_BXOK, GENERAL_OVRTIM - added global canCurrentGeneralInterrupRegister - actions: just debug informations - new CAN timer overrun section - added global canTimerOverrun - only action: flag reset - TODO add async actions - refactored can(_)ErrorCode git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@395 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@394 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@393 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
- 14 May, 2013 6 commits
-
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@392 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@391 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
replacing fixed length right aligned section of debg by generic string/space generation git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@390 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
added canTimerOverrun variable added twi_error vars git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@389 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@388 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
removed spaces in names git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@387 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
- 10 May, 2013 2 commits
-
-
Peter Zumbruch authored
- added canState_UNKNOWN case - added ATOMIC_BLOCK(ATOMIC_RESTORESTATE) into timer0AScheduler to learn about ATOMIC_BLOCK - cleaned up some obsolete commented commands - removed/changed Debug statements git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@386 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
Peter Zumbruch authored
added massive TODO warnings git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@385 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
- 06 May, 2013 1 commit
-
-
Peter Zumbruch authored
git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@382 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-
- 26 Apr, 2013 1 commit
-
-
Peter Zumbruch authored
to show changes: - commented out any debug output - added comments - RXOK: - acknowledge/clear RXOK after data readout added 0xFF mask - enable any previous communication (receive) mode instead of only setting bit CONMOB1 - general error: - request communication abort - disable communication git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@381 50339f28-a4cd-11e1-ab1f-8360dde1fe65
-