You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to be this way because the stm32n6 uses external flash and the way its defined in the dts causes problems? The goal is to get sample samples/subsys/mgmt/mcumgr/smp_svr$ working
The nucleo version of the board doesn't do this. But it also doesn't use MCUboot, which if you format the dk version of the board will cause problems with.
&xspi2 {
pinctrl-0 = <&xspim_p2_ncs1_pn1 &xspim_p2_dqs0_pn0 &xspim_p2_clk_pn6
&xspim_p2_io0_pn2 &xspim_p2_io1_pn3 &xspim_p2_io2_pn4
&xspim_p2_io3_pn5 &xspim_p2_io4_pn8 &xspim_p2_io5_pn9
&xspim_p2_io6_pn10 &xspim_p2_io7_pn11>;
pinctrl-names = "default";
clocks = <&rcc STM32_CLOCK(AHB5, 12)>,
<&rcc STM32_SRC_HCLK5 XSPI2_SEL(0)>,
<&rcc STM32_CLOCK(AHB5, 13)>;
status = "okay";
mx25um51245g: ospi-nor-flash@0 {
compatible = "st,stm32-xspi-nor";
reg = <0>;
size = <DT_SIZE_M(512)>; /* 512 Mbits */
ospi-max-frequency = <DT_FREQ_M(200)>;
spi-bus-width = <XSPI_OCTO_MODE>;
data-rate = <XSPI_DTR_TRANSFER>;
four-byte-opcodes;
status = "okay";
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@3ff0000 {
label = "storage";
/*
* Prevent access to the last 32bytes of the memory-mapped device
* Issue described in the STM32N6xxxx errata sheet ES0620 Rev 1:
* 2.4.5 Deadlock or data corruption when DQS is enabled and the
* wrap request includes the last address of the memory
*/
reg = <0x3ff0000 (DT_SIZE_K(64) - 32)>;
};
};
};
};
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
If you use the flash_stream option
It seems to be this way because the stm32n6 uses external flash and the way its defined in the dts causes problems? The goal is to get sample samples/subsys/mgmt/mcumgr/smp_svr$ working
The nucleo version of the board doesn't do this. But it also doesn't use MCUboot, which if you format the dk version of the board will cause problems with.
All reactions