Enabling Laptop Bluetooth - setup.cpp (135) error - networking

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?

Related

Cannot find Arduino IDE VS Code

I am using windows and I installed the Arduino IDE from Microsoft store, but I wanted to code everything in VS Code. When I want to run the program or select the board it just says this:
Cannot find Arduino IDE. Please specify the "arduino.path" in the user settings. Requires a restart after change.
How can I fix this, where can I find the arduino.path?
Install PlatformIO extension for VS Code. It has Arduino framework and it works with all possible boards, and then some.
For me nothing could make Arduino IDE.app (2.0 beta) work. Switching to 1.8.6 (Arduino.app), putting that into my Applications folder (so the path is /Applications/Arduino.app) and setting the VSCode setting to:
"arduino.path": "/Applications/Arduino.app"
Fixed this error (and got me to select a board, which I was able to do with the command palette. Make sure to open the new non-beta Arduino.app and add any existing board manager jsons, such as esp32 in my case, that might have already been added to the beta Arduino. The libraries appear to already be in place.)
I also had to add this to my C/C++ settings for includePath:
${workspaceFolder}/**
/Users/<owen>/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/**
At this point "verify" began working. It was still pretty slow, and flashes the Arduino splash screen while running, so I'm now going to follow the platformIO advice and see if it's any better.
P.S. At first I also got an error about [Warning] Failed to generate IntelliSense configuration but think I fixed this by clicking the "don't show again" or similar on the popup that appeared in the lower left. (Similar errors show up on syntax issues, so could be related to that instead.)

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

SensorTag, iBeacon, Compiled firmware doesn't work

Followed the instruction at http://processors.wiki.ti.com/index.php/SensorTag_with_iBeacon.
The iBeacon-enabled firmware was created with IAR and updated with OAD from iPhone but SensorTag stopped working after the update. No advertising, no LED blink by the side button.
I tried same/similar things several times and also tried directly upload the firmware from IAR IDE via CC Debugger but no luck.
I can put it back to the previous working state by uploading downloaded firmware with the flash programmer.
I also tried to compile the standard firmware (SensorTag with no iBeacon from the BLE stack) by myself with the IAR but it didn't work, neither.
So I think the compiling in IAR is my problem but the make could finish successfully. No code was changed by myself. (only the _NR_OF_VIRTUAL_REGISTERS to avoid a linker error).
I wonder if there are anyone who successfully made it work by following the instruction on the above URL.
Firmware for iBeacon: SensorTag_Beacon_Patch_1v0
CC Debugger's FW:0041
SensorTag: CC2451, 1.4.1, 1407
IAR for 8051 version 8.30.3
BLE stack: BLE_CC254x_140.zip
Working standard firmware version: 1.5 A & B
If I could get any suggestions or advises, it'd be appreciated.
Thanks and regards,
Thanks for comment, Chris.
I found a solution on TI E2E community.
IAR 8051 V8.30 has a problem since updated from V8.20. It was reported as "8051 V8.30 linker Error[e16]: Segment ISTACK is too long for segment definition" (http://supp.iar.com/Support/?Note=95811).
After modifications to .xcl linker configuration, the build ran OK without any errors.
But the firmware didn't work on SensorTag.
One of the post on TI E2E Community mentioned that changing the Number of virtual registers in the "Option" settings from 16 to 12 worked with IAR V8.30.3. Then tried that with an original .xcl file (not modified one). No error during build and worked on SensorTag too.
There are 3 packages in the SensorTag_Beacon project, that are CC2541DK-Sensor, CC2541DK-Sensor-OAD-ImgA and CC2514DK-Sensor-OAD-ImgB.
What worked are only CC2541DK-Sensor with Number of Virtual Register in Option set to 12 and without .xcl file modified.
CC2541DK-Sensor-OAD-ImgA and CC2514DK-Sensor-OAD-ImgB didn't work with any combinations of the Option setting and .xcl modifications.
Hope this helps to anyone else in the future.
Regards,

How to update arduino wifi shield firmware?

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.

msp430 ask for updating firmware when sending program

I'm using CSS to program an MSP430-f5529. The drivers of the chip are supposed to be installed as far as I cheked them on the administration field of my computer.
The problem is that when I send a program from CSS to my chip it creates an error. The program starts saying that it has to update the firmware of the chip and after the actualization it gives me an error saying:
"Encountered a problem loading file C:\Users....\simple led blink.out
Could not open the file"
Can someone help me please.
I just solved it this morning it was a problem with the libraries that were not copied on CCS folder during the installation of texas instruments software. It's incredible that one company as texas instruments provides this horrible software to program their devices.

Resources