Is it possible to upload Adruino code to my SODAQ mbili board with VS code and see a serial monitor?
VS code version: 1.6.1
OS version: Windows 10 [Version 10.0.14393]
It seems it possible at least on Ubuntu, but I suppose similar procedure should work on other OS. Instructions and files to download can be found on Github.
The instructions doesn't cover bringing up serial monitor, but you can just download and use any other terminal program, like putty, Realterm, or any other of your choice.
Related
I wanted to develop a mini-project with Intel Edison + Grove and Arduino after months I didn't use it.
It used to work fine but when I want to upload and run a project now, I got the the following error in Arduino:
fork/exec /Users/Dudis/Library/Arduino15/packages/Intel/tools/core2-32-poky-linux/1.6.2+1.0/i686/pokysdk/usr/bin/i586-poky-linux/i586-poky-linux-g++: bad CPU type in executable
Error compiling for board IntelĀ® Edison.
I recently updated Mac OS to Catalina which does not support 32-bit programs if I understood correctly but I also found out that Intel is no longer support Edison and I couldn't find a way to update the library or make it work.
Could anyone help what I should do to be able to upload and run project through Arduino & Intel Edison?
You might try to set up a CROPS environment https://www.yoctoproject.org/docs/3.0.2/mega-manual/mega-manual.html#gs-development-methods and build edison-fw in that including the SDK.
The SDK will allow you to build C code for the Edison, while the new kernel with ACPI might be able to load the drivers you need for the Grove device in the kernel.
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.
I have a nodemcu v3 and I'm trying some basic stuff
I installed the esp8266 board in Arduino IDE and then I uploaded a blink example.
But now I'm trying to upload Lua code using ESPLorer but I doesn't work properly. I press in open and set the baud rate to 115200 but I just get some infinite Chinese letters.
Should I reinstall the firmare or something?
There is a very good answers at https://stackoverflow.com/a/43509569/131929 and https://stackoverflow.com/a/47510019/131929.
Should I reinstall the firmare or something?
First you should make up your mind whether you want to conveniently program in Lua or whether you want to stick with Arduino (running on the NodeMCU-clone board). It is an either-or question. Flashing on of them to the module will erase the respective other.
And no, in case you want to use the NodeMCU firmware, you should not use those outdates binaries from 2015. Build a recent version conveniently in the cloud: https://nodemcu.readthedocs.io/en/latest/en/build/.
P.S. if you're interested why I call yours a clone board you may want to read https://frightanic.com/iot/comparison-of-esp8266-nodemcu-development-boards/ from yours truly.
You must erase the flash of your NodeMCU before a new upload. If you ignore that, your software don't run appropriately. To do that, I'm using esptool:
python esptool.py --port COM9: erase_flash
In that example COM9: is the name of my USB/serial interface.
After that you can flash for example your ESP8266 with that line of code to add a boot part:
python esptool.py --port COM9: write_flash -fm dout 0x00000 boot_v1.5.bin
Use the preview line of code and adapt it to upload other parts of the map of the flash memory.
I am trying to install the arduino toolbox on my
windows 64. I use Scilab 5.5.2.
Usually to install I select the "box" atoms in scilab but the box
does not show the arduino toolbox in the list of toolboxes.
I downloaded the file "arduino_1.1-1.bin.x64.windows.zip" and unzipped but after that I do not know what to do to install the tool box and follow the examples.
I really need to use Scicos to monitor sensors through arduino thus the installation of toolbox is mandatory.
Install Scilab 5.4.1. It contains an Arduino tool box.
The same thing happens with me with Scilab 5.5.2 but it happens only occasionally with some computers. The reason is also unclear to me, but for the time being, uninstall 5.5.2 and use Scilab 5.4.1.
I purchased this extruder controller board and this board to connect it to the computer. I am following the tutorial above in trying to set it up. We successfully did the boot loader part of that tutorial and the DEBUG LED is flashing. I followed the tutorial all the way up to uploading the program. The Arduino software does not find it in "Tools -> Serial Port", but allows me to burn the bootlegger. The only options are a couple bluetooth devices I have connected, none of which are useful.
I am only aware of windows drivers for the ISP programmer board you're using. When I've ordered funky hardware off of eBay with a non-existent or difficult-to-find OSX driver, I've had success running Parallels. This is a funny work-around, but it might be your best bet -- many folks over on the Arduino.cc forums are having the same problem.
So: Curse the Gods. Buy parallels. Install windows. Install Atmel's official drivers. Burn your bootloader. Get back to building.
As always, if a serial port isn't showing up in the Arduino IDE, run the following command from Terminal:
ls /dev/tty* | grep 'usb'