Skip to content
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

r0.2 Errata #2

Open
1 of 4 tasks
joshajohnson opened this issue Feb 28, 2021 · 21 comments
Open
1 of 4 tasks

r0.2 Errata #2

joshajohnson opened this issue Feb 28, 2021 · 21 comments
Labels
enhancement New feature or request

Comments

@joshajohnson
Copy link
Owner

joshajohnson commented Feb 28, 2021

This issue will document any errata / areas for improvement for future versions.

Note, whilst the board has passed the smoke test, it has not been fully brought up so this list is subject to growing.

  • USB CC pulldown resistors are in the way of the SD card, card can still be inserted but is less than ideal.
  • PD37+- diff pair is not routed correctly under the SD card.
  • C510 is too close to C514
  • C14 and R2 should have their positions swapped in layout.
@joshajohnson joshajohnson added the enhancement New feature or request label Feb 28, 2021
@giggiu16
Copy link

giggiu16 commented Mar 1, 2021

Hey @joshajohnson! For a very big coincidence I assembled the r0.2 simultaneously with you! 😄
Just had the time to perform (a successful!) smoke test and an initial JTAG chain scan (w/ openocd& ftdi/jlink) but no devices were discovered. Do you managed to program the ECP5?
Thank you!

@joshajohnson
Copy link
Owner Author

Hey @giggiu16, I was able to program both of the r0.2 boards I assembled. I used ecpprog with a FT232.

Let me know how you go / if there is anything I can do to help!

@giggiu16
Copy link

giggiu16 commented Mar 1, 2021

@joshajohnson -- thank you so much!
Just changed to FT232 + ecpprog combination and...

init..
IDCODE: 0x21111043 (LFE5U-12)
ECP5 Status Register: 0x06400000
flash ID: 0xEF 0x40 0x18 0x00
Bye.

I confirm also that the bootloader is working correclty even on r0.2:

Found DFU: [1d50:614b] ver=0005, devnum=2, cfg=1, intf=0, path="20-4", alt=2, name="Bootloader", serial="e46050640f354126"
Found DFU: [1d50:614b] ver=0005, devnum=2, cfg=1, intf=0, path="20-4", alt=1, name="RISC-V firmware", serial="e46050640f354126"
Found DFU: [1d50:614b] ver=0005, devnum=2, cfg=1, intf=0, path="20-4", alt=0, name="ECP5 bitstream", serial="e46050640f354126"

Thank you so much!

@joshajohnson
Copy link
Owner Author

@giggiu16 Nice work! If you are in the position to share what you are using it for I'd be keen to hear, otherwise have fun!

@giggiu16
Copy link

giggiu16 commented Mar 4, 2021

@joshajohnson for sure: no specific use case in mind for now. I'll use your board to continue learning FPGA programming, I didn't wanted to be limitated in GPIO pins too much comparing other "low-cost" solutions. I like also assemblying electronic prototypes and I used your board as first BGA assembly test 😄. Next 2 boards in queue, and one is with the 25F variant 😉.

@joshajohnson
Copy link
Owner Author

@giggiu16 Awesome!

One thing I should say is that the 12F and the 25F are the same silicon, but with a different IDCODEs. If you use the open tools you'll be able to use all 25K LUTs on the 12F!

@amitvasudevan
Copy link

Hi @joshajohnson and @giggiu16! Nice work on the ECP5-mini board. How did you solder the BGA on the PCB? Did you just use a hot air gun/flux combo or was it something more sophisticated? Thanks!

@joshajohnson
Copy link
Owner Author

Hi @amitvasudevan, I'd suggest reflowing it along with the rest of the components. You can do it with hot air but getting even heating is a bit more challenging.

@joshajohnson
Copy link
Owner Author

Closed on accident

@joshajohnson joshajohnson reopened this Sep 28, 2022
@amitvasudevan
Copy link

Thanks for the response @joshajohnson !

I am a newbie when it comes down to soldering so please forgive my naive questions below :)

  • From what I read up on reflow seems like a three step process: (a) obtain stencil for PCB, (b) apply solder paste over stencil, and (c) place the pcb in the reflow oven. Correct?
  • I am planning to order the PCB via OSHPark; do they provide stencils?
  • Also I noticed that your PCB design has components soldered on both the top and bottom. How does that work in the reflow oven? Do you do one side first and then the other? If so, won't the already soldered components on the side down reflow and dislodge?
  • I am planning on assembling this at home and was looking for reflow ovens on amazon and it seems like there are units available for ~$250 or so. Is there a specific unit you would recommend? Also I am guessing the temperature will depend on the solder paste being used correct?

Thanks for your time and help! Can't wait to get started...

@joshajohnson
Copy link
Owner Author

joshajohnson commented Sep 29, 2022

  • Correct

  • OSHStencils (no relation to OSHPark) provide stencils.

  • Yes, you reflow the bottom side then the top side. There is no issues with the bottom side falling off on the second time through the oven as they are all lightweight.

  • Esden has a good summary of modifying an oven here. I have a T962 (not T962A) and it's okay, but I'd buy the higher end option next time.

  • Yes you will want to play around with a few boards / temperature profiles before throwing your first actual board in there to see what works best.

@amitvasudevan
Copy link

Thanks @joshajohnson! This is very helpful. I looked at the T962/A modifications and found the thermocouple interface board is no longer available from 1bitsquared. Is that an important component or can I still work without it?

@joshajohnson
Copy link
Owner Author

You can get away without it, I don't have one in my machine.
Just make sure you add the cold junction compensation DS18B20 in the controller board to get a bit closer with the temperature.

@amitvasudevan
Copy link

Got it! Would you be willing to share details on the solder paste you used and the corresponding T962 profile that worked for you? I am planning to use lead-free solder paste (just to be less toxic) and it seems like it could work with the SAC305 lead-free paste as described here. Thanks again for your time and help!

@joshajohnson
Copy link
Owner Author

I use leaded T4 paste so the profile won't be too useful.
Main thing to keep an eye out for is that any fast ramp rates will cause the oven to lag as it can't keep up with the fast changes in temperature, so pick a slow profile and run it a few times to see how the oven responds.

I've had my oven for 4 years now and as long as I put a part less than 80mm x 80mm in the center of the board it will solder without too many issues, but it took a while to get to that point.

@amitvasudevan
Copy link

Thanks @joshajohnson! I have placed my order for the T962 and it should get here next week. Also, I found a lead-free solder paste with Tin/Bismuth alloy from Chipquik. If you look at the datasheet here, it seems to have a pretty smooth reflow curve (about 1C temp rise per second). Is that a slow enough profile for the oven you think?

@joshajohnson
Copy link
Owner Author

Ah sorry I might not have been clear - you can use any solder paste but just need to make sure the ramp rate on your oven is slow.
Mine has two options - one shaped like a triangle and another that has a long soak profile before peaking, and I use the latter as it can't match the sharp profile.

@Oscilllator
Copy link

Hi,

Did anyone manage to make use of the RAM on this board? I'm doing my first ECP5 board and am looking for designs to work from. RAM is a nice-to-have for my design so it would be good to have a known good implementation to work from.

@joshajohnson
Copy link
Owner Author

joshajohnson commented Nov 9, 2024 via email

@CCampbell71
Copy link

CCampbell71 commented Dec 14, 2024

@joshajohnson I'm looking at assembling one! But the 25 vs 12... you mentioned the IDCODEZ is different, will I have issues flashing and using the dfu bootloader?

@joshajohnson
Copy link
Owner Author

Hi @CCampbell71, you can fit whatever part you want. Just make sure this part of the makefile is correct for the IC.
https://github.com/joshajohnson/ecp5-mini-projects/blob/master/verilog/common.mk#L3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants