Add genericSTM32F103Cx board type with 128k flash

victor_pv
Posts: 1750
Joined: Mon Apr 27, 2015 12:12 pm

Re: Add genericSTM32F103Cx board type with 128k flash

Post by victor_pv » Mon Jul 31, 2017 1:25 pm

RogerClark wrote:
Sun Jul 30, 2017 9:33 pm
I'm not sure the STLink upload setting will allow you to upload 128k to a 64k device, as we use ST's own Exe.

I did try using Texane STLink on Windows, like we have to on Mac and Linux , but Texane seems to have problems with some STLink hardware, so for greater compibility I went back to STs own tools.
The stlink GUI will allow you to upload to a device with 128KB even if it reports as 64KB. It will try to write to any address you tell it too. If there is not flash there, it will error out, if there is flash, it will write to it, no matter what the CPU ID is and what the reported size is.
I'm not sure about command line, but I would expect a similar behavior.
If I can remember later, I'll just test it out with a board.

Post Reply