Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Simple "Hello-world" program is not working for Nucleo-l476. #246

Open
pithadiyarp opened this issue Aug 1, 2017 · 0 comments
Open

Simple "Hello-world" program is not working for Nucleo-l476. #246

pithadiyarp opened this issue Aug 1, 2017 · 0 comments

Comments

@pithadiyarp
Copy link

Hi All,

Any one can help to solve this issue given below.
Issue:
when i flash simple "hello-world" program on Nucleo-l476 is showing me done flashing, but when i open pyterm it's not given any output.

Log :
Building application "hello-world" for "nucleo-l476" with MCU "stm32l4".
"make" -C /home/ronak.p/RIOT-master/boards/nucleo-l476
"make" -C /home/ronak.p/RIOT-master/core
"make" -C /home/ronak.p/RIOT-master/cpu/stm32l4
"make" -C /home/ronak.p/RIOT-master/cpu/cortexm_common
"make" -C /home/ronak.p/RIOT-master/cpu/cortexm_common/periph
"make" -C /home/ronak.p/RIOT-master/cpu/stm32_common
"make" -C /home/ronak.p/RIOT-master/cpu/stm32_common/periph
"make" -C /home/ronak.p/RIOT-master/cpu/stm32l4/periph
"make" -C /home/ronak.p/RIOT-master/drivers
"make" -C /home/ronak.p/RIOT-master/drivers/periph_common
"make" -C /home/ronak.p/RIOT-master/sys
"make" -C /home/ronak.p/RIOT-master/sys/auto_init
"make" -C /home/ronak.p/RIOT-master/sys/isrpipe
"make" -C /home/ronak.p/RIOT-master/sys/newlib_syscalls_default
"make" -C /home/ronak.p/RIOT-master/sys/tsrb
"make" -C /home/ronak.p/RIOT-master/sys/uart_stdio
text data bss dec hex filename
8888 136 2752 11776 2e00 /home/ronak.p/RIOT-master/examples/hello-world/bin/nucleo-l476/hello-world.elf
/home/ronak.p/RIOT-master/dist/tools/openocd/openocd.sh flash

Flashing Target

Open On-Chip Debugger 0.10.0+dev-00169-g02bc718 (2017-08-01-14:53)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 500 kHz
adapter_nsrst_delay: 100
none separate
Info : Unable to match requested speed 500 kHz, using 480 kHz
Info : Unable to match requested speed 500 kHz, using 480 kHz
Info : clock speed 480 kHz
Info : STLINK v2 JTAG v28 API v2 SWIM v17 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.267850
Info : stm32l4x.cpu: hardware has 6 breakpoints, 4 watchpoints
TargetName Type Endian TapName State


0* stm32l4x.cpu hla_target little stm32l4x.cpu running
Info : Unable to match requested speed 500 kHz, using 480 kHz
Info : Unable to match requested speed 500 kHz, using 480 kHz
adapter speed: 480 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800044c msp: 0x20000200
auto erase enabled
Info : device id = 0x10076415
Info : flash size = 1024kbytes
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000050 msp: 0x20000200
Warn : block write succeeded
wrote 10240 bytes from file /home/ronak.p/RIOT-master/examples/hello-world/bin/nucleo-l476/hello-world.hex in 0.643547s (15.539 KiB/s)
Info : Unable to match requested speed 500 kHz, using 480 kHz
Info : Unable to match requested speed 500 kHz, using 480 kHz
adapter speed: 480 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800044c msp: 0x20000200
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20000200
verified 9024 bytes in 0.323042s (27.280 KiB/s)
Info : Unable to match requested speed 500 kHz, using 480 kHz
Info : Unable to match requested speed 500 kHz, using 480 kHz
adapter speed: 480 kHz
shutdown command invoked
Done flashing
make: Leaving directory `/home/ronak.p/RIOT-master/examples/hello-world'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant