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.
Related
I am working on DOIT ESP32 DEVKIT V1 and I'm using Arduino IDE 1.8.13 (Windows 10 Pro Education x64) for coding this board. I installed the ESP32 board (and ESP8266) as well from the boards manager inside Arduino IDE. It was working fine for some days, until, a friend sent me an .ino file and after opening it and trying to compile and upload that file on my board, a weird compilation error occurred (it's the same error that occurred on my friend's system, and she had to switch to another system to continue working smoothly). I am using these URLs in Additional Boards Manager URLs option under preferences in Arduino IDE:
https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
And the following error messages appear on compilation:
In file included from c:\programdata\matlab\supportpackages\r2018a\3p.instrset\arduinoide.instrset\idepkgs\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\algorithm:60:0,
from C:\ProgramData\MATLAB\SupportPackages\R2018a\3P.instrset\arduinoide.instrset\idepkgs\packages\esp32\hardware\esp32\1.0.6\cores\esp32/Arduino.h:142,
from sketch\sketch_aug21a.ino.cpp:1:
c:\programdata\matlab\supportpackages\r2018a\3p.instrset\arduinoide.instrset\idepkgs\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.
Please provide me a step by step guide to fix this issue, as I am new to such errors and directory issues. Note that there are no compilation errors when I select Arduino AVR Boards (such as MEGA, UNO, etc.). I have already tried re-installing the ESP32 board from boards manager, but no success.
FIXED!
The problem was that there were no /hardware/espressif/esp32 folders existing anywhere, even though the board support was installed. So I removed the board from Arduino's Board Manager, created the folders myself, and installed the ESP32 core there. I followed all the instructions given over this link:
https://learn.sparkfun.com/tutorials/esp32-thing-hookup-guide/installing-the-esp32-arduino-core
They have provided all the steps (including the creation of folders/directories) for installation of the core through github repository. And now the error is fixed and it is working perfectly!
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.
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,
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.
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?