Edouard Tisserant [Thu, 02 Feb 2012 19:22:49 +0100] rev 692
[ canfestival-Bugs-3458203 ] Objdictedit
Edouard Tisserant [Wed, 01 Feb 2012 18:07:04 +0100] rev 691
[ canfestival-Patches-3481330 ] Useless structure SHORT_CAN
[ canfestival-Patches-3481339 ] Useless local variable res in CanFestival\drivers\win32.c
Edouard Tisserant [Sat, 21 Jan 2012 19:32:58 +0100] rev 690
Merge further Ica changes
Christian Taedcke <hacking@taedcke.com> [Wed, 09 Nov 2011 15:02:47 +0000] rev 689
Win32 IXXAT driver:
CHANGED: - Removed deprecated call to VCI_GetBrdTypeByName().
- The board type given to VCI2_PrepareBoard() is now always 0, because this parameter is not used.
- Removed the board_name parameter from IXXAT::open(). The board that should be opened is identified by the parameter board_number.
The correct parameter board_number can be determined using XAT_EnumHwEntry() and XAT_GetConfig().
- Changed the constructor IXXAT::IXXAT(). board->busname now only contains the board_number, see XAT_EnumHwEntry() and XAT_GetConfig().
Christian Taedcke <hacking@taedcke.com> [Tue, 08 Nov 2011 09:52:40 +0000] rev 688
Win32 IXXAT::
CHANGED: - removed newline from log messages
pdo.c:
FIXED: - fixed two wrong MSG_ERR calls
Christian Taedcke <hacking@taedcke.com> [Tue, 08 Nov 2011 08:59:30 +0000] rev 687
Win32:
CHANGED: - Switch character encoding to unicode.
- Changed logging format strings from %s to %S.
FIXED: - second argument to swprintf() is now the size of the target buffer
Win32 IXXAT:
CHANGED: - Changed logging format strings from %s to %S.
Christian Taedcke <hacking@taedcke.com> [Tue, 08 Nov 2011 08:59:05 +0000] rev 686
Win32:
FIXED: - The argument of LoadCanDriver() is LPCTSTR, not const char*
Christian Taedcke <hacking@taedcke.com> [Tue, 08 Nov 2011 08:27:55 +0000] rev 685
Win32 IXXAT driver:
ADDED: - Two additional log messages added, when initialization of the driver fails.
CHANGED: - Instead of writing directly into OutputDebugString() messages are printed using the new macro MSG_ERR_DRV().
Christian Taedcke <hacking@taedcke.com> [Tue, 08 Nov 2011 08:27:42 +0000] rev 684
Win32 applconfig:
CHANGED: - The MSG()-Makros for Visual Studio both print now to OutputDebugString().
ADDED: - Makro CANFESTIVAL_DEBUG_DRV_MSG() and MSG_ERR_DRV() to print into MSG() from a can driver implementation.
Christian Taedcke <hacking@taedcke.com> [Tue, 08 Nov 2011 08:27:29 +0000] rev 683
Win32 IXXAT driver:
FIXED: - A return value of 0 from VCI_ResetCan() and VCI_StartCan() indicates an error, too.
CHANGED: - The return values of VCI_ResetCan() and VCI_StartCan() are logged in case of an error.
Christian Taedcke <hacking@taedcke.com> [Thu, 22 Dec 2011 16:03:39 +0100] rev 682
SDO transfer:
FIXED: - Wrong SDO line could get changed due to a wrong parameter to setSDOlineRestBytes().
ct@78566C00-6F59-1014-AAEE-A77C3B9AAB40 [Mon, 08 Aug 2011 11:57:43 +0000] rev 681
Win32-Dll:
CHANGED: - export the function sendOnePDOevent from the windows dll.
ct@78566C00-6F59-1014-AAEE-A77C3B9AAB40 [Thu, 12 May 2011 12:23:20 +0000] rev 680
Win32-Timer:
CHANGED: - Timer implementation for win32 from absolute time (_ftime) to GetTickCount().
This fixes the following bug: When the system time was changed, a heartbeat timeout occurred.
FIXED: - Timeout seems only work properly if EnterMutex() is called before call of GetTickCount() (Patch from Roland Marquis)
Christian Taedcke <hacking@taedcke.com> [Thu, 22 Dec 2011 13:46:00 +0100] rev 679
FIXED: - The AVR example now compiles in linux.
- adapted AVR code to current default branch.
Christian Taedcke <hacking@taedcke.com> [Thu, 22 Dec 2011 11:43:08 +0100] rev 678
FIXED: - adapted paths for current vscom driver
- removed chmod +x vs_can_api.dll;
- added option -o to unzip command to overwrite existing files
Christian Taedcke <hacking@taedcke.com> [Thu, 22 Dec 2011 11:42:44 +0100] rev 677
FIXED: - the macro SUB_PROG_CFLAGS was overwritten for 64bit machines using gcc. Because of this the xenomai compilation failed.
Edouard Tisserant [Sat, 21 Jan 2012 18:49:54 +0100] rev 676
Merged some canfestival-3-ica Fixes.
Christian Taedcke <hacking@taedcke.com> [Thu, 22 Dec 2011 13:46:00 +0100] rev 675
FIXED: - The AVR example now compiles in linux.
- adapted AVR code to current default branch.
Christian Taedcke <hacking@taedcke.com> [Thu, 22 Dec 2011 11:43:08 +0100] rev 674
FIXED: - adapted paths for current vscom driver
- removed chmod +x vs_can_api.dll;
- added option -o to unzip command to overwrite existing files
Christian Taedcke <hacking@taedcke.com> [Thu, 22 Dec 2011 11:42:44 +0100] rev 673
FIXED: - the macro SUB_PROG_CFLAGS was overwritten for 64bit machines using gcc. Because of this the xenomai compilation failed.
Mongo [Thu, 15 Dec 2011 14:51:20 +0100] rev 672
bug correction in sdo.c, in writeNetworkDictCallBackAI a call to _writeNetworkDict had endianize forced to 1
Mongo [Tue, 13 Dec 2011 17:38:12 +0100] rev 671
bug correction in dcf.c, an entry of only one byte was not checked
Mongo [Wed, 02 Nov 2011 22:37:24 +0100] rev 670
New feature : event timers allowed for RxPDOs (subidx 5 in RxPDO com paramaters)
Mongo [Thu, 13 Oct 2011 17:51:27 +0200] rev 669
Configuration manager with DCF in object 0x1F22 rewritten almost from scratch.
1. The boot-up message from a device starts a verification of entries
2. If all entries matches the node is started
3. If an entry differs the whole dcf is written and a save is done
4. A reset is send to the node
5. If several boot-up are received at the same time they will be managed one
by one thus only one free sdo client is needed for the whole process.
Mongo [Mon, 12 Sep 2011 10:52:02 +0200] rev 668
Added some fixes from Jaroslav Fojtik submitted on sourceforge bug tracker:
3096348 Missing "break" in states.c/canDispatch()
3096359 Crash inside dcf.c/send_consise_dcf()
3101891 Potencial overflow inside getNodeState()
fbeaulier [Tue, 30 Aug 2011 12:14:34 +0200] rev 667
Added include stdlib.h for malloc functions in sdo.c
fbeaulier [Mon, 29 Aug 2011 17:44:49 +0200] rev 666
patch from Stefan Kratochwil <entwicklung@inovel.de> : canfestival-3-fm3_698.patch
Bug:
If an object dictionary entry was requested whose size exceeds
SDO_MAX_LENGTH_TRANSFERT, the memcpy() call at line 139 of objacces.c overwrites
the memory after *pDestData which causes stack corruption.
-> Bugfix:
The bug was corrected by size checking the requested data. An 'Out of
memory' error message will be generated if the requested data exceeds
SDO_MAX_LENGTH_TRANSFERT.
Additional changes:
Added dynamic buffer allocation for the SDO transfer. This feature can be used
if SDO_DYNAMIC_BUFFER_ALLOCATION is defined in config.h. The size of the
dynamically allocated buffer is controlled with
SDO_DYNAMIC_BUFFER_ALLOCATION_SIZE.
-> Note:
This change removes the detection of OD_LENGTH_DATA_INVALID errors!
fbeaulier [Mon, 29 Aug 2011 17:31:55 +0200] rev 665
patch from Christian Taedcke <hacking@taedcke.com> : fix-wrong-resetSDOline-for-sdo-timeout.patch
FIXED: - The sdo line must not be closed at the end of SDOTimeoutAlarm() if the same sdo line is closed and reopened for a new transfer inside the callback. (Patch from Jaroslav Fojtik)
fbeaulier [Mon, 29 Aug 2011 16:59:55 +0200] rev 664
CHANGE: SDO block mode added, without CRC support
WARNING : API change in client functions
fbeaulier [Tue, 16 Aug 2011 14:15:52 +0200] rev 663
timers_unix.c : remove sigint and sigterm catch
sdo : Allow multiple servers
The sdo transfer struct is not anymore referenced by server's node id but by
client or server number in the OD. Node id is not relevant in SDO transfert.
Edouard Tisserant [Thu, 23 Jun 2011 18:12:34 +0200] rev 662
fixed bug with cross wmingw build
Stefan@Sheldon [Mon, 20 Jun 2011 18:36:43 +0200] rev 661
Removed unneccessary overhead introduced with the last fix.
skratochwil [Mon, 20 Jun 2011 15:03:54 +0200] rev 660
Fixed incorrect struct access in sendPDO() and inserted a missing variable in sendOnePDOEvent(). These errors occured at compile-time when configuring the project with './configure --debug=PDO' or './configure --debug=WAR'.
Edouard Tisserant [Wed, 13 Apr 2011 16:29:59 +0200] rev 659
Fix some side effects of EDS import, while editing afterward
Christian Taedcke [Fri, 28 Jan 2011 14:51:18 +0100] rev 658
FIXED: - changed make targets from "%o: %c" to "%.o: %.c" (Patch from irc <oleg_osov>)
find . -name 'Make*' | xargs perl -w -i.bak -p -e "s/\%o: \%c/%.o: %.c/g"
Christian Taedcke [Fri, 28 Jan 2011 14:51:18 +0100] rev 657
FIX: - if a sdo transfer timeout occurres, reset the sdo line even if the callback function does not.
Christian Taedcke [Thu, 27 Jan 2011 17:45:48 +0100] rev 656
FIXED: - Sdo lines with the internal state SDO_ABORTED_ITERNAL are now closed.
Christian Taedcke [Wed, 10 Nov 2010 13:08:26 +0100] rev 655
CHANGED: - canSend message parameter is now a const pointer
ADDED : - IXXAT specific can bus watchdog to restart the VCI2 driver if a bus off, data ovverrun or remote queue overrun is detected. The can adapter cannot recover on its own.
* * *
CHANGED: - IXXAT::m_watchdogTimerId from DWORD to UINT_PTR to fix compiler warning
Christian Taedcke <hacking@taedcke.com> [Thu, 27 Jan 2011 17:45:48 +0100] rev 654
FIXED: - compiler warning from printf format string
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 15:52:59 +0100] rev 653
FIXED: - TimerInit() was missing
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 15:52:27 +0100] rev 652
FIXED: - OK and NOT OK was wrong in canSend()
Christian Taedcke [Thu, 09 Sep 2010 16:01:13 +0200] rev 651
FIXED: - bug while normal sdo transfer initialization (setting the byte count)
Christian Taedcke [Wed, 10 Nov 2010 14:19:31 +0100] rev 650
FIXED: - Renamed macro for peak win32 driver, patch from mailinglist (post from Christian Boepple, 2010-09-08 14:38)
Christian Taedcke [Mon, 15 Nov 2010 08:56:35 +0100] rev 649
CHANGED: - function sendOnePDOevent (CO_Data* d, UNS32 pdoNum) into sendOnePDOevent (CO_Data* d, UNS8 pdoNum)
- added explicit casts to remove compiler warnings
Christian Taedcke [Mon, 15 Nov 2010 08:55:34 +0100] rev 648
CHANGED: - added explicit cast to remove compiler warning
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 08:20:21 +0100] rev 647
CHANGED: - canReceive and canSend return now 1 on error and 0 on success
Christian Taedcke [Thu, 09 Sep 2010 15:28:48 +0200] rev 646
CHANGED: - added explicit cast to remove compiler warning
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Tue, 16 Feb 2010 08:36:56 +0100] rev 645
FIXED: - added CALLBACK to can callback function prototypes
Christian Taedcke <hacking@taedcke.com> [Sat, 11 Dec 2010 14:24:09 +0100] rev 644
FIXED: - added missing endif
* * *
FIXED: - moved #include <linux/delay.h> into the ifdef __KERNEL__ block
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 15:51:40 +0100] rev 643
CHANGED: - async access queue has now blocking read
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Tue, 23 Feb 2010 08:12:19 +0100] rev 642
ADDED: - pause() for win32
* * *
CHANGED: - moved pause implementation to main.cpp
- default driver to ixxat, baudrate to 125K and slaveid to 0x40
* * *
FIXED: - append "K" to baudrate
- added TimerInit()
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Tue, 23 Feb 2010 08:09:57 +0100] rev 641
CHANGED: - moved wxwidget header
ADDED: - getopt include for win32
FIXED: - TimerInit must be done for win32, too
* * *
CHANGED: - getopt signature (temp change)
* * *
CHANGED: - moved getopt and windows include
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 08:19:23 +0100] rev 640
ADDED: - LeaveMutex and EnterMutex to exported symbols
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 08:18:40 +0100] rev 639
CHANGED: - if variable starts with a digit, add a "_" at the beginning
* * *
FIXED: - if callback array name starts with a digit, prepend "_"
Christian Taedcke [Fri, 10 Sep 2010 08:55:42 +0200] rev 638
CHANGED: - option to integrate a can driver statically (hack)
FIXED: - missing () in log message
* * *
CHANGED: - adapted UnLoadCanDriver() for the macro NOT_USE_DYNAMIC_LOADING
Christian Taedcke [Thu, 09 Sep 2010 15:50:02 +0200] rev 637
CHANGED: - enabled console debugging for Visual Studio 2003 and below (without __VA_ARGS__).
Christian Taedcke [Thu, 09 Sep 2010 15:56:06 +0200] rev 636
ADDED: - dynamic memory allocation for sdo transfer using malloc and free
CHANGED: - enabled lss, enabled dynamic buffer allocation and set max sim sdo transfers to 32
Christian Taedcke [Thu, 09 Sep 2010 15:38:20 +0200] rev 635
ADDED: - new callback post_SlaveStateChange so that a master can monitor the state of its slave nodes using a heartbeat.
* * *
CHANGED: - added missing export for _post_SlaveStateChange (for revision #679)
edouard [Sun, 28 Nov 2010 00:05:16 +0100] rev 634
get always the latest version of VSCAN API
edouard [Sat, 13 Nov 2010 23:08:34 +0100] rev 633
Fix mingw32 cross build for can_peak_win32 and can_tcp_win32 server.