-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Description
Describe the bug
I refer to article
https://docs.zephyrproject.org/latest/boards/st/nucleo_n657x0_q/doc/index.html
Issue #1 :
Seems that BOOT switch positions are twisted, board says that development mode is enabled :
But article says opposite; I may be wrong here, but considered it worth noticing
Issue #2 :
Application programming following this tutorial into external flash is not working, I didn't manage to start application from external flash
WA: none
UPD
Having STM32_SigningTool_CLI in path is sufficient, booting from flash requires signed image
Issue #3
Application programming following SB procedure (Serial Bootloader) is not working
WA :
There are couple of steps :
-
export PATH=$PATH:<path_to_home>/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin
As STM32_SigningTool_CLI must be available through the PATH, otherwise binary is not signed -
west build -b nucleo_n657x0_q//sb samples/basic/blinky -d build-sb
Original command is missing -d build-sb, otherwise it won't sign the binary -
west flashis not working, adding-d build-sbdoesn't help
Only way around - is to program it manually:
STM32_Programmer_CLI --connect port=/dev/ttyACM0 --download build-sb/zephyr/zephyr.signed.bin 0x1 --start noack
Otherwisewest flashtries to flash.hexfile which is not accepted :
Error: The download command you trying to perform (--download) is missing the filePath to be loaded or it has a wrong extension, please note that the supported extension are .bin, .hex, .srec, .s19, .elf, stm32, .ext2, .ext3, .ext4, .vfat, .ubi, .jffs2, .img and .tsv files. -
In
boards/st/nucleo_n657x0_q/board.cmakeport is pointing to a wrong endpoint :
board_runner_args(stm32cubeprogrammer "--port=usb1"); I may be misusing it, but anyways worth noticing
I'll keep working on find and fix these issues on my own, but I presume article created (by ST vendor ?) Is slightly off the truth
Regression
- This is a regression.
Steps to reproduce
Follow the article and try to flash the board
https://docs.zephyrproject.org/latest/boards/st/nucleo_n657x0_q/doc/index.html
Relevant log output
Impact
Not sure
Environment
Not relevant
Additional Context
No response