Next: , Previous: , Up: The Software   [Contents][Index]


3.4 Uploading the Controller Component

The controller software must be uploaded to the micro-controller board. To do this, connect the micro-controller (normally via its USB port) to your PC and type ‘make flash’. With some systems it is necessary to wait a few seconds between connecting the controller and issuing the command.

The exact response that you will see on the screen is dependent upon the micro-controller however it should finish with something like this:

…
wrote 16384 bytes from file /home/sarah/upad/Controller/bin/nucleo-f401/upad.elf in 1.091951s (14.653 KiB/s)
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20000200
verified 15240 bytes in 0.813191s (18.302 KiB/s)
shutdown command invoked
Done flashing
make[1]: Leaving directory '/home/sarah/upad/Controller'
$

Errors occuring during this process are likely caused by misconfiguration of the RIOT tools. You should refer to the RIOT documentation for assistance here.