Replies: 1 comment
-
STM32H7x3I-EVAL boards have both interfaces, but these boards are not yet implemented in zephyr. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a custom board with a STM32H757, the issues are when i try to use the FMC to interface with both a external SDRAM and a external SRAM.
I have looked in a examples and could find st board that have both, but none where the device tree has been made.
This is how I have set it up in my dts file
In prj.conf I have enabled the following:
The project compiles fine and I am able to flash my board, however the running code does not get that far.
In my code I access the SRAM and SDRAM directy by address, but this causes a arch_system_halt reason 26 when accessing the SRAM.
arch_system_halt@0x08034eb0 (f:\work\mfm-1054031\zephyr\kernel\fatal.c:30)
k_sys_fatal_error_handler@0x0801a18e (f:\work\mfm-1054031\zephyr\kernel\fatal.c:44)
z_fatal_error@0x0801a252 (f:\work\mfm-1054031\zephyr\kernel\fatal.c:119)
z_arm_fatal_error@0x0800b52a (f:\work\mfm-1054031\zephyr\arch\arm\core\fatal.c:86)
z_arm_fault@0x0800ba34 (f:\work\mfm-1054031\zephyr\arch\arm\core\cortex_m\fault.c:1080)
z_arm_usage_fault@0x0800bb1c (f:\work\mfm-1054031\zephyr\arch\arm\core\cortex_m\fault_s.S:102)
@0xfffffffd (Unknown Source:0)
z_tick_sleep@0x0801b5f8 (f:\work\mfm-1054031\zephyr\kernel\sched.c:1089)
z_impl_k_sleep@0x0803559c (f:\work\mfm-1054031\zephyr\kernel\sched.c:1130)
main@0x08008ce2 (f:\work\mfm-1054031\src\hardware\main.cpp:115)
I am really not sure how to debug it or what is the cause for the fault, I dont have UART connected to my board.
Is there anything in my configuration that is not correct? What can I do to find the cause of the fault?
Beta Was this translation helpful? Give feedback.
All reactions