I am using JLink v7.98a.
I have a custom PCB that uses the STM32U599NJH6Q MCU as the main microcontroler. Attached to its OCTOSPI2 peripheral is attached the MT25QL128ABA QSPI flash.
The pinout of this peripheral can be seen here:pinout.bmp
I am trying to load some code to the MCU, part of which needs to be placed in the qspi flash.
While reading on how to configure JLink to program the external flash I came across this command:
STM32H743ZI?BankAddr=0x90000000&Loader=CLK@PF10_nCS@PB6_D0@PF8_D1@PF9_D2@PF7_D3@PF6,
which I converted to this for my usecase:
BankAddr=0x70000000&Loader=CLK@PF4_nCS@PA0_D0@PF0_D1@PF1_D2@PF2_D3@PF3
In the flash_command_and_error.bmp attachement it can be seen that the command is received properly
but this did not work as I am reading all 00s during the verification step of programming the external flash:
flash_command_and_error.bmp
In the attachement JFlash.bmp you can see that there are some options on choosing the external qspi peripheral to use:
JFlash.bmp
But the options are quite limited, If I understand this correctly it means that the JLink, currently, can only program a qspi flash that is attached on OCTOSPI1 with the 3 different pinouts.
Is my assumption above correct?
Is there anything that can be done in order to program my external QSPI?
Thank you very much for your assistance.
I have a custom PCB that uses the STM32U599NJH6Q MCU as the main microcontroler. Attached to its OCTOSPI2 peripheral is attached the MT25QL128ABA QSPI flash.
The pinout of this peripheral can be seen here:pinout.bmp
I am trying to load some code to the MCU, part of which needs to be placed in the qspi flash.
While reading on how to configure JLink to program the external flash I came across this command:
STM32H743ZI?BankAddr=0x90000000&Loader=CLK@PF10_nCS@PB6_D0@PF8_D1@PF9_D2@PF7_D3@PF6,
which I converted to this for my usecase:
BankAddr=0x70000000&Loader=CLK@PF4_nCS@PA0_D0@PF0_D1@PF1_D2@PF2_D3@PF3
In the flash_command_and_error.bmp attachement it can be seen that the command is received properly
but this did not work as I am reading all 00s during the verification step of programming the external flash:
flash_command_and_error.bmp
In the attachement JFlash.bmp you can see that there are some options on choosing the external qspi peripheral to use:
JFlash.bmp
But the options are quite limited, If I understand this correctly it means that the JLink, currently, can only program a qspi flash that is attached on OCTOSPI1 with the 3 different pinouts.
Is my assumption above correct?
Is there anything that can be done in order to program my external QSPI?
Thank you very much for your assistance.