joshajohnson / ecp5-mini

ECP5 FPGA in an "S7 Mini" form factor
Other
77 stars 12 forks source link

r0.2 Errata #2

Open joshajohnson opened 3 years ago

joshajohnson commented 3 years ago

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.

giggiu16 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

@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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Closed on accident

amitvasudevan commented 2 years ago

Thanks for the response @joshajohnson !

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

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

joshajohnson commented 2 years ago
amitvasudevan commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 1 week ago

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 commented 1 week ago

Hi Dave,

Hyperram has been confirmed to work via a memtest in Litex.

Code is here:

https://github.com/joshajohnson/ecp5-mini-projects/tree/master/litex

Thanks

-------- Original Message -------- On 10/11/24 08:25, Dave wrote:

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.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>