Difference between revisions of "radino common problems"

From InCircuit
Jump to: navigation, search
(Installing the radino libraries via "Sketch" -> "Include Library" will not work)
(radino32 USB connection fails)
 
Line 80: Line 80:
 
* Mostly the operating system successfully recognizes the device after replugging the radino32 USB several times
 
* 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
 
* Some USB setups showed to not work at all. Try using a different USB-Port, -Hub, -Cable combination
 
[[Category:radino]]
 

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