New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sayma AMC - Version 1 errata #60
Comments
Also, use clock capable pins on FMC if possible (#217). |
FMC has clock capable pins (LA00CC, LA01CC,LA17CC,LA18CC, M2C) already connected in right way. |
Are those also the respective EEM CC pins when using an FMC-VHDCI adapter to drive Kasli-style extensions? That would be an unlikely coincidence. |
@jordens No, they are not. |
I'd modify the VHDCI carrier, and keep the FMC-VHDCI adapter as is. |
I would also alter the VHDCI breakout. The good thing is that even with the current boards the odd EEMs are wired sufficiently, see sinara-hw/sinara#217 (comment) |
@gkasprow If you've ordered the Sayma AMCs, does that mean you've already fixed all these bugs? If so, can we close this issue now? |
@hartytp I mean that I assemble remaining 8 boards which are identical with 2 already produced. They still have some bugs that I have to fix once they are produced. The list of bugs is probably not complete - some of them will emerge during tests with JESD204b. Later on I will implement all fixes in new release of Sayma AMC board and then this issues will be completely fixed. You can close it and when necessary we can open it. |
@gkasprow Sorry, I'd misunderstood you. If the changes haven't been applied to the designs, we should keep the issue open. |
|
Moved Ethernet discussion to #327. |
@gkasprow Is R253 mounted on the three boards we got for Hong Kong or did you remove it because of the RTM configuration conflict? |
@jordens I'm not 100% sure. I removed all resistors that connect lines CCLK, DIN, DONE, INIT_B, PROGRAM_B to configuration pins of Kintex and connected them to ordinary IO. |
Could you list the differences between the AMCs that we got and the one Florent received? I can't get the second flash to work on any of ours while it worked on Florent's. |
Florent's board, the one I sent without RTM had Artix FPGA routed to
the config pins of Kintex FPGA. I removed R176 ... R180 and installed
R200...R204.
Are you sure your boards has both SPI FLASH memory chips soldered?
I don't remember correctly, but after you discovered that chip select is
wrongly connected, I could have decided to not mount second FLASH...
It is just about pin 1 of IC23
![obraz](https://user-images.githubusercontent.com/4325054/30930348-c1b42728-a3c1-11e7-8ab4-cfdc066c773e.png)
|
Maybe it's not soldered. @sbourdeauducq or @whitequark could you have a look? What about pin 1 of IC23? The second flash is IC24. |
I just checked, only a few resistors were changed.
|
@jordens If you publish some bistream with Python library to read/write this FLASH, I can debug it with scope on my board. |
Yes, both IC23 and IC24 are there on the boards we have. |
So it seems I have to take care of it.
Can you provide me tools to debug it?
|
@gkasprow Just our branch of openocd and our proxy bitstream, the following script ( sayma.cfg: source [find board/sayma_amc.cfg]
# ftdi_location 5:1
# adapter_khz 5000
init
runtest 1000
puts "JTAG scan chain:"
scan_chain
puts "Flash banks:"
flash banks
pld load 0 bscan_spi_xcku040-sayma.bit
reset halt
flash probe xcu.spi
flash probe xcu.spi1
exit
flash read_bank 0 sayma_f0.bin 0 1024
#flash read_bank 1 sayma_f1.bin 0 1024
flash write_image erase sayma_f0.bin 0
#flash write_image erase $bin $addr
flash verify_bank xcu.spi sayma_f0.bin 0
#flash verify_bank $_FLASHNAME $bin $addr
# xcu_program xcu.tap
exit Gives me
I.e. it only works for the first flash while it used to work for both. |
@sbourdeauducq the second FLASH is connected to wrong CS pin. AFAIR to be available by JTAG programmer, the CS would need to be routed to G26 pin (FCS2), not K21 (CSO_B). Maybe on previous board you fixed it by removing R253 and bridging with R204 pad. |
As mentioned elsewhere, we have a special proxy bitstream that deals with that. |
@jordens What about PUDC pin? Maybe your core relies on internal pullups? |
We add bitstream pullups on pins R21 and R22 and drive the rest of QSPI1. I don't see how other pullups would affect the second flash. |
|
@gkasprow Which boards had the changes you mention in https://github.com/m-labs/sinara/issues/209#issuecomment-332611147 applied? And where are those resistors? Are they here on Florent's board? |
@jordens well, that looks strange. It seems no config pins are connected here at all. |
Thanks @gkasprow I'll check this on the boards we have today. |
That was the photo of florents board I shot 7 months ago. Iirc that had only gone through yours and florents hands. |
@sbourdeauducq what PUDC level do you want to have on Sayma AMC? |
The same with POR_override. |
On RTM you wanted to have pullups enabled. |
@gkasprow I've lost track, are these issues resolved now? |
mechanical issues are still not resolved. |
@gkasprow where are we with these issues? |
There are only mechanical and PCB left |
I'll move it to Sayma_AMC repo |
Great. Are the AMC/RTM schematics ready to review then apart from the HMC830 active loop filter OpAmp choice? |
Thanks. While you're at it, would you mind reviewing all other Sayma related issues in the Sinara repo and closing/moving them as appropriate? |
Mechanical:
BOM:
I2C:
JTAG:
USB:
Ethernet:
Power:
Schematics:
Clocks:
Other:
RTM:
The text was updated successfully, but these errors were encountered: