Other Parts Discussed in Thread: AM4377
Hi,
I use a custom board with am4377 with ccs 6.1.2 and sdk 2.1.1.2
I tried to write a simple initialization code for gpmc module to communicate with FPGA block however I faced a problem when trying to use any of the functions from GPMC API from gpmc.h.
I set a pinmux configuration for gpmc, enabled the module by PRCM API and aquired the base address of it - should it be equal to 0x5000000?
Now, I would like to reset the module, set its mode and do the timing configuration but every time I use any GPMC API function (even the simplest requiring base address only) exit() function is launched by assert_param(). My assumption is that the base address of the module is wrong. Or maybe I forgot about any step - however none of the solutions posted on E2E works for my case.
Could you please advise me how to check if GPMC module is enabled and how to start its configuration?
Thanks,
JJ