RP6 ROBOT SYSTEM - 3. RobotLoader 2
Prior to that, switch to the WIFI Loader tab in the main window of Robot-
Loader and make sure that the checkbox
Use USB Reset
is enabled. This is
important as the WLAN module can't reset the AVR microcontroller if the USB
interface is connected.
This is also necessary if the USB interface is connected to
another microcontroller (common reset signal, the USB interface always keeps the
control when it is connected).
Re-check all settings once again in the configuration dialog and click on the “Config-
ure WIFI Module” button. The rest runs as described above.
If problems arise at this
stage,
the WLAN module might still use the default factory settings. In this case, you
have to run an initialization script in the “Configure Scripts” tab. Click the button
Run Initial WIFI config (BAUDRATE IS 9600)
.
If this remains unsuccessful, check the power supply and if the WLAN LEDs really do
flash (one of the yellow LEDs and the green one should flash: this means that it tries
to establish a connection to the preset WLAN which will of course fail). In case of
problems please contact the customer support.
If everything went well and the WLAN access point is switched on and within range,
none of the yellow LEDs should be on anymore and only the green LED should be
flashing slowly. This means that the WLAN module has set up a connection.
Detach the network terminal via the menu
View->Detach Network Terminal
and
place it next to the RobotLoader window. This eases the operation and the communic-
ation with the WLAN module is more convenient to follow.
Now you can test the connection with RobotLoader. For this purpose add the correct
IP address to the list in the WiFi Loader tab of RobotLoader e.g.
192.168.10.171:2000
Click on “Connect” - the status box should now show information about the module
(MAC address, firmware version) and display the signal strength. Some text outputs
appear in the terminal. The green LED stops flashing and remains steadily on (open
connection).
Please note:
If “Timeout” or similar error messages appear and no connection can
be established after further automatic trials, just click again on Con-
nect. This should not happen very often but may occur depending on
the network. In case of connection problems, first click on “CLOSE” and
try again a few times.
If this worked, you can load the self-test program via the WLAN connection into the
microcontroller and start it. Please use the WLAN connection in order to test if
everything works, i.e. do not use the SERIAL Loader tab in this case!
After a successful upload click on the “Start” button.
Does the program run properly? A text menu should be displayed in the network ter-
minal. Please note that this menu does NOT appear in the normal serial terminal, so
don't mix up the two different terminals!
- 22 -