RePhone_on_Linux icon indicating copy to clipboard operation
RePhone_on_Linux copied to clipboard

Not able to flash within Virtualbox

Open chiraag-nataraj opened this issue 9 years ago • 2 comments
trafficstars

I'll describe the setup and the stuff I've tried. I'm using Debian Sid/Experimental. I downloaded a copy of the repository in my Windows 10 virtual machine (inside VirtualBox). I've passed-through /dev/ttyACM0 as COM1. COM1 is recognized inside the virtual machine. However, FirmwareUpdater.exe refuses to find the serial device. When I try with FlashTool, I get the same problem - that is, the device is never found. How should I go about this? Is there an alternative way to flash from MSC mode?

[EDIT] I should note that I don't have any Windows machines besides the VM described above.

chiraag-nataraj avatar Sep 08 '16 18:09 chiraag-nataraj

FirmwareUpdater.exe also fails on a dedicated windows machine.

Have you disconnected the battery? Have you unplugged the device, run FlashTool and plugged it back again?

pirj avatar Sep 21 '16 17:09 pirj

Hey, I had the same issue (Win 10 in VBox on OSX). I managed to get it flashed with these steps:

  1. Plug in your rephone and ensure that two COM ports show up in Device Manager
  2. Ensure that MTK Device Drivers are installed (http://wiki.seeed.cc/Arduino_IDE_for_RePhone_Kit/) An easier way to disable Driver Signature Enforcement is to open the command prompt as admin, and run "bcdedit /set testsigning on", and then restart.
  3. Start FirmwareUpdater.exe, select the SEEED02A_DEMO_BB.cfg image from FirmwareUpdate/firmware/LinkIt_Device/RePhone/W15.19.p2-uart, press the big download button, and then press the power button on your rephone to power cycle it (per https://labs.mediatek.com/forums/posts/list/3407.page)
  4. The download should then commence, and hopefully not timeout!

Hopefully that works for you, it was a pain getting it to work for me, but after following these steps, it worked immediately.

jpsamaroo avatar Nov 10 '16 00:11 jpsamaroo