I started the NodeJS as an Administrator (right-click on the link shown below and “Run As Administrator”).
Then I run this command on the NodeJS command prompt which installed quite a few things. See screenshot below.
npm install –g particle-cli
After that, I type command below to login into Particle (see command below) and after I enter my password, it is hung. Nothing comes back for 2 hours.
particle login
Not too sure what went wrong here. Btw, is this the correct steps to uploading the firmware using USB? I know it is possible using the 3G network but I am just trying to save on my data plan.
I launch the “particle setup” though command line but I am prompted to go back to the https://setup.particle.io to enter the billing information. See screenshot below.
When I enter the console webpage (see link below), I do see my registered SIM card.
I don’t see how the information of this previous post relates in any way to your topic title
But you seem to have ignored my answer which addressed the topic originally asked for entirely.
Maybe I misunderstood you or the question was phrased incorrectly. I want to load my “firmware.bin” file though USB and not though the 3G network purely in the interest to preserve data.
Just jogging though my thoughts here with your suggested answers. Uninstall the npm installed particle and use Windows CLI. Which I did all that. The last part of the Windows CLI Install says to “Run “particle setup” in the command prompt to start using the Particle CLI” (see screenshot below). Maybe I don’t have to do this part??
But If I want to enter the command you had suggested (as shown below) don’t I have to start with “particle setup” from the command line? Or is there another command line tool from Particle which I have not yet installed?
particle flash --serial firmware.bin
OR
particle flash --usb firmware.bin
If I enter “particle setup” in the command prompt, I am asked to setup my billing information (as per my previous screen shot).