Skip to main content
SBhuj.1
Associate II
January 20, 2020
Question

Could not see my customized external Flash Loader in ST Link Utility

I have developed External Flash Loader for STM32F756 & Cypress Chip.

I could compile my code in IAR. Also updated device info in file.

Then I copied that file in External Loader folder.

But I could see only a some blank spaces in some fields

please guide.0690X00000BwDIhQAN.jpg

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
January 20, 2020

The StorageInfo structure/symbol is not being exported properly. You should review information in the .MAP file, and perhaps find an ELF dumping tool like FromELF or objcopy to dump the content/data within the file.

Attach the .stldr file if you want specific analysis of why it might not be working.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SBhuj.1
SBhuj.1Author
Associate II
January 22, 2020

Hi Clive1,

Attaching the ".stldr" file. Can you please look into that ! ( Initial character(C) of file name stands for Cypress.

I will check in Cube Programmmer also.

Also I am going to play with timings of NOR flash as Current code is executing in RAM.

Thanks for Your Support

SBhuj.1
SBhuj.1Author
Associate II
January 21, 2020

Hi Clive1,

Using Linker Map file & Project Settings of Example code, finally I could see my external Loader in ST Link Utility.

Further it is not getting programmed by giving some errors.

I have attached following images.

1) Programming Error Image

2) Map file Start photo & End Photo

3) One warning which is generated in my project

Please look into & guide

0690X00000BwGjNQAV.jpg0690X00000BwGkAQAV.jpg0690X00000BwGk0QAF.jpg0690X00000BwGjWQAV.jpg

Tesla DeLorean
Guru
January 21, 2020

I might suggest you use the STM32 Cube Programmer with the diagnostic/logging level set to 3 so you can get the maximum amount of data.

The code will be hard to debug in-situ, it would be helpful to test the loader functions via an application framework.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..