<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello. Mr Weiss,</div><div><br></div><div>At first, I checked the Nucleo-F446RE board jumper settings.The named ST-LINK both jumpers are closed, it was no problem.</div><div>I checked the VirtuaBox setting as Mr Abadie pointed out. The problem was that the Nucleo-F446RE board was not automatically</div><div>mounted.</div><div><br></div><div>Now the problem is solved.</div><div>I can flash "default" example to Nucleo-F446RE board.</div><div><span style="text-align:left;color:rgb(34,34,34);text-transform:none;line-height:19.99px;text-indent:0px;letter-spacing:normal;font-family:Arial,Helvetica,sans-serif;font-size:13.33px;font-variant:normal;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent"><br></span></div><div><span style="text-align:left;color:rgb(34,34,34);text-transform:none;line-height:19.99px;text-indent:0px;letter-spacing:normal;font-family:Arial,Helvetica,sans-serif;font-size:13.33px;font-variant:normal;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent">Thank you very much for your kind and quick support.</span></div><div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div><div>Regards,</div><div>Dicek Bear.</div></div></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">2019年9月12日(木) 17:11 dicek bear <<a href="mailto:dicek334@gmail.com">dicek334@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div dir="ltr"><div>Hello. Mr, Abadie,</div><div><br></div><div>As you pointed out, The Nucleo-F446RE directory is not automatically mounted.</div><div>So I needed to add the STM32 ST-Link into the VirtualBox.</div><div>In detail, STMicroelectronics STM32 ST-Link is added to [Setting]->[USB]->[USB device filter] of VirtualBox.</div><div><br></div><div>Now it is possible to flash "default" example to Nucleo-F446RE board.</div><div>The flashing issue is solved.</div><div><br></div><div>Thank you very much for your kind and good advice.</div><div><br></div><div>Regards,</div><div>Dicek Bear.</div><div><div style="text-align:left;color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,helvetica,sans-serif;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;word-spacing:0px;white-space:normal;background-color:transparent"><br></div></div></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">2019年9月11日(水) 18:17 Alexandre Abadie <<a href="mailto:alexandre.abadie@inria.fr" target="_blank">alexandre.abadie@inria.fr</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:12pt"><div>Hi,<br></div><div><br></div><div>If I understand correctly, you are trying to flash the nucleo board from a virtual machine running on a Windows host. In this case, if no NUCLEO-F446 directory is automatically mounted when you plug the board, this means:<br></div><div>- you have to install the virtualbox extension pack corresponding to your virtualbox version. If I remember correctly, you must stop virtualbox during the setup of the extension.<br></div><div>- you need to enable USB support in the VM settings and verify virtualbox can share the USB device with the VM.<br></div><div><br></div><div>Let us know if this solves your flashing issue.<br></div><div><br></div><div>Alex<br></div><div><br></div><span id="gmail-m_-2160370832393665240gmail-m_8286019059956509846zwchr">----- Le 11 Sep 19, à 10:00, dicek bear <<a href="mailto:dicek334@gmail.com" target="_blank">dicek334@gmail.com</a>> a écrit :<br></span><div><blockquote style="color:rgb(0,0,0);padding-left:5px;font-family:Helvetica,Arial,sans-serif;font-size:12pt;font-style:normal;font-weight:normal;text-decoration:none;margin-left:5px;border-left-color:rgb(16,16,255);border-left-width:2px;border-left-style:solid"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear RIOT users,</div><br><div>Hello, Recently I downloaded the latest version RIOT-OS 2019-09 and try to execute "default" example at first.</div><br><div>Now it successed to run "native" target and send, receive data by using "txtsnd" command between 2 ports.</div><br><div>Next step, I want to program "default" example into Nucleo-F446RE board.</div><div>Compiling is no problem, but flashing the board failed as following,</div><br><div>---------------------------------------------------------------------------------------------------------</div><div> vagrant@vagrant:~/RIOT/examples/default$ make BOARD=nucleo-f446re flash<br>Building application "default" for "nucleo-f446re" with MCU "stm32f4".</div><div>"make" -C /home/vagrant/RIOT/boards/nucleo-f446re<br>"make" -C /home/vagrant/RIOT/boards/common/nucleo<br>"make" -C /home/vagrant/RIOT/core<br>"make" -C /home/vagrant/RIOT/cpu/stm32f4<br>"make" -C /home/vagrant/RIOT/cpu/cortexm_common<br>"make" -C /home/vagrant/RIOT/cpu/cortexm_common/periph<br>"make" -C /home/vagrant/RIOT/cpu/stm32_common<br>"make" -C /home/vagrant/RIOT/cpu/stm32_common/periph<br>"make" -C /home/vagrant/RIOT/cpu/stm32f4/periph<br>"make" -C /home/vagrant/RIOT/drivers<br>"make" -C /home/vagrant/RIOT/drivers/periph_common<br>"make" -C /home/vagrant/RIOT/drivers/saul<br>"make" -C /home/vagrant/RIOT/sys<br>"make" -C /home/vagrant/RIOT/sys/auto_init<br>"make" -C /home/vagrant/RIOT/sys/auto_init/saul<br>"make" -C /home/vagrant/RIOT/sys/fmt<br>"make" -C /home/vagrant/RIOT/sys/isrpipe<br>"make" -C /home/vagrant/RIOT/sys/newlib_syscalls_default<br>"make" -C /home/vagrant/RIOT/sys/phydat<br>"make" -C /home/vagrant/RIOT/sys/pm_layered<br>"make" -C /home/vagrant/RIOT/sys/ps<br>"make" -C /home/vagrant/RIOT/sys/saul_reg<br>"make" -C /home/vagrant/RIOT/sys/shell<br>"make" -C /home/vagrant/RIOT/sys/shell/commands<br>"make" -C /home/vagrant/RIOT/sys/stdio_uart<br>"make" -C /home/vagrant/RIOT/sys/tsrb<br>   text    data     bss     dec     hex filename<br>  17428     144    2660   20232    4f08 /home/vagrant/RIOT/examples/default/bin/nucleo-f446re/default.elf<br>/home/vagrant/RIOT/dist/tools/openocd/openocd.sh flash /home/vagrant/RIOT/examples/default/bin/nucleo-f446re/default.elf</div><div>/home/vagrant/RIOT/dist/tools/openocd/openocd.sh: line 124: [: : integer expression expected<br>### Flashing Target ###<br>Open On-Chip Debugger 0.9.0 (2015-09-02-10:42)<br>Licensed under GNU GPL v2<br>For bug reports, read<br>        <a href="http://openocd.org/doc/doxygen/bugs.html" target="_blank">http://openocd.org/doc/doxygen/bugs.html</a><br>hla_swd<br>Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD<br>adapter speed: 2000 kHz<br>adapter_nsrst_delay: 100<br>none separate<br>srst_only separate srst_nogate srst_open_drain connect_deassert_srst<br>Info : Unable to match requested speed 2000 kHz, using 1800 kHz<br>Info : Unable to match requested speed 2000 kHz, using 1800 kHz<br>Info : clock speed 1800 kHz<br>Error: open failed<br>in procedure 'init'<br>in procedure 'ocd_bouncer'</div><div>/home/vagrant/RIOT/examples/default/../../Makefile.include:556: recipe for target 'flash' failed<br>make: *** [flash] Error 1</div><div><div>---------------------------------------------------------------------------------------------------------</div><br><div>It looks like that a on board ST-Link V2 programmer is not accessed and accepted from the PC (RIOT-OS) crrectly.</div></div><div>I only installed "git", "vartual_box" and "vagrant" in the Windows10 PC.</div><div>Do I need to install other softwares, device drivers in the Windows 10 PC ?.<br></div><br><div>Regards,</div><div>Dicek Bear.</div></div></div></div></div>
<br>_______________________________________________<br>users mailing list<br><a href="mailto:users@riot-os.org" target="_blank">users@riot-os.org</a><br><a href="https://lists.riot-os.org/mailman/listinfo/users" target="_blank">https://lists.riot-os.org/mailman/listinfo/users</a><br></blockquote></div></div></div>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@riot-os.org" target="_blank">users@riot-os.org</a><br>
<a href="https://lists.riot-os.org/mailman/listinfo/users" target="_blank" rel="noreferrer">https://lists.riot-os.org/mailman/listinfo/users</a><br>
</blockquote></div>
</blockquote></div>