-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Hello all,
I am trying to program an STM32F410RBTx chip with stlink, and it is failing with error:
wyatt@behemoth:~/stm32f410/led$ /opt/stlink/st-flash write led.bin 0x8000000
2016-05-18T21:59:59 INFO /src/common.c: Loading device parameters....
2016-05-18T21:59:59 WARN /src/common.c: unknown chip id! 0x10006458
Looking at include/stlink/chipid.h I can see that there is no entry for ID 458. Unfortunately I am not clear on the different parameters in src/chipid.c to add this chip myself, as I am quite new to ARM programming.
I am programming the chip on a custom board via the NUCLEO F411RE dev board in target mode. I know the programmer works, as I can program it correctly using st-link. I know the custom board + chip works as I can program it via the Nucleo in USB mass storage mode.
I would prefer to use this command line tool for programming, as it integrates with Makefiles better than the USB mass storage programming mode; plus it will open up my options for other programmers (not just using the Nucleo).
- Programmer/board type: NUCLEO F411RE board in target mode (CN2 not bridged)
- Operating system: Debian Jessie
- Stlink tools version and/or git commit hash: 1.2.0-27-gad39787
- Stlink commandline tool name: st-flash
- Target chip (and optional board): STM32F410RBTx
Output:
wyatt@behemoth:~/stm32f410/led$ /opt/stlink/st-flash write led.bin 0x8000000
2016-05-18T21:59:59 INFO /src/common.c: Loading device parameters....
2016-05-18T21:59:59 WARN /src/common.c: unknown chip id! 0x10006458
Expected/description:
st-link does not appear to support the STM32F410RBTx chip.