linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bernd Krumboeck <krumboeck@universalnet.at>
To: Oliver Hartkopp <socketcan@hartkopp.net>,
	"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Cc: Gediminas Simanskis <gediminas@8devices.com>
Subject: Re: Flashing USB2CAN devices under Linux and change the serial number
Date: Sat, 23 May 2015 10:06:28 +0200	[thread overview]
Message-ID: <55603504.7030405@universalnet.at> (raw)
In-Reply-To: <550D31DD.5090206@hartkopp.net>

Sorry for the long delay.

I've updated the README.md file.

regards,
Bernd


Am 2015-03-21 um 09:54 schrieb Oliver Hartkopp:
> Hello Bernd,
>
> my colleague Eike wanted to change the USB2CAN serial numbers of his devices
> to have a proper differentiation between them.
>
> For that reason Gediminas provided on the 8device download section
>
>      http://www.8devices.com/usb2can#downloads
>
> This file:
>
> http://www.8devices.com/media/files/usb2can_eeproms_dfu_ED000100-ED000226.zip
> (EEPROM images for devices with serial numbers ED000100-ED000226)
>
> The zip contains 37 dfu files named ED000xxx_1_0.dfu (xxx = different numbers)
>
> As I was successful on my setup with flashing the firmware 1.5
>
>      http://www.8devices.com/media/files/usb2can_flash_1_5.zip
>
> Eike tried to flash the serial number dfu's in the same way which didn't work.
>
> The adapter was stuck in the bootloader and he wasn't able to flash it.
> It turned out that this was a timing issue on his specific hardware and
> Gediminas suggested to *put an USB hub between the PC and the CAN adapter*
> as some new high speed USB ports create problems with the timing.
>
> That made it work!
>
> So here are the command line options from Eike to flash the adapters.
>
> Firmware: dfu-util –d 0483:df11 –a 0 –D usb2can_1_5.dfu
> SerialNo: dfu-util –d 0483:df11 –a 1 –D E000xxx_1_0.dfu
>
> Together with the two attached patches applied on the dfu-util 0.8 at
>
>      http://sourceforge.net/p/dfu-util/dfu-util/ci/master/tree/
>
> we now have a working solution to flash firmware and serial numbers with Linux.
>
> Maybe you can update the README.md at
>
>      https://github.com/krumboeck/usb2can_firmware
>
> to add these infos.
>
> (Especially link to the attachments in this post e.g. on
> http://marc.info/?l=linux-can and change the URL to the dfu-util which has
> moved from gitorious to sourceforge due to gitorious shutdown)
>
> Best regards,
> Oliver


      reply	other threads:[~2015-05-23  8:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0AD3D310E3BB3A45B6040EDF5C9897723F6A7188@VWAGWOXB0401.vw.vwg>
2015-03-21  8:54 ` Flashing USB2CAN devices under Linux and change the serial number Oliver Hartkopp
2015-05-23  8:06   ` Bernd Krumboeck [this message]

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=55603504.7030405@universalnet.at \
    --to=krumboeck@universalnet.at \
    --cc=gediminas@8devices.com \
    --cc=linux-can@vger.kernel.org \
    --cc=socketcan@hartkopp.net \
    /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).