Hi,
OT but possibly interesting for other people: I solved the previous problem with the JTAG where it didn't connect at all, apparently there are some electrical differences between the xilinx platform cable USB II and the Segger Flasher ARM so that the second one didn't work on the custom board. 100 Ohm series resistors on the JTAG lines like there are on the zedboard fixed it.
Now I can successfully connect, write simple instructions to increment a register in a loop, set the PC and step and see the register value incrementing (as was suggested in another thread).
The next step is finally flashing the Flash memory, however I get this error
My flash is N25Q256A11EF840E (1.8V) connected to the usual MIO pins. On a ZedBoard (which I bought as per your suggestion to ensure there were no problems upstream), I can flash no problem. It has a different flash obviously. I set the same pull-up/pull-down configuration on the zedboard (QSPI bootmode) and I can flash. But not on the custom board.
The error isn't very informative.
On the zedboard I get the expected result (I had flashed it previously with the same data)
Thank you for your help. I can setup the tunneling thing if you think that will help get more information.
OT but possibly interesting for other people: I solved the previous problem with the JTAG where it didn't connect at all, apparently there are some electrical differences between the xilinx platform cable USB II and the Segger Flasher ARM so that the second one didn't work on the custom board. 100 Ohm series resistors on the JTAG lines like there are on the zedboard fixed it.
Now I can successfully connect, write simple instructions to increment a register in a loop, set the PC and step and see the register value incrementing (as was suggested in another thread).
The next step is finally flashing the Flash memory, however I get this error
J-Link>loadbin C:\Users\Raffaele\Desktop\flash\BOOT.bin, 0xFC000000
Halting CPU for downloading file.
Downloading file [C:\Users\Raffaele\Desktop\flash\BOOT.bin]...
****** Error: Error while determining flash info (Bank @ 0xFC000000)
Unspecified error -1
My flash is N25Q256A11EF840E (1.8V) connected to the usual MIO pins. On a ZedBoard (which I bought as per your suggestion to ensure there were no problems upstream), I can flash no problem. It has a different flash obviously. I set the same pull-up/pull-down configuration on the zedboard (QSPI bootmode) and I can flash. But not on the custom board.
The error isn't very informative.
On the zedboard I get the expected result (I had flashed it previously with the same data)
J-Link>loadbin C:\Users\Raffaele\Desktop\project_1\project_1.sdk\BOOT.bin, 0xFC000000
Downloading file [C:\Users\Raffaele\Desktop\project_1\project_1.sdk\BOOT.bin]...
J-Link: Flash download: Bank 0 @ 0xFC000000: Skipped. Contents already matchO.K.
Thank you for your help. I can setup the tunneling thing if you think that will help get more information.