Hi Ivan
I am getting an error when I try to upload the nucleo board STM32L432KC(256Kb flash). The same code works with STM32F303K8 (64Kb flash).
I am getting an unknown chip error - WARN src/stlink-common.c: unknown chip id! 0x10016435*** [upload] Error 255
The output build error is attached below:
[Fri Sep 16 20:16:24 2016] Processing nucleo_l432kc (upload_protocol: stlink, platform: ststm32, lib_deps: MODGPS, Eigen, board: nucleo_l432kc, framework: mbed)------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose
optionCollected 13 compatible librariesLooking for dependencies…Library Dependency Graph|-- v3.13.1|-- |-- Linking .pioenvs/nucleo_l432kc/firmware.elfChecking program size .pioenvs/nucleo_l432kc/firmware.elftext data bss dec hex filename57964 2252 1024 61240 ef38 .pioenvs/nucleo_l432kc/firmware.elfUploading .pioenvs/nucleo_l432kc/firmware.bin2016-09-16T20:16:26 INFO src/stlink-common.c: Loading device parameters…2016-09-16T20:16:26 WARN src/stlink-common.c: unknown chip id! 0x10016435*** [upload] Error 255========================================================================================================== [ERROR] Took 1.98 seconds ==========================================================================================================
This is the new board I commited to the devel branch. Also, let me know if I need to make more changes.
Best
Chandra