FX3 configuration problems | Cypress Semiconductor
FX3 configuration problems
I'm trying to use the synchronous ADmux boot option to send my firmware to configure FX3(from example AN76405).
I encounter 2 problems while configuring FX3:
1) I am able to send the firmware,but FX3 does not work.I print the PP_DMA_XFER value and i see that the DMA_ERROR bit is set.I send a second time the firmware to FX3(without powered up),the DMA_ERROR bit is cleared.
2)Then i can discover my application and start it but it does not work as expected.I can see on the scope that flagA goes low immediately after the firmware was send(for the second time) .Printing debugs from the application i see that bit 22 from CY_U3P_PIB_GPIF_STATUS_ADDRESS is set(see gpif_regs.h).This Indicates that INGRESS_DATA register is full.
+to 1) Why may i send the firmware twice before the application starts? Is there a soulution to send the firmware only one time without dma error?
+to 2) Is that the result that i have send the firmware for a second time?
BTW:when i reset FX3 (hard or soft reset) i can not access any register.
Thanks in advance.