sonydevworld / spresense

Spresense SDK source code
https://developer.sony.com/develop/spresense/docs/home_en.html
Other
145 stars 107 forks source link

asmp frameworkのサンプルが動かない #6

Closed elect-gombe closed 6 years ago

elect-gombe commented 6 years ago

asmpのサンプルが動かないです。 何かヒントがありますか?

環境

Ubuntu 18.04 64bit
gcc version 6.3.1 SPRESENSE_ADN_SDK_1.0.000 コンフィグはexample/asmpを使用しました。

現象

実行時にはROMFSのマウントまでは成功していて、その中にhelloも入ってました。 以下のコマンド実行後にフリーズします。

$ ./tools/flash.sh  -b2000000 nuttx.spk && miniterm.py /dev/ttyUSB0 115200 --raw
>>> Install files ...
install -b 2000000
Install nuttx.spk
Waiting for XMODEM (CRC or 1K) transfer. Ctrl-X to cancel.
.................................................................................................................................................................162464 bytes loaded.
Package validation is OK.
Saving package to "nuttx"
updater# sync
updater# Restarting the board ...
reboot
--- Miniterm on /dev/ttyUSB0  115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---

NuttShell (NSH)
nsh> asmp
Registering romdisk at /dev/ram0
Mounting ROMFS filesystem at target=/romfs with source=/dev/ram0
attached at 00010000
(ここでフリーズ)
elect-gombe commented 6 years ago

よくわかりませんが直りました。何故治ったかもわかりません。