mintisan edited a comment on issue #1287: blinky demo for STM32F4-Discovery not 
works on STM32F429I-Discovery
URL: https://github.com/apache/mynewt-core/issues/1287#issuecomment-406872408
 
 
   I tried to use `stm32f429discovery ` to re-build, but I can't load 
successfully after building.
   
   ```
   ➜  blinking newt load stm32f429disc_blinky
   Loading app image into slot 1
   Error: Downloading 
/Users/linjinhui/Github/mynewt/blinking/bin/targets/stm32f429disc_blinky/app/apps/blinky/blinky.img
 to 0x8020000
   Open On-Chip Debugger 0.10.0
   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: 2000 kHz
   adapter_nsrst_delay: 100
   none separate
   srst_only separate srst_nogate srst_open_drain connect_deassert_srst
   Info : Unable to match requested speed 2000 kHz, using 1800 kHz
   Info : Unable to match requested speed 2000 kHz, using 1800 kHz
   Info : clock speed 1800 kHz
   Error: open failed
   in procedure 'init' called at file ".openocd_cmds", line 2
   in procedure 'ocd_bouncer'
   
   
   
   load - Load application image on to the board for <target-name>
   
   Usage:
     newt load <target-name> [flags]
   
   Flags:
         --extrajtagcmd string   Extra commands to send to JTAG software
   
   Global Flags:
     -h, --help              Help for newt commands
     -j, --jobs int          Number of concurrent build jobs (default 4)
     -l, --loglevel string   Log level (default "WARN")
     -o, --outfile string    Filename to tee output to
     -q, --quiet             Be quiet; only display error output
     -s, --silent            Be silent; don't output anything
     -v, --verbose           Enable verbose output when executing commands
   ➜  blinking
   ```
   
   
   
   ```
   ➜  blinking newt target show
   targets/my_blinky_sim
       app=apps/blinky
       bsp=@apache-mynewt-core/hw/bsp/native
       build_profile=debug
   targets/nucleo_f401re_blinky
       app=apps/blinky
       bsp=@apache-mynewt-core/hw/bsp/nucleo-f401re
       build_profile=debug
   targets/nucleo_f401re_boot
       app=@apache-mynewt-core/apps/boot
       bsp=@apache-mynewt-core/hw/bsp/nucleo-f401re
       build_profile=optimized
   targets/stm32f429disc_blinky    ## load failed
       app=apps/blinky
       bsp=@apache-mynewt-core/hw/bsp/stm32f429discovery
       build_profile=debug
   targets/stm32f429disc_boot
       app=@apache-mynewt-core/apps/boot
       bsp=@apache-mynewt-core/hw/bsp/stm32f429discovery
       build_profile=optimized
   targets/stm32f4disc_blinky
       app=apps/blinky
       bsp=@apache-mynewt-core/hw/bsp/stm32f4discovery
       build_profile=debug
   targets/stm32f4disc_boot
       app=@apache-mynewt-core/apps/boot
       bsp=@apache-mynewt-core/hw/bsp/stm32f4discovery
       build_profile=optimized
   ➜  blinking
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to