Search found 77 matches

by RedDave
Wed Sep 23, 2020 10:37 am
Forum: Getting started
Topic: dependency on lib_xassert ...
Replies: 5
Views: 7711

Re: dependency on lib_xassert ...

I have just experienced the same error. I have a folder (PARENT_FOLDER) in which I have many projects, several of which are xTIMEcomposer. I have just created a new folder structure, including one for a new xTIMEcomposer project. I added lib_i2c to the project and built it getting the error PARENT_F...
by RedDave
Mon Aug 10, 2020 1:21 pm
Forum: Development Tools and Programming
Topic: AR8035 vs KSZ9031RNX
Replies: 9
Views: 4973

Re: AR8035 vs KSZ9031RNX

Your later post seems to have cracked it. Setting the PHY address correctly fixes it (obvs). I'm surprised that my searches did not bring this up in any forum post, as this is the same value used on the reference design, and all the posts seem to suggest that the only difference between the Explorer...
by RedDave
Mon Aug 10, 2020 10:33 am
Forum: Development Tools and Programming
Topic: AR8035 vs KSZ9031RNX
Replies: 9
Views: 4973

Re: AR8035 vs KSZ9031RNX

I'll answer the soft/firmware related points and hand over to an electronic engineer for the rest. 4) The code runs and seems completely operational. I'll add some debug to ensure that it does indeed get through all configuration. The port itself seems operational, but does not reply to pings. 8) I ...
by RedDave
Fri Aug 07, 2020 11:58 am
Forum: Development Tools and Programming
Topic: AR8035 vs KSZ9031RNX
Replies: 9
Views: 4973

Re: AR8035 vs KSZ9031RNX

Code and schematic attached.

Code
EthernetTest.pdf
(350.7 KiB) Downloaded 273 times
EthernetTest.pdf
(350.7 KiB) Downloaded 273 times
XMOS section of schematic
EthernetTest.png
(95.85 KiB) Not downloaded yet
EthernetTest.png
(95.85 KiB) Not downloaded yet
Ethernet PHY schematic
EthernetTest.zip
(11.92 KiB) Downloaded 198 times
EthernetTest.zip
(11.92 KiB) Downloaded 198 times
by RedDave
Fri Aug 07, 2020 10:38 am
Forum: Development Tools and Programming
Topic: AR8035 vs KSZ9031RNX
Replies: 9
Views: 4973

Re: AR8035 vs KSZ9031RNX

We aren't looking for a solution for a small number of components, but for a design that is sustainable for a few years. Designing with an obsolete part is not a route we want to go down. But thanks for that advice. I'll post the code and schematic shortly. The app not that I originally referenced i...
by RedDave
Thu Aug 06, 2020 12:23 pm
Forum: Development Tools and Programming
Topic: AR8035 vs KSZ9031RNX
Replies: 9
Views: 4973

AR8035 vs KSZ9031RNX

We have been developing a PCB incorporating an XMOS device. The XMOS segment of the board using the bulk of the circuit from the explorerKit, including the AR8035 for the Ethernet. This has all worked fine. The AR8035 is being made obsolete, so not good for a new product. On our latest version, we h...
by RedDave
Tue Jul 28, 2020 11:38 am
Forum: Development Tools and Programming
Topic: select/case different to wait
Replies: 10
Views: 3382

Re: select/case different to wait

The ready signal not being allowed on two ports was my first thought. Commenting out the second configure_in... still gives the same error. Reading into 32 bit buffered ports would slow down my maximum data rate by a factor of two and would require some jiggery-pokery* to ensure that data is not rea...
by RedDave
Mon Jul 27, 2020 3:01 pm
Forum: Development Tools and Programming
Topic: select/case different to wait
Replies: 10
Views: 3382

Re: select/case different to wait

I'm trying the strobed slave option now. This was something I did not know about. I've connected the empty to the read_req through an inverter inside the FPGA, so that the FIFO will always spit out data when it is not empty. The XMOS then using read_req as an input port to enable the data ports. I'm...
by RedDave
Fri Jul 17, 2020 8:18 pm
Forum: Development Tools and Programming
Topic: select/case different to wait
Replies: 10
Views: 3382

Re: select/case different to wait

I could remove the printf... but how do I then find out if it is working? It only printf's every 5000000 counts (every few seconds). After a printf block it does not printf again for 10000 counts, even if there are errors. This code works fine with USE_SELECT=0, but not with USE_SELECT=1. Why the di...
by RedDave
Fri Jul 17, 2020 12:55 pm
Forum: Development Tools and Programming
Topic: select/case different to wait
Replies: 10
Views: 3382

select/case different to wait

I have written some simple code to read data from a FIFO in an FPGA. The code waits for the FIFO to not be empty, reads eight nybbles which it then constructs into a 32 bit word. When I do that it works reliably, reading all data correctly. If I change the code so that instead of waiting it selects ...