*** tpb has joined #yosys | 00:00 | |
*** davos has joined #yosys | 00:01 | |
*** futarisIRCcloud has joined #yosys | 00:11 | |
*** emeb_mac has joined #yosys | 00:32 | |
*** davos has quit IRC | 02:13 | |
*** X-Scale has quit IRC | 02:33 | |
*** X-Scale` has joined #yosys | 02:33 | |
*** X-Scale` is now known as X-Scale | 02:33 | |
*** PyroPeter has quit IRC | 03:29 | |
*** PyroPeter has joined #yosys | 03:42 | |
*** rohitksingh_work has joined #yosys | 04:19 | |
*** proteusguy has joined #yosys | 04:28 | |
*** gsi__ has joined #yosys | 04:50 | |
*** pie___ has joined #yosys | 04:52 | |
*** gsi_ has quit IRC | 04:53 | |
*** pie__ has quit IRC | 04:55 | |
*** proteusguy has quit IRC | 05:32 | |
*** proteusguy has joined #yosys | 05:46 | |
*** rohitksingh_work has quit IRC | 06:32 | |
*** rohitksingh_work has joined #yosys | 06:45 | |
*** rohitksingh_work has quit IRC | 06:49 | |
*** emeb_mac has quit IRC | 07:15 | |
*** pie__ has joined #yosys | 07:34 | |
*** pie___ has quit IRC | 07:36 | |
*** blunaxela has quit IRC | 07:36 | |
*** blunaxela has joined #yosys | 07:37 | |
*** rohitksingh_work has joined #yosys | 07:47 | |
*** rohitksingh_work has quit IRC | 07:52 | |
*** rohitksingh_work has joined #yosys | 07:53 | |
*** SpaceCoaster has quit IRC | 07:55 | |
*** togo has joined #yosys | 08:26 | |
*** proteusguy has quit IRC | 09:35 | |
*** rohitksingh_work has quit IRC | 09:56 | |
*** danieljabailey has quit IRC | 10:36 | |
*** danieljabailey has joined #yosys | 10:39 | |
*** Thorn has quit IRC | 11:33 | |
*** loonquawl is now known as msgctl | 11:44 | |
janrinze | anyone here who has been working with the upduino v2? | 12:03 |
---|---|---|
janrinze | reading and writing flash seems to be unreliable. I wonder if it is related to the pcb. | 12:04 |
tnt | janrinze: wouldn't be surprising | 12:40 |
*** AlexDaniel has joined #yosys | 12:54 | |
*** danieljabailey has quit IRC | 13:12 | |
*** danieljabailey has joined #yosys | 13:18 | |
*** Thorn has joined #yosys | 13:36 | |
*** AlexDaniel has quit IRC | 13:37 | |
*** emeb has joined #yosys | 13:40 | |
*** rohitksingh has joined #yosys | 13:43 | |
ZipCPU | janrinze: Which flash chip? And what SCK speed? | 14:06 |
janrinze | ZipCPU: the flash chip of the upduino v2 (config for up5k) | 14:12 |
janrinze | ZipCPU: uploading with iceprog is not quite stable (3MHz according to the doc of iceprog) | 14:13 |
janrinze | ZipCPU: also my bootloader tries to load at 12Mhz from the same flash | 14:14 |
janrinze | ZipCPU: same design runs flawless on Lattice up5k evaluation board | 14:14 |
janrinze | ZipCPU: there is a different FTDI chip used on the upduino v2 which might be holding the pins busy | 14:15 |
*** futarisIRCcloud has quit IRC | 14:19 | |
ZipCPU | janrinze: The flash connected to the FTDI, or to the FPGA? | 14:26 |
ZipCPU | If the FPGA, it looks like the 25Q32 flash from Winbond | 14:34 |
daveshah | I heard that the Upduinos were using recycled flash - someone found one with Cisco strings programmed into it | 14:35 |
ZipCPU | Ouch! | 14:35 |
ZipCPU | janrinze: Are you able to configure the FPGA with no problems, and only struggling to configure the flash? | 14:37 |
ZipCPU | Did you notice the required change to the circuit board, as noted on the schematic, necessary to program the flash? | 14:38 |
janrinze | ZipCPU: not aware of any required changes | 14:42 |
ZipCPU | Check the notes on the schematic then | 14:42 |
janrinze | ZipCPU: do you mean the shunts for flash vs ice ? | 14:43 |
ZipCPU | Yes. | 14:43 |
janrinze | those are the default for programming flash, right? | 14:43 |
ZipCPU | I'm not sure. I don't understand what they are there for. | 14:44 |
janrinze | There is an option to program the up5k internal flash | 14:44 |
janrinze | isn't that OTP? | 14:45 |
ZipCPU | Not sure. I didn't realize that the iCE40 had an internal flash. | 14:45 |
ZipCPU | daveshah: Would you know anything about that? | 14:45 |
janrinze | configuring the FPGA sometimes fails using iceprog. | 14:46 |
janrinze | Often iceprog hangs after erasing | 14:47 |
ZipCPU | Hmm ... let me check the source of iceprog | 14:49 |
tnt | The fpga has an internal flash (OTP), iceprog can't program that. But iceprog can do direct sram loading of the fpga. | 14:53 |
ZipCPU | janrinze: I'm not seeing anything stand out, but I know that following an erase the protocol says you are to wait until the erase is complete before continuing | 15:04 |
ZipCPU | The erase is accomplished within a "flash_wait()" call inside icoprog.cc. Perhaps some careful printf's placed in there will help you track down what's going on? | 15:05 |
janrinze | I wonder if the ftdi chip is the cause here. | 15:07 |
tnt | janrinze: you said "unreliable" ... that kind of implied it works sometimes ? | 15:07 |
janrinze | tnt: yes it works about 50% of the time | 15:07 |
janrinze | tnt: on the lattice up5k evaluation board thee are no issues with iceprog | 15:08 |
tnt | yeah I don't have any issues iwht iceprog on the icebreaker either. | 15:09 |
emeb | I use iceprog with a lattice ultra eval board and dupont wires flying over to my own hardware for programming flash. It works fine even with horrible wiring. | 15:17 |
emeb | I have had issues with FTDI parts doing weird stuff though. I bought one of those FTDI mini breakouts and for some reason it's gone bad - worked OK for a couple years then a few weeks back started failing. Enumerates with the wrong chip number, won't actually do I/O, etc. | 15:19 |
janrinze | will attach a separate flash chip and see if i can read that from some other pins. | 15:20 |
*** rohitksingh has quit IRC | 15:21 | |
janrinze | oh.. what to use to program the external flash? | 15:24 |
janrinze | usbasp has miso/mosi so should be able to do this, right? | 15:44 |
emeb | It might be physically capable of doing it, but the question is if there is software support. | 15:55 |
emeb | usbasp seems targeted at programming AVR processors | 15:56 |
*** rohitksingh has joined #yosys | 16:10 | |
*** develonepi3 has quit IRC | 16:46 | |
*** rohitksingh has quit IRC | 16:52 | |
*** rohitksingh has joined #yosys | 16:52 | |
*** wifasoi has quit IRC | 16:57 | |
*** gsi__ is now known as gsi_ | 16:58 | |
janrinze | emeb: true that.. i havea tl866 here too so going to try that one now | 17:54 |
*** m_w has joined #yosys | 18:21 | |
*** develonepi3 has joined #yosys | 18:31 | |
*** rohitksingh has quit IRC | 19:22 | |
*** show1 has quit IRC | 21:05 | |
*** show1 has joined #yosys | 21:08 | |
*** togo has quit IRC | 21:49 | |
*** futarisIRCcloud has joined #yosys | 23:23 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!