Other Parts Discussed in Thread: SYSBIOS
Hi,
I have a problem with the AM57X GPMC.
We use Ti bootloader twiked for our hardware and initialized the GPMC to communicate with the FPGA . When we run the bootloader we can see the FPGA registers and modified them as well.
The GPMC controll registers are shown below.
GPMC_GPMC_CONFIG7_i_0
00000F41
GPMC_GPMC_NAND_COMMAND_i_0
81368136
GPMC_GPMC_NAND_ADDRESS_i_0
81368136
GPMC_GPMC_NAND_DATA_i_0
81368136 00000000 00000000
GPMC_GPMC_CONFIG1_i_1
01001000
GPMC_GPMC_CONFIG2_i_1
001E1E05
GPMC_GPMC_CONFIG3_i_1
22060514
GPMC_GPMC_CONFIG4_i_1
1C0D1C05
GPMC_GPMC_CONFIG5_i_1
00181F1F
GPMC_GPMC_CONFIG6_i_1
8D070580
GPMC_GPMC_CONFIG7_i_1
00000F42
GPMC_GPMC_NAND_COMMAND_i_1
81368136
GPMC_GPMC_NAND_ADDRESS_i_1
81368136
GPMC_GPMC_NAND_DATA_i_1
81368136 00000000 00000000
GPMC_GPMC_CONFIG1_i_2
00001000
GPMC_GPMC_CONFIG2_i_2
00101001
GPMC_GPMC_CONFIG3_i_2
22060514
GPMC_GPMC_CONFIG4_i_2
10057016
GPMC_GPMC_CONFIG5_i_2
010F1111
GPMC_GPMC_CONFIG6_i_2
8F070000
GPMC_GPMC_CONFIG7_i_2
00000F00
GPMC_GPMC_NAND_COMMAND_i_2
00000000
GPMC_GPMC_NAND_ADDRESS_i_2
00000000
GPMC_GPMC_NAND_DATA_i_2
The problem is when we load our application then we used the debugger to download our application stopped in the entry point _c_init00 of the application we checked the GPMC control registers they are still ok
but when we run the code to the main the GPMC registers are corrupted and we can nor see any CS for the FPGA to read/write, code execution from _c_init00 to the main currapded the GPMC.
The corrupted registers are shown below
GPMC_GPMC_CONFIG7_i_0
55555555
GPMC_GPMC_NAND_COMMAND_i_0
55555555
GPMC_GPMC_NAND_ADDRESS_i_0
55555555
GPMC_GPMC_NAND_DATA_i_0
55555555 55555555 55555555
GPMC_GPMC_CONFIG1_i_1
55555555
GPMC_GPMC_CONFIG2_i_1
55555555
GPMC_GPMC_CONFIG3_i_1
55555555
GPMC_GPMC_CONFIG4_i_1
55555555
GPMC_GPMC_CONFIG5_i_1
55555555
GPMC_GPMC_CONFIG6_i_1
55555555
GPMC_GPMC_CONFIG7_i_1
55555555
GPMC_GPMC_NAND_COMMAND_i_1
55555555
GPMC_GPMC_NAND_ADDRESS_i_1
55555555
GPMC_GPMC_NAND_DATA_i_1
55555555 55555555 55555555
GPMC_GPMC_CONFIG1_i_2
55555555
GPMC_GPMC_CONFIG2_i_2
55555555
GPMC_GPMC_CONFIG3_i_2
55555555
GPMC_GPMC_CONFIG4_i_2
55555555
GPMC_GPMC_CONFIG5_i_2
55555555
GPMC_GPMC_CONFIG6_i_2
55555555
GPMC_GPMC_CONFIG7_i_2
55555555
GPMC_GPMC_NAND_COMMAND_i_2
55555555
GPMC_GPMC_NAND_ADDRESS_i_2
55555555
GPMC_GPMC_NAND_DATA_i_2
We tested this with the Ti example code as UART_BasicExample_idkAM572x_armExampleProject and results are the same.
The only way to recover from this is the reset or power cycle.
We need help as son as possible since we are stuck with this now.