florisla / stm32loader

Flash firmware to STM32 microcontrollers using Python.
GNU General Public License v3.0
109 stars 53 forks source link

BlueNRG chip ID is wrong? #54

Closed rds-tmeyer closed 1 year ago

rds-tmeyer commented 3 years ago

Hi, As per AN4872, the chip ID for BlueNRG chip is 3 bytes :

Currently I get 0x00012Ffor a BlueNRG-2.

Currently the expected chip ID is 0x11103 which I can't find any source for.

florisla commented 3 years ago

Thanks for the info! The code clearly does not support that yet.

I guess we can mask away BYTE1 and BYTE2, and add some BlueNRG-1 and BlueNRG-2 IDs (with various flash sizes) to the list bootloader.CHIP_IDS.

florisla commented 1 year ago

I added the 256kB and 160kB versions of BlueNRG-1 and BlueNRG-2 to master.