cancel
Showing results for 
Search instead for 
Did you mean: 

Loading object code error

EEuge
Senior

Hello!

THis is my SCT file

; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
 
LR_IROM1 0x08000000 0x00100000  {    ; load region size_region
  ER_IROM1 0x08000000 0x00100000  {  ; load address = execution address
   *.o (RESET, +First)
   *(InRoot$$Sections)
   .ANY (+RO)
  }
  RW_IRAM1 0x20000000 0x00050000  {  ; RW data
   .ANY (+RW +ZI)
  }
}
 
 LR_EROM1 0x90000000 0x2000000  {    ; load region size_region
 ER_EROM1 0x90000000 0x2000000  {  ; load address = execution address
*.o (ExtFlashSection)
 ;*.o (TextFlashSection)
*.o (FontFlashSection)
  }
}
 
	

when ExtFlashSection and FontFlashSection are commented (disabled), system loading is OK.

But if these sections are not commented (enabled, written like I quoted) - I get error;

on this stage

0693W000007EaToQAK.png

I get this error

0693W000007EaTtQAK.png 

What's wrong in my SCT file or other settings?

My IC is STM32h743B.

On project for STM32F746B this porblem not occured.

24 REPLIES 24

Debugger, Keil IDE, TOuchGFX - all worked and works on STM32F746 chip. On STM32H743B - error

An error you've been told repeatedly is due to you not selecting an algorithm for the QSPI memory on your board..

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

Only if they want Keil to flash it. I have no issues with mine (it is flashed separately to Keil to speed download speed). I still specify the section and it works fine (just doesn't program it).

0693W000008G2MDQA0.jpg

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

"An error you've been told repeatedly is due to you not selecting an algorithm for the QSPI memory on your board.."

I think, that you not read my posts, especially first post.

I select algorithm when I wan to to program flash.

After once programming I delete algorithm from list

Next times I changing onchip flash (without changing qspi flash).

What I have to do if I want to program flash, but no program qspi? Yes, I must delete qspiflash algorithm from list.