Problem in Custom External loader N25Q128A-STM32F746G-DISCO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-09 6:13 AM
Hi
We are trying to develop the custom external loader for our custom STM32F746Ng-MT25QT256 QSPI flash IC
Before that we are trying to modify the external loader example project in ST utility
for STM32F746G-discovery board,
And we have created the N25Q128A stldr file from the project folder.
But We unable to write the external flash in STM32F746G -discovery board using custom external loader.
while trying sector erase in External flash it erasesd some blocks of memory not all the blocks
I have attached the project for your reference.please help me in this issue.
- Labels:
-
QSPI
-
STM32Cube MCU Packages
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-09 9:19 AM
This is the HAL based custom loader I built for the N25Q128A
My N25Q256A parts came it, so working on porting support for those. Need to review specifics to MICRON MT25 series.
Are you using the SOP2-16 300mil parts?
What pins does your custom board use?
What HSE crystal frequency?
What USART-TX pin is available for diagnostic output?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-09 10:51 AM
This is the HAL based custom loader I built for the N25Q256A
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-10 2:49 PM
This is the HAL based custom loader I built for the N25Q512A
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-10 11:02 PM
I have tried the external loader with your CLIVEONE-N25Q128A_STM32F7XX-CUSTOM stldr file in STM32f746g DISCOVERY Board
it didn't work,and i have attached the error image .
it will be better send the Loader_src file and Dev_Inf.c file,
I can compare with my loader and dev source file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-10 11:27 PM
AFAIK Clive Avogadro works with the Cube programmer rather than the STLink Utility. They both have their own set of idiosyncrasies.
Also, my experience was, that an actual program (using the sFLASH) being present in the mcu fought with the sFLASH loader. This might depend on various things (versions of all involved elements in the chain, reset and "attachment" settings, who knows) but to err on the safe side, you perhaps may want to start with an erased mcu.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-11 2:27 AM
I'm testing using the ST-LINK Utilities v4.5.0 (3.5.0) Command Line tool.
Will need to see what the GUI does with them.
​
I didn't​ use CubeMX so my approach is different. The development is funded in a way that limits the availability of source code.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-11 4:38 AM
What is your approach on developing the custom loader?please share your ideas it will be very helpful for me
