Edouard Tisserant [Sat, 04 Feb 2012 01:38:15 +0100] rev 712
merge with CanFestival-3-asc
Mongo [Wed, 01 Feb 2012 15:55:45 +0100] rev 711
minor modification on two MSG_ERR
Edouard Tisserant [Sat, 04 Feb 2012 01:33:16 +0100] rev 710
merged ica
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 21:40:59 +0100] rev 709
win32:
- Added visual studio 2010 solution file and project files. Some driver that
does not work are disabled in the configuration manager.
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 21:37:22 +0100] rev 708
can_copican_win32:
- renamed project files to include vc10
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 21:35:32 +0100] rev 707
can_uvccm_win32:
- remove depricated OptimizeForWindows98 from project file
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 20:32:07 +0100] rev 706
can_uvccm_win32:
- added can_uvccm_win32 to solution file and fixed compilation errors for current driver
- renamed project file to include vc9
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 20:28:25 +0100] rev 705
CANopenShell win32:
- fixed include path for release configuration
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 20:25:36 +0100] rev 704
can_peak_win32:
- added can_peak_win32 to solution file (disabled project in configuration manager)
- renamed project file to include vc9
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 20:16:06 +0100] rev 703
can_anagate_win32:
- added can_anagate_win32 to solution file and fixed compilation errors for current driver
- renamed project file to include vc9
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 20:06:45 +0100] rev 702
CANOpenShell example:
ADDED: - generated obejct dictionaries, so that the samples can be build without
using objdictgen first
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 20:05:46 +0100] rev 701
Win32:
FIXED: - converted visual studio solution file back to 2008.
RENAMED: - solution file name and used project file names to project.vc9.vcproj
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 08:49:26 +0100] rev 700
Win32 fixes:
- added SDO_BLOCK_SIZE macro to win32 config.h
- added explicit casts to remove compiler warnings to sdo.c
- added missing exports to Canfestival-3.def
Christian Taedcke <hacking@taedcke.com> [Mon, 23 Jan 2012 08:43:13 +0100] rev 699
dcf.c:
- removed inline definition of dcf variable, which is not allowed on many c compilers.
- removed SaveNode() call using ifdef, because not all canopen devices support this feature.
Later on it should be possible to enable this for each dcf entry using objdictedit.
- fixed bug when dereferencing an dcf entry from the object dictionary.
Edouard Tisserant [Sat, 04 Feb 2012 00:57:39 +0100] rev 698
merges with https://bitbucket.org/JaFojtik/canfestival-3
JaFojtik [Fri, 03 Feb 2012 22:34:44 +0100] rev 697
ID: 3459307 - Async problem in drivers/win32/win32.c
JaFojtik [Fri, 03 Feb 2012 22:13:25 +0100] rev 696
Windows CAN DLL driver sanity check.
JaFojtik [Fri, 03 Feb 2012 21:42:48 +0100] rev 695
Multiple instances CAN wirtual network for PEAK and Windows.
JaFojtik [Fri, 03 Feb 2012 21:15:22 +0100] rev 694
There is no English word "transfert". Fix all the typos.
Edouard Tisserant [Fri, 03 Feb 2012 15:43:44 +0100] rev 693
Applyed changes from discussion '[Canfestival-devel] some minor CanFestival build suggestions', https://sourceforge.net/mailarchive/message.php?msg_id=28397766
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