Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Full Bitrate CAN 500kbps Scantool Recommendations?

  1. #1
    Constant Bitrate
    Join Date
    Mar 2007
    Location
    Rutherford, Australia
    Posts
    151

    Full Bitrate CAN 500kbps Scantool Recommendations?

    Are there any affordable scantools on the market that would let me sniff a HS-CAN network running at 500kbps without dropping any packets? It would be nice if it was fully OBDII multiprotocol compliant, but at this stage I already have a cheap but slower ELM327 based OBDII tool and would consider a CAN-only tool.

    If so, I'd be interested in links, references, reports of experience or pricing if any of that is available.


    Luke Plaizier

  2. #2
    Constant Bitrate
    Join Date
    Mar 2007
    Location
    Rutherford, Australia
    Posts
    151
    I better mention the Drewtech Mongoose or I'll get shot - this one in particular supports the ISO9141 and HS-CAN bus on Australian BA Falcons which appear to have adopted a generic European Network layout even though it uses a locally designed and built 4.0 Litre inline 6 and an American sourced and locally assembled 5.4 Litre V8 (Standard (ISO/CAN))

    $295 USD plus shipping direct from the website above

    $285 USD plus shipping from eBay (eBay Motors: Mongoose for Asian/European (ISO/CAN) - J2534 Pass-Thru (item 110029021040 end time Apr-02-07 07:55:47 PDT))

    The J2534 support and 12MB speed gives it a future as a serious tool. However I'd have to find out if it gives me low-level access to the CAN bus directly, rather than just through the J2534 API.

    While future API access is a plus, at the moment I'd like to be able to see the raw data.


    Lukeyson

  3. #3
    Constant Bitrate joeyoravec's Avatar
    Join Date
    Oct 2005
    Location
    Livonia, MI
    Posts
    205
    Quote Originally Posted by Lukeyson View Post
    The J2534 support and 12MB speed gives it a future as a serious tool. However I'd have to find out if it gives me low-level access to the CAN bus directly, rather than just through the J2534 API.
    The J2534-1 API gives you low-level access to the CAN network. You get variable baud rates, at least the standard medium speed 125k/250k, highspeed 500k, and up to 1M. Also, access to parameters like the bit sample point and sync jump width if you need those. Is there anything else you'd need that it doesn't provide?

    I took a break at work this morning and wrote a sample "sniffer" program in C to demonstrate.

    Code:
    // Open a handle to the PassThru device and connect to CAN on pins 6 & 14
    errcode = PassThruOpen(NULL, &DeviceID);
    errcode = PassThruConnect(DeviceID, CAN, 0, 500000, &ChannelID);
    
    // Add a "pass all" filter because J2534-1 blocks everything by default
    Mask.ProtocolID = CAN;
    Mask.TxFlags = 0;
    Mask.Data[0] = 0x0;
    Mask.Data[1] = 0x0;
    Mask.Data[2] = 0x0;
    Mask.Data[3] = 0x0;
    Mask.DataSize = 4;
    Pattern.ProtocolID = CAN;
    Pattern.TxFlags = 0;
    Pattern.Data[0] = 0x0;
    Pattern.Data[1] = 0x0;
    Pattern.Data[2] = 0x0;
    Pattern.Data[3] = 0x0;
    Pattern.DataSize = 4;
    errcode = PassThruStartMsgFilter(ChannelID, PASS_FILTER, &Mask, &Pattern, NULL, &filterID);
    
    while (1)
    {
    	// Try to read 100 messages
    	numMsgs = 100;
    	errcode = PassThruReadMsgs(ChannelID, Msg, &numMsgs, 10);
    	if (errcode == ERR_BUFFER_OVERFLOW)
    	{
    		// Getting here means you've dropped a packet. If so,
    		// try to read more messages at once
    	}
    
    	// Log to disk instead of writing to the Windows GUI if speed is critical
    	dbug_printmsg(Msg, "pMsg", numMsgs, 0);
    }

  4. #4
    Constant Bitrate
    Join Date
    Mar 2007
    Location
    Rutherford, Australia
    Posts
    151
    Nearly there....now we just need the source code to Hyperterm, and add J2534 as an additional connection option, and we're done!

    So it looks like if I move in the J2534 direction I'll have to brush off the old C skills (well, 'lack of skills' is more like it) and cut out the rust....


    Lukeyson

  5. #5
    Constant Bitrate
    Join Date
    Mar 2007
    Location
    Rutherford, Australia
    Posts
    151
    This question is admittedly duplicated elsewhere, but I thought I'd pop it here as well.

    What protocols does the Mongoose-plus currently support? Is it PWM only? Is there an ISO/CAN version? If not, will there be in the future?

    The reason I'm asking is for support for the Ford/Motorcraft J2534 PCMFlash/Webflash utility - which I am yet to find more about.


    Lukeyson

  6. #6
    Newbie
    Join Date
    May 2007
    Posts
    3
    Luke -

    I got a Mongoose ISO/CAN this week. I haven't done any CAN speed test but it has handled my ISO9141 requirements. Drew has published their implementation of the API on their support site, have a look at this material, it's quite easy to use.

  7. #7
    Maximum Bitrate
    Join Date
    Feb 2006
    Location
    Melbourne, Australia
    Posts
    649
    @ Lukeyson:

    I have replied to your thread at Fordmods.

    Please check it out.
    F6 Tornado Project Log ; HP Blackbird Watercooled Server

    Beta Tester for Centrafuse and 3dConnexion (No business affiliation with either)

  8. #8
    Maximum Bitrate
    Join Date
    Feb 2006
    Location
    Melbourne, Australia
    Posts
    649
    I have ordered the Mongoose-Plus, and should receive it next week - will keep you guys posted.
    F6 Tornado Project Log ; HP Blackbird Watercooled Server

    Beta Tester for Centrafuse and 3dConnexion (No business affiliation with either)

  9. #9
    Constant Bitrate
    Join Date
    Mar 2007
    Location
    Rutherford, Australia
    Posts
    151
    Yes, I have a Mongoose now too.

    Just getting started on whipping up a simple 'sniffer' tool for it. We've already made some good progress on the ELM but I've just hit an issue where the ELM doesn't report back to me very well when sniffing ISO - so I wanted another tool to try to see if it's an incompatibility with the ELM ISO implemntation and the BA Falcon, or if there's something i've missed.

    There's not much to set on the ELM really.


    Lukeyson

  10. #10
    Newbie
    Join Date
    Aug 2007
    Location
    Detroit, MI
    Posts
    26
    You might find this rudimentary message monitoring utility to be of use in watching CAN traffic (and other kinds of vehicle network traffic). As it appears in this download, it works with the Mongoose ISO/CAN device, but with a minor change to the accompanying configuration file, it can be made to work with any of the Mongeese.

    IPSECOSMsgMon.zip

Page 1 of 2 12 LastLast

Similar Threads

  1. Playing full screen video only to rear screen
    By yossisibi in forum Centrafuse
    Replies: 3
    Last Post: 10-29-2006, 07:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •