cancel
Showing results for 
Search instead for 
Did you mean: 

is it possibe to modify external loader (QSPI) to change pins ?

MNapi
Senior III

I fount this page, ready to go

https://github.com/cturvey/stm32extldr/tree/main/h7_mt25q128

 

I do have STM32H743BIT6 and MT25QL128

the pins are different, I wonder if it can be opened in something and change pins.

 

15 REPLIES 15

keil_int_ext_romspace.jpg

Might also want to tell the Flash Algorithm it has 0xE000 bytes of RAM to be usable

KeilFLMSetRamSize.jpg

 

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

I am reading the AN333 from Keil.

 

It looks like I need to add/modify a few lines of code all over the place. And we will see later.

 

 

It is hopeless to talk to PayPal. They froze my money, I had to write complains all over the place including district attorney. They released my money but still keep my account limited with no explanation.

It is like asking US government to stop policing the world and bring the troops home to patrol local streets instead so we do not have worry being killed, carjacked, robbed when going shopping.

The application note AN333 Keil/Arm covers something.

The QSPI/OSPI is in range 0x90000000 (7 zeros) not 0x09000000

Not sure you've produced many videos, usually a lot more than a single continuous shot

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

After spending a few days I found that my sct file has to be modified

; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************

LR_IROM1 0x08000000 0x00200000 { ; load region size_region
ER_IROM1 0x08000000 0x00200000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_IRAM1 0x20000000 0x00020000 { ; RW data
.ANY (+RW +ZI)
}
RW_IRAM2 0x24000000 0x00080000 {
.ANY (+RW +ZI)
}
}

LR_ROM1 0x90000000 0x1000000 {
ER_ROM1 0x90000000 0x1000000 { ; load address = execution address
.ANY (+RO)
}
}

Before I had

0x09000000 0x0400000

 

so it shows now that it is erasing starting at 0x90000000 then programming

but at the end

I get

 

Erase Done.
Programming Done.
Contents mismatch at: 90000000H !
Verify Failed!
Error: Flash Download failed - "Cortex-M7"
Flash Load finished at 15:56:18

 

I tried the discovery board F469, Keil has an external loader for it. it will load and verify the code (the same chip as on my custom board MT25QL128)