How to update arduino wifi shield firmware? - arduino

I am having trouble following the procedure on the Arduino website to update the wifi shield firmware. Here's the link.
The outlined procedure is hard for me to follow, including what files to download from Github and where to store them on my computer.
I then am unsure of exactly what to enter in the command prompt.
Also, the error I was getting in the command prompt is when Opening Port- Fail could not open USB device
This would make me think that I need drivers or something, but nowhere I searched has said this.
I have done lots of searching and I can't find any good tutorials on how to upgrade the wifi shield firmware on a windows computer.
Any help or suggestions would be much appreciated!
Heath
I finally figured out how to upgrade the firmware and I documented the process. However, I am unsure of how to post the process that I saved as a pdf and Word document.

1)Make sure that you're connected directly to the shield alone. Do not mount it on anything.
2)Make sure the right driver is installed for the shield. For windows, the driver comes with "Flip". You can find them inside the installed directory.

Related

How to use Arduino IDE on Raspberry Pi OS to program a Digispark ATTiny85

everyone, i've been trying to use Arduino IDE 1.8.12 to compile scripts into a Digispark ATTiny85 usb board from a 4GB Raspberry Pi 4 running Raspberry Pi OS.
First problem i was that when going to the IDEs board manager to install the Digistump, it gave back the "micronucleus is not available for your operating system" error. I managed to work around this by replacing the json url suggested by digistump by the one provided on the second entry of this post.
After doing so, a "compatible" version of Digistump was listed on the boards manager and was able to successfully select the Digispark board and the micronucleus programmer under the Arduino IDEs Tools dropdown menu.
This is where the second problem appeared:
As i compile the script, the Arduino IDE console returns the following message:
"
Arduino: 1.8.12 (Linux), Board: "Digispark (Default - 16.5mhz)"
Sketch uses 2788 bytes (46%) of program storage space. Maximum is 6012 bytes.
Global variables use 124 bytes of dynamic memory.
An error occurred while uploading the sketch
/home/pi/.arduino15/packages/digistump/tools/micronucleus/2.0a4/launcher: 1: /home/pi/.arduino15/packages/digistump/tools/micronucleus/2.0a4/launcher: Syntax error: word unexpected (expecting ")")
"
And that's as far as i could go without getting messy or going into stuff i didn't quite understand.
Now, a few considerations:
-As I said, im running raspberry pi os on a 4GB raspberry pi 4 and using Arduino IDE 1.8.12
-Also, im kind of a newbie, even though i've been coding on an arduino UNO for about a year, i've never tried any other boards, also, I got the pi on march this year and it IS my first encounter with linux based systems, I've noticed things can get really messy or complex very fast so please have patience with me :)
-This is my first stackoverflow question and even though i've read the guidelines to posting questions here, something might have escaped my attention, also, i did search for this before asking but again, maybe i didn't see the right post, if my question is either poorly detailed, already answeed elsewhere, or anyhing can be improved about it, please let me know.
thank you all in advance for the amazing community you carry upon your shoulders.
cheers from argetina
Yeti.
To anyone out there who might run into this problem, I was able to fix this by following a comment on the post linked on the question, by doing:
sudo apt install git
git clone https://github.com/micronucleus/micronucleus
cd micronucleus/commandline/
sudo apt install libusb-dev
make
cp micronucleus ~/.arduino15/packages/digistump/tools/micronucleus/2.0a4
sudo cp 49-micronucleus.rules /etc/udev/rules.d/.
git clone https://github.com/digistump/avr-dummy
cd avr-dummy
make
cp avrdude ~/.arduino15/packages/digistump/tools/micronucleus/2.0a4/launcher
Note: I had already done this before, but I think it didn't work because i had gotten messy with the alternatives, this option worked for me only after doing a fresh installation Arduino IDE.
Like on that arduino.cc post, I am now able to upload my payloads to the digispark with no problem what so ever.
Cheers

Arduino code uploads fine, however avrdude output is not able to read / verify memory

Purchased some clone Arduino nanos a while ago and finally got to working with them.
Of the 3 i worked with, 2 of them upload and verify fine.
The third is able to upload (code functions properly), however it fails to read flash data.
this is required to post pastebin
Here is the output from a clone that worked:
https://pastebin.com/x1y0yr1k
Here is the output from the one with the issue:
https://pastebin.com/YGAGC4XN
this is required to post pastebin
What I've done so far:
Reflashed bootloader from working Arduino as ISP
CH340 driver installed
Used (old) bootloader when uploading
Tested on both Linux and OSX
Any suggestions or insight would be much appreciated.
If you have a working UNO or similar board, you could try uploading the bootloader using the Arduino IDE (https://www.arduino.cc/en/Main/Software), and see if you get different results. Sorry, I'm not familiar with using avrdude.
The link on sparkfun gives really good instructions on how to accomplish this task. Scroll about half-way down to where it says Upload Arduino as ISP https://learn.sparkfun.com/tutorials/installing-an-arduino-bootloader/all
Basically, you connect the UNO to your target as shown in the link, then select ArduinoISP in the examples menu, select the COM port and board, and upload the sketch. Then you select your target board in tools, and select Programmer, Arduino as ISP in tools, and finally, Burn Bootloader in tools.
I've had 100% success burning blank Atmega chips using this method.

Arduino littleBits

I am trying to download code to my littleBits Arduino module on IDE software. I am not able to find the port whenever I am trying to download the image to the board. Is this an internal issue, or an issue with my Arduino board?
You need to check if the arduino serial driver is properly installed in device manager. If arduino serial port is available in Ports then you can download program through IDE
For visual help: https://www.youtube.com/watch?v=4HqXAmV_Ock
Make sure you have proper drivers for your board. In Arduino IDE make sure you are selecting the proper target ie, littleBits Arduino board.
If you are using the Linux system you can use dmesg to see if your system detected the device properly.
If you are using windows system use device manager to make sure your device is properly connected.
Has it ever worked? Did it work for a while then stop?
Reason I ask, I had a problem where the Little Bit suddenly stopped accepting new code. Whenever I tried to download, the Arduino IDE started reporting Unknown USB Device.
Turned out, we had bricked the device. I blogged my steps for recovery here.
Check tools>ports and see if any are available, try them all, (check
while the board is connected)
if none are available check device manager under com ports there should be your device listed if not the you need to reinstall the drivers.
also check if the board is connected correctly (i.e. the connection cord is working properly)

ESP8266 module programming, usb port not defined

I am trying to connect a esp8266 wi-fi module via a usb ttl converter to PC, but the device manager is not showing any well established port for the given connection. The only thing device manager shows out is a "CP2102 USB to UART Bridge Controller" and hence Putty is not identifying the port.
Kindly help me out.
Screenshot:
First of all you need to install the drivers from here: https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx
Then you need to make sure your power supply for the ESP8266 has an output of 3.3v.
You need to re-download the latest driver.
Mine was working perfectly fine for about 4 months and then out of nowhere it stopped working. (I suspect it stopped working because of some windows updates I did on my machine.)
I tried reinstalling with an older .exe install file and it wasn't solved. It wasn't until I actually re-downloaded the file again (from https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers) and then it worked!
Hope this helps!

Enabling Laptop Bluetooth - setup.cpp (135) error

I've been trying to enable Bluetooth on an Acer Aspire V3 running Win 7 Pro 64 bit. I've uninstalled and reinstalled drivers several times and tried cleaning out the registry. No luck, doesn't seem to recognize the hardware.
According to Acer, the laptop comes equipped with "Acer Nplify 802.11a/g/n + BlueTooth 4.0", and another post I read said I had to update the "Quallcomm Atheros WiFi Driver Installation" program to enable Bluetooth. When I first attempted it asked me to locate folder containing layout.bin, then for folder containing 0x008xx. Found layout.bin in the driver folder, but not the second file.
Now, after cancelling out of that, I can't modify or uninstall the Atheros WiFi Driver Installation program, I get and error referencing: SetupNew/setup.cpp (135). I have a screencap if it helps, but I can't post it because I'm a newbie.
Can't find much on this error, it seems to be a service or program holding on to it, but I've deleted/stopped/uninstalled any related services, programs or drivers I could find and tried to delete. Again, no luck.
Sorry about the long post, but I've been trying for hours and can't find anything on point for this online. Anyone have any ideas?

Resources