element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum Linux flashing, no device connected under Windows XP
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 19 replies
  • Subscribers 26 subscribers
  • Views 2400 views
  • Users 0 members are here
Related

Linux flashing, no device connected under Windows XP

davorin
davorin over 11 years ago

Does the MfgTool require any specific Windows version?

 

Hooking up the Riotboard with the DIP switches set to serial download just shows a "No Device Conencted" when the flashing tool ist started...

though it USB device is seen on Windows XP...

  • Sign in to reply
  • Cancel

Top Replies

  • Nitin_Bhaskar
    Nitin_Bhaskar over 11 years ago +1
    Make sure that you don't have SD card inserted and configure the DIP switches accordingly. There is a tool called imx_usb_loader which can be used in linux for loading purpose. -Nitin
Parents
  • radiatortwo
    radiatortwo over 11 years ago

    Take a Look here in the FAQ section.RIoTboard Platform Glossary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • davorin
    davorin over 11 years ago in reply to radiatortwo

    Problem is that the USB HID isn't listed at all...not visible under WinXP under Parallels nor under OSX...

     

    And yes..DIP switches are set correctly...the OTG conenctor is the one besides the LAN port, right?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • davorin
    davorin over 11 years ago in reply to radiatortwo

    Problem is that the USB HID isn't listed at all...not visible under WinXP under Parallels nor under OSX...

     

    And yes..DIP switches are set correctly...the OTG conenctor is the one besides the LAN port, right?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • radiatortwo
    radiatortwo over 11 years ago in reply to davorin

    If the driver isn´t recognized just by plugging the board in, then you have to do it manually. (No additional Driver needed from WindowsXP and onwards.)

    I described this here: Re: Riotboard not recognized in Device Manager

    (The deccription can change a bit since you have XP)

     

    Also you maybe have to remove some old drivers.
    I´ve written something about this in the same thread here: Re: Re: Riotboard not recognized in Device Manager

    (This applies to all Windows Versions from XP onwards.)


    The FAQ points to this thread, that´s why I´ve written that first.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • davorin
    davorin over 11 years ago in reply to radiatortwo

    Not the driver isn'r recognized...

     

    The USB isn't listed at all....OSX shows under "Profile" all USB devices connected...regardless if they have a driver or not...

    So it seems the USB OTG isn't initialized properly as a HID....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • radiatortwo
    radiatortwo over 11 years ago in reply to davorin

    I don´t understand what your problem is.

     

    Look into your device manager in Windows and look for an unknown device.

    If you have that after plugging in th riotboard, you have to follow the steps I´ve written in the thread.

    Windows does NOT recognize devices as USB if it can´t install a driver for it. It´s just an unknown device.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • davorin
    davorin over 11 years ago in reply to radiatortwo

    Let me explain again (o;

     

    There is NO USB device recognized when plugging in the USB cable...just like no USB device is attached at all...

    Nothing to do with drivers, Windows, or any other OS....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • radiatortwo
    radiatortwo over 11 years ago in reply to davorin

    That's confusing because you have written in your first post that an USB device is recognized in Windows XP.

     

    Only thing you can do is switch the cable or try another pc.

    Also check the dip switches if they work correctly.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • davorin
    davorin over 11 years ago in reply to radiatortwo

    Stupid me ;-)

     

    In the manual the DIP switches are labelled from left to right for S1 - S8 with a picture of the DIP switch below...but the DIP switches start from right to left...so it never entered the device mode...

     

    Loads now the OS but fails in writing the rootfs:

     

    Serial console output:

     

    tar: short read

     

    MfgTool error:

     

    "Push" error, file="C:\Dokumente und Einstellungen\Administrator\Desktop\Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER\Profiles\MX6DL Linux Update\OS Firmware\files\oneiric.tgz"

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • radiatortwo
    radiatortwo over 11 years ago in reply to davorin

    Is this the error from the log file?

     

    If not look into the log file if you have some more info.

    You´re the first with such an error.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • davorin
    davorin over 11 years ago in reply to radiatortwo

    This is the content of the log file:

     

    ModuleID[2] LevelID[10]: DeviceTypeDisk--_devices size: 1

    ModuleID[2] LevelID[10]: Volume--StorageDisk, Disk->_driveNumber:1, Volume->_diskNumber:1

    ModuleID[2] LevelID[10]: DeviceTypeDisk--find Disk device: 00BA1AF0

    ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 3

    ModuleID[2] LevelID[10]: VolumeDeviceClass::AddUsbDevice() successful E add to current list, retrycount: 0

    ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 3

    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT-Disk(E), Hub:2-Port:3

    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT, Notify

    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove

    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh

    ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume/Device Arrive

    ModuleID[2] LevelID[1]: CmdOpreation[0]--set m_hDeviceArriveEvent.

    ModuleID[2] LevelID[10]: CmdOpreation[0]--WaitforEvents device arrive1

    ModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 1

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ tar xf $FILE

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ sh mksdcard.sh /dev/mmcblk0

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2 conv=fsync

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ dd if=$FILE of=/dev/mmcblk0 bs=1M seek=1 conv=fsync

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mkfs.ext3 -j /dev/mmcblk0p1

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mkdir -p /mnt/mmcblk0p1

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mount -t ext3 /dev/mmcblk0p1 /mnt/mmcblk0p1

    ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is pipe tar --numeric-owner -zxv -C /mnt/mmcblk0p1

    ModuleID[2] LevelID[1]: PortMgrDlg(0)--MSCDevice--Command Push(file) excute failed

    ModuleID[2] LevelID[10]: CmdOperation[0], current command executed failed, so SetEvent(hDevCanDeleteEvent)

    ModuleID[2] LevelID[10]: CCmdOpreation[0] thread is Closed

    ModuleID[2] LevelID[10]: CCmdOpreation[0] thread is Closed

    ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - EVENT_KILL

    ModuleID[2] LevelID[10]: CMyExceptionHandler::OnMsgExceptionEvent() - KillExceptionHandlerThread

    ModuleID[2] LevelID[10]: Exception Handler thread is closed

    ModuleID[2] LevelID[1]: delete MxHidDeviceClass

    ModuleID[2] LevelID[10]: Device Manager thread is closed

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • radiatortwo
    radiatortwo over 11 years ago in reply to davorin

    Same info...

    Only says push of the file failed...

     

    Maybe the file is damaged?

    Try to overwrite the file "Profiles\MX6DL Linux Update\OS Firmware\files\oneiric.tgz" with a freshly unpacked.


    Also there should be another "oneiric.tgz" in the downloaded zip in the folder "image_SVN2487".

    (They´re double in the zip file. Could save half of the file size if it wasn´t there...)


    Try to overwrite the one in the profile folder with that one.

    Or if you already did that and you get that error, overwrite it with the one in the Profile folder in the zip.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • davorin
    davorin over 11 years ago in reply to radiatortwo

    No luck..already tried with fresh downloads and exchanging rootfs files...

     

    Just where it stops is different....now stops at:

     

    bin/netstat

    boot/

    boot/uImage

    boot/linux.config

    boot/bootable_kernel

    boot/System.map

     

    Testing the oneiric.tgz files shows no issues with it...test untarres it without errors...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube