Search found 10 matches

by gera
Thu Jul 11, 2013 12:43 am
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

I conducted some more experiments with SPI/DMA. With tx->n = cnt; (in __spi_start_transaction) both EEPROM and MRF chips work fine in DMA mode with up to 5MHz SPI clock. With tx->n = cnt-1; RX DMA hangs, on the scope I see that SPI transmitted 1 byte less than expected. By the way I have noticed ano...
by gera
Wed Jul 10, 2013 6:42 pm
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

hi dmytro, the first fix in SPI was definitely a typo - it caused wrong offset for brg register so brg was always set to 0. The second one (cnt-1) - I am not really sure. Here is the story: 1. first I tried to make it work with SPI EEPROM (microchip 25AA02) - when brg was set to 0, it worked but ret...
by gera
Wed Jul 10, 2013 7:11 am
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

hi dmytro,
I've added DHCP support to the ESK demo, it's in my repository on github.
Let me know if you're interested in merging it into your rep.

regards,
gera.
by gera
Sun Jul 07, 2013 8:27 pm
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

attempt #3

I have discarded serial lld and lwip changes as they seem to be not really important.
I also added a note to demos/MIPS-...ESK/readme.txt about enabling the trace macros in mac_lld in case anyone ever wants to use them.
by gera
Sun Jul 07, 2013 3:15 am
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

pull request, attempt #2 - looks better. As for the changes: - serial_lld - the changes are necessary for sd_lld_putc and dbgprintf (main.c in the ESK demo) to work during early stages of os initialization. It's only required when debug trace macros in mac_lld.c are enabed. - lwipthread.c - just a c...
by gera
Sat Jul 06, 2013 10:27 pm
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

I'd happy to do that however I afraid I am not really familiar with git/github. Could you explain it bit more? Note that my code is the latest chibios svn trunk plus your mips/pic32 port plus my mac_lld and ESK demo. Ok, never mind. I managed to create my own github repository at https://github.com...
by gera
Sat Jul 06, 2013 5:58 pm
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

I'd happy to do that however I afraid I am not really familiar with git/github. Could you explain it bit more?
Note that my code is the latest chibios svn trunk plus your mips/pic32 port plus my mac_lld and ESK demo.
by gera
Sat Jul 06, 2013 6:25 am
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

Some preliminary mac_lld code is available from http://code.google.com/p/ecos-pic32/dow ... p&can=2&q=
It currently runs on ESK (Ethernet Startup Kit) board.
by gera
Sun Jun 30, 2013 12:51 am
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

Great, thanks. I am not very familiar with USB so I thought that it may be done in purpose which I don't understand.
by gera
Sat Jun 29, 2013 6:23 pm
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 45449

Re: MIPS32 port

what was the reason of swapping interrupt and data endpoints in your last change to usbcfg.c ?
I could not make the serial-over-USB work until I restored the definitions to match USB spec.

Go to advanced search