linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Haas <dev@sebastianhaas.info>
To: Uwe Wilhelm <u.wilhelm@peak-system.com>
Cc: 'Jan-Niklas Meier' <dschanoeh@googlemail.com>,
	'Oliver Hartkopp' <socketcan@hartkopp.net>,
	linux-can@vger.kernel.org, s.grosjean@peak-system.com
Subject: Re: Bus-simulation with SocketCAN
Date: Sat, 14 Jan 2012 10:45:37 +0100	[thread overview]
Message-ID: <4F114EC1.1050705@sebastianhaas.info> (raw)
In-Reply-To: <000901ccd237$aae943f0$00bbcbd0$@wilhelm@peak-system.com>

Hello Uwe,

would be great if could provide us example .sym files which utilize the 
whole feature set of the SYM file format.

Specifications or example codes are also very much appreciated. ;-)

Thanks for your support.

Cheers,
  Sebastian

Am 13.01.2012 22:09, schrieb Uwe Wilhelm:
> Dear Sebastian,
> if you need any help with the SYM File Format, please let us know.
>
> Best Regards
>
>   Uwe Wilhelm
>   PEAK-System
>   Sales&  Support
>
> -----Ursprüngliche Nachricht-----
> Von: linux-can-owner@vger.kernel.org
> [mailto:linux-can-owner@vger.kernel.org] Im Auftrag von Sebastian Haas
> Gesendet: Freitag, 13. Januar 2012 21:07
> An: Jan-Niklas Meier
> Cc: Oliver Hartkopp; linux-can@vger.kernel.org; s.grosjean@peak-system.com
> Betreff: Re: Bus-simulation with SocketCAN
>
> Hello together,
>
> Am 11.01.2012 09:38, schrieb Jan-Niklas Meier:
>> 2012/1/10 Sebastian Haas<dev@sebastianhaas.info>:
>>>> Implementing a restbus functionality in JAVA based on the Kajak library
> is
>>>> very easy - when  you are a JAVA developer ;-)
>>>>
>>>> I like your approach to get a restbus simulation in C.
>>>
>>> Well the simulation is written in Javascript, which is even easier than C
> or
>>> Java. I want it to be easy to use. The only dependency is NodeJS and you
> can
>>> write and run simulation and test cases from commandline within few
> minutes.
>>
>> I like the idea of using Javascript and especially NodeJS for restbus
>> simulation. At the weekend I will try to set it up at home and play
>> around a little bit :).
> Sounds good. I hope you like it and we can work together on it.
>
>>>> I wonder, if it makes sense for your project to adopt the XML-based KCD
>>>> format for CAN signal descriptions:
>>>
>>> I had a look at the spec, KCD looks pretty good, I think I will use it to
>>> replace the JSON description.
>>
>> \o/ Yay! That's a good idea.
> Yes KCD looks quite complete to describe a whole CAN network include the
> communicate. But I'm not yet sure how to extend it for specific features
> like other protocols.
>
> The basic idea was to have a NodeJS instance for each CAN node to
> simulate. Basically the API allows also to simulate many nodes within
> the same NodeJS instance. But I think it is easier for an developer to
> develop and test CAN nodes in different instances.
>
>>>> There's also a dbc input converter on the run to create KCDs:
>>>> https://github.com/dschanoeh/CANBabel
>>>
>>> Thats create, I was afraid I need to implement the converter myself. ;-)
> I
>>> hope they will extend to parse .sym files from Peak as well.
>>
>> We mostly have .dbc files we need to convert. Support for different
>> formats (and possibly even conversion in both ways) is planned. Do you
>> use PEAK .sym-files and could you provide some example files and help
>> finding bugs in a .sym-Parser?
> No I do not have any PEAK files, but I wonder @Stephane may help us.
>
>>> Do you know about BUSMASTER (https://github.com/rbei-etas/busmaster). If
> it
>>> weren't Windows (R) only it would be an interesting solution.
>>>
>>> Oliver, what must restcan provide to be useable for you in your daily
> work?
>>> Or what do you expect from such a tool?
>>
>> How lightweight is NodeJS? I would find this useful for quick and
>> dirty hacks in embedded units. Could memory (Flash and RAM) be a
>> problem on such devices?
> This thought came also in my mind. I wonder on which type of machines
> (available RAM) do you want run it?
>
> NodeJS just relies on STL and PThread. But I'm afraid STL is quite big
> ;-) ... Heap usage looks quite good IMHO. If I let signal_tx.js running
> the Gnome System monitor reports 2.3MB memory usage. If you also take
> shared libaries into account the footprint explodes up to 64MB. But I
> wonder if it is possible to compile NodeJS/V8 against a more memory
> sensible version of the STL.
>
> Cheers,
>    Sebastian
> --
> To unsubscribe from this list: send the line "unsubscribe linux-can" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> --
> PEAK-System Technik GmbH, Otto-Roehm-Strasse 69, D-64293 Darmstadt
> Geschaeftsleitung: A.Gach/U.Wilhelm, HRB 9183 Darmstadt, Ust.IdNr.:DE 202 220 078
> St.Nr.:007/241/13586 FA Darmstadt, WEE-Reg.-Nr.: DE39305391
> Tel.:+49 (0)6151 8173-20 - Fax:+49 (0)6151 8173-29
> E-mail: info@peak-system.com - http://www.peak-system.com

  parent reply	other threads:[~2012-01-14  9:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4F0B6B35.20104@sebastianhaas.info>
2012-01-10 10:29 ` Bus-simulation with SocketCAN Oliver Hartkopp
2012-01-10 21:11   ` Sebastian Haas
2012-01-11  7:24     ` Yegor Yefremov
2012-01-13 20:08       ` Sebastian Haas
2012-01-11  8:38     ` Jan-Niklas Meier
2012-01-13 20:06       ` Sebastian Haas
     [not found]         ` <000901ccd237$aae943f0$00bbcbd0$@wilhelm@peak-system.com>
2012-01-14  9:45           ` Sebastian Haas [this message]
2012-01-15  9:13         ` Sebastian Haas
2012-01-15 14:39           ` Jan-Niklas Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F114EC1.1050705@sebastianhaas.info \
    --to=dev@sebastianhaas.info \
    --cc=dschanoeh@googlemail.com \
    --cc=linux-can@vger.kernel.org \
    --cc=s.grosjean@peak-system.com \
    --cc=socketcan@hartkopp.net \
    --cc=u.wilhelm@peak-system.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).