Hello! I am trying to get CubeProgrammer to flash a NAND on a custom board.UBOOT detects the NAND chip and mtdparts lists the following:STM32MP> sf probe
STM32MP> mtdparts
device spi-nand0 <spi-nand0>, # parts = 4
#: name size ...
I have built a device tree file using the details in wiki in CubeMX. I build with my custom machine using Yocto. When I run the built TF-A binary I get the following output on UART4:NOTICE: CPU: STM32MP157CAD Rev.B
NOTICE: Model: STMicroelectronics...
I have a custom board I made with the STM32MP1 and I seemed to have royally messed up the clock circuit. I have an ASDMB-24.000MHZ-LC-T clock chip generating a square wave clock but HSE_OUT is being pulled high which puts the STM32MP1 into analog-byp...
I cant seem to get the STM32CubeIDE to work with the STM32MP157C-DK2 board. It builds the examples and then when I go to load and debug i get the following:Open On-Chip Debugger 0.10.0+dev-01193-g5ce997d (2020-02-20-10:57)
Licensed under GNU GPL v2
F...
I have enabled the FD-CAN device in the device tree with the following entry&m_can2 {
pinctrl-names = "default", "sleep"; Template:Highlight
pinctrl-0 = <&m_can2_pins_a>; Template:Highlight
pinctrl-1 = <&m_can2_sleep_pins_...
I figured out the SMC error. There was a mistake in the BSEC node in the TF-A device tree. The error is gone now. You can close this question. I think I have a path forward on the QSPI NAND issue and if I run into issues I will ask specific questions...
No worries. We are just getting back from a holiday break anyway!The NAND chip we are using is a tc58cyg2s0hraig. The driver for this chip is not present in the 2020 version of u-boot but the 2021 version of u-boot on the ST GitHub has it.https://git...
This post was very helpful. I did not realize that the PA13 is open drain, nor did I realize the UART lines wont become active. I put the board into USB/DFU mode by setting the boot pins to 0b000 and put a pull-up on PA13 and it started toggling! Cu...
Thanks for the suggestion! I compared my clock signal to the one on the DK2 board and they are nearly identical. I will double check the tr/tf numbers this evening though.The only difference that I can tell is coming from the HSE_OUT being pulled hig...