Page 2 of 3
Re: STM32f401 Not Working
Posted: Wed Nov 29, 2023 10:15 pm
by LeighM
Yes, the live data is in a Windows hidden directory
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\
V9 not V10 in your case
Re: STM32f401 Not Working
Posted: Wed Nov 29, 2023 10:32 pm
by Alan_37
Hi I also managed to find that file by doing a search and edit it
also changed the ram value as it was 98K

- flash2.jpg (10.54 KiB) Viewed 6992 times
But still in flowcode dose not change .
.

- flash .jpg (21.72 KiB) Viewed 6992 times
I think you will need to do it via an Library update
Re: STM32f401 Not Working
Posted: Thu Nov 30, 2023 7:45 am
by LeighM
I don't think that list comes from the fcd.
It will be worth trying your modified version anyway.
Just also ensure that <root> is the very first thing in the fcdx file.
No doubt someone at Matrix will update the system soon
Re: STM32f401 Not Working
Posted: Thu Nov 30, 2023 8:06 am
by Alan_37
I have tried it and still don't work
Also the hex offset is still bigger then the the chip memory
Re: STM32f401 Not Working
Posted: Thu Nov 30, 2023 8:13 am
by LeighM
OK, there might be other things to change too, I will know better once I get to my PC

Unless Matrix get there first

Re: STM32f401 Not Working
Posted: Thu Nov 30, 2023 8:38 am
by Alan_37
I think is fear to ask how matrix can sell a product and not even test for
at least a basic function like blink an led .
Thanks for your help LeighM, looking forward to make this work

Re: STM32f401 Not Working
Posted: Thu Nov 30, 2023 9:03 am
by LeighM
It's a tricky balance between testing every device, and thereby having a reduced set, or creating untested fcds for the gaps with the risk of a bug.
Re: STM32f401 Not Working
Posted: Thu Nov 30, 2023 9:49 am
by Alan_37
I understand hope it will be fixed soon
Re: STM32f401 Not Working
Posted: Thu Nov 30, 2023 10:01 am
by LeighM
I've now had chance to have a look...
The fcdx looks correct (where it matters) ...
Code: Select all
<parameters>
<lscript value = 'stm32f.ld' />
<romsize value = '256K' />
<ramsize value = '64K' />
</parameters>
The project clock setup has issues, please could you try the following changes to your settings (this will limit all the clocks to maximums)
RCC_PLLM /25
RCC_PLLN x336
RCC_PLLP /4
RCC_PLLQ /4
RCC_AHB_PRE /1
RCC_AHB1_PRE /2
RCC_AHB2_PRE /1
Re: STM32f401 Not Working
Posted: Thu Nov 30, 2023 12:17 pm
by Alan_37
Hi , is the memory part i was talking about in the section below that
it is not correct , should be flash bytes = 262144 & ram = 65536 .
Code: Select all
<memory >
<flash bytes='524288' />
<ram bytes='98304' />
</memory>
Yes it finally worked with your clock settings also had to select HSE would not work on EXT,
so it was the clock settings.
I would never get it to work without your help
Thanks so much