Difference between revisions of "radino common problems"

From InCircuit
Jump to: navigation, search
(radino32 USB connection fails)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{ood_sw}}
  
__TOC__
 
<noinclude>
 
 
Common problems regarding radino modules and the Arduino system
 
Common problems regarding radino modules and the Arduino system
  
===Uploading a sketch through the arduino IDE fails===
+
==Installing the radino libraries via "Sketch" -> "Include Library" will not work==
Enable verbose output via "File->Preferences" select checkboxes "compilation" and "upload" near "Show verbose output during:"
+
  
Check verbose error messages during compilation and upload
+
If you try to install the [[radino/radino32_software#Install radino library |radino library]] in the Arduino IDE via "Sketch" -> "Include Library" they will not be placed in the right place.
 +
Instead you have to copy the folders inside the zip file directly to the main Arduino-Sketch folder.
 +
 
 +
==After uploading a sketch the radino module is no longer recognized by the operating system==
 +
 
 +
This happens for example if your sketch allocates too much memory or if the upload was interrupted and prevents the USB driver within the radino module to function correctly.
 +
 
 +
Make sure you selected the correct board under "Tools"->"Board".
 +
 
 +
Usually uploading a corrected sketch to the module fixes this issue. You may have to use the double reset method mentioned at the topic "Uploading a sketch through the Arduino IDE fails" below.
 +
 
 +
==Uploading a sketch through the arduino IDE fails==
 +
 
 +
Enable verbose output via "File->Preferences" select checkboxes "compilation" and "upload" near "Show verbose output during:".
 +
 
 +
Check verbose error messages during compilation and upload.
  
 
*arduino IDE successfully finds the COM port but avrdude stops after an output like
 
*arduino IDE successfully finds the COM port but avrdude stops after an output like
 +
 
  Connecting to programmer: .avrdude: Send: . [1b]
 
  Connecting to programmer: .avrdude: Send: . [1b]
 
  avrdude: Send: S [53]
 
  avrdude: Send: S [53]
 
  avrdude: Recv:
 
  avrdude: Recv:
**-> Force the arduino into bootloader by pressing reset button twice when the arduino IDE starts scanning the COM ports
 
  
 +
*How to fix:
 +
**Force the arduino into bootloader by pressing reset button twice when the arduino IDE starts scanning the COM ports.
  
 
*arduino IDE successfully finds the COM port but avrdude stops after an output like
 
*arduino IDE successfully finds the COM port but avrdude stops after an output like
 +
 
  avrdude: ser_send(): write error: sorry no info avail
 
  avrdude: ser_send(): write error: sorry no info avail
**-> Force the arduino into bootloader by pressing reset button twice when the arduino IDE starts scanning the COM ports
 
  
 +
*How to fix:
 +
**Force the arduino into bootloader by pressing reset button twice when the arduino IDE starts scanning the COM ports.
  
 
*arduino IDE fails after scanning the COM ports with an message like
 
*arduino IDE fails after scanning the COM ports with an message like
  processing.app.debug.RunnerException: Couldn’t find a Leonardo on the selected port. Check that you have the correct port selected
+
 
 +
  processing.app.debug.RunnerException: Couldn’t find a Leonardo on the selected port. Check that you have the correct port selected.
 +
 
 +
*How to fix:
 
**-> Force the arduino into bootloader by pressing reset button twice when avrdude starts scanning the COM ports
 
**-> Force the arduino into bootloader by pressing reset button twice when avrdude starts scanning the COM ports
 
**-> Disconnect the arduino from USB and reconnect after some seconds
 
**-> Disconnect the arduino from USB and reconnect after some seconds
 
**-> Maybe a restart of the arduino IDE is necessary.
 
**-> Maybe a restart of the arduino IDE is necessary.
  
 +
==Windows 8 refuses to install Arduino / radino drivers==
  
===Windows 8 refuses to install Arduino / radino drivers===
 
 
When using Windows 8, radino driver installation may be refused because of the missing digital signature.  
 
When using Windows 8, radino driver installation may be refused because of the missing digital signature.  
 
  
 
The following tuturial describes a possible solution to install radino drivers (hardware drivers without digital signature) properly on Windows 8:
 
The following tuturial describes a possible solution to install radino drivers (hardware drivers without digital signature) properly on Windows 8:
 
*[http://www.makeuseof.com/tag/how-can-i-install-hardware-with-unsigned-drivers-in-windows-8/ How to install hardware with unsigned drivers in Windows 8]
 
*[http://www.makeuseof.com/tag/how-can-i-install-hardware-with-unsigned-drivers-in-windows-8/ How to install hardware with unsigned drivers in Windows 8]
 
  
 
Drivers for radino module and radino bootloader will be installed separately. As mentioned above, you can force your radino to enter bootloader-mode by pressing reset button twice. Your computer will then recognize your radino bootloader.
 
Drivers for radino module and radino bootloader will be installed separately. As mentioned above, you can force your radino to enter bootloader-mode by pressing reset button twice. Your computer will then recognize your radino bootloader.
  
 +
==radino & Linux==
  
===radino & Linux===
 
 
Some users experienced problems while trying to upload new sketches to their radino modules.
 
Some users experienced problems while trying to upload new sketches to their radino modules.
 
A conflict with the ModemManager prevents succesful uploads. When entering bootloader-mode, the ModemManager immediately sends random data to the radino, which will prevent proper uploading.
 
A conflict with the ModemManager prevents succesful uploads. When entering bootloader-mode, the ModemManager immediately sends random data to the radino, which will prevent proper uploading.
Line 54: Line 72:
 
  LABEL="ignore_radino_end"
 
  LABEL="ignore_radino_end"
 
The ModemManager will now ignore all In-Circuit products (like radino). You can now upload your sketches as usual, using Arduino IDE.
 
The ModemManager will now ignore all In-Circuit products (like radino). You can now upload your sketches as usual, using Arduino IDE.
</noinclude>
+
 
 +
==radino32 USB connection fails==
 +
 
 +
Make sure you installed the proper drivers as pointed out under [[radino/radino32 software#Driver for radino32|Installing bootloader drivers]] and [[radino/radino32 software#Install virtual com port|Getting USB serial drivers]]
 +
 
 +
The USB Bootloader and USB Serial on the radino32s stm32 currently are not perfectly stable.
 +
* Mostly the operating system successfully recognizes the device after replugging the radino32 USB several times
 +
* Some USB setups showed to not work at all. Try using a different USB-Port, -Hub, -Cable combination

Latest revision as of 09:39, 25 July 2017

This product is End of Life

This page is out of date
visit radino/radino32 software

Common problems regarding radino modules and the Arduino system

Contents

[edit] Installing the radino libraries via "Sketch" -> "Include Library" will not work

If you try to install the radino library in the Arduino IDE via "Sketch" -> "Include Library" they will not be placed in the right place. Instead you have to copy the folders inside the zip file directly to the main Arduino-Sketch folder.

[edit] After uploading a sketch the radino module is no longer recognized by the operating system

This happens for example if your sketch allocates too much memory or if the upload was interrupted and prevents the USB driver within the radino module to function correctly.

Make sure you selected the correct board under "Tools"->"Board".

Usually uploading a corrected sketch to the module fixes this issue. You may have to use the double reset method mentioned at the topic "Uploading a sketch through the Arduino IDE fails" below.

[edit] Uploading a sketch through the arduino IDE fails

Enable verbose output via "File->Preferences" select checkboxes "compilation" and "upload" near "Show verbose output during:".

Check verbose error messages during compilation and upload.

  • arduino IDE successfully finds the COM port but avrdude stops after an output like
Connecting to programmer: .avrdude: Send: . [1b]
avrdude: Send: S [53]
avrdude: Recv:
  • How to fix:
    • Force the arduino into bootloader by pressing reset button twice when the arduino IDE starts scanning the COM ports.
  • arduino IDE successfully finds the COM port but avrdude stops after an output like
avrdude: ser_send(): write error: sorry no info avail
  • How to fix:
    • Force the arduino into bootloader by pressing reset button twice when the arduino IDE starts scanning the COM ports.
  • arduino IDE fails after scanning the COM ports with an message like
processing.app.debug.RunnerException: Couldn’t find a Leonardo on the selected port. Check that you have the correct port selected.
  • How to fix:
    • -> Force the arduino into bootloader by pressing reset button twice when avrdude starts scanning the COM ports
    • -> Disconnect the arduino from USB and reconnect after some seconds
    • -> Maybe a restart of the arduino IDE is necessary.

[edit] Windows 8 refuses to install Arduino / radino drivers

When using Windows 8, radino driver installation may be refused because of the missing digital signature.

The following tuturial describes a possible solution to install radino drivers (hardware drivers without digital signature) properly on Windows 8:

Drivers for radino module and radino bootloader will be installed separately. As mentioned above, you can force your radino to enter bootloader-mode by pressing reset button twice. Your computer will then recognize your radino bootloader.

[edit] radino & Linux

Some users experienced problems while trying to upload new sketches to their radino modules. A conflict with the ModemManager prevents succesful uploads. When entering bootloader-mode, the ModemManager immediately sends random data to the radino, which will prevent proper uploading.

  • To fix this issue, a UDEV-file can be created, located in
/etc/udev/rules.d/70-modemmanager-ignore-radino.rules

which holds the following content

ACTION!="add|change", GOTO="ignore_radino_end"
SUBSYSTEM!="usb", GOTO="ignore_radino_end"
ENV{DEVTYPE}!="usb_device",  GOTO="ignore_radino_end"

# Ignore ICT products.
ATTRS{idVendor}=="1da9", ENV{ID_MM_DEVICE_IGNORE}="1"

LABEL="ignore_radino_end"

The ModemManager will now ignore all In-Circuit products (like radino). You can now upload your sketches as usual, using Arduino IDE.

[edit] radino32 USB connection fails

Make sure you installed the proper drivers as pointed out under Installing bootloader drivers and Getting USB serial drivers

The USB Bootloader and USB Serial on the radino32s stm32 currently are not perfectly stable.

  • Mostly the operating system successfully recognizes the device after replugging the radino32 USB several times
  • Some USB setups showed to not work at all. Try using a different USB-Port, -Hub, -Cable combination
Personal tools