Search found 98 matches

by Dmytro
Thu Jul 11, 2013 1:56 am
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 47214

Re: MIPS32 port

Hi, there's -1 in __spi_dma_complete for the same reason as in __spi_start_transaction: almost same sequence for next DMA block as initially in __spi_start_transaction. It's weird that when you remove '-1' you don't have extra SPI transmission in the end of whole SPI transaction. The logic behind th...
by Dmytro
Wed Jul 10, 2013 11:22 pm
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 47214

Re: MIPS32 port

Hi gera, I agree about the BRG register offset. I forgot to account the size of BUF register ... I was just very lucky that it worked for me. So this correction was pushed. Regarding the "forced transmission". When DMA is used I force the first transmission by writing into BUF register, no...
by Dmytro
Wed Jul 10, 2013 5:31 pm
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 47214

Re: MIPS32 port

Hi gera, it's fine for me, you can do a pull request. I've also noticed your fix in SPI LLD, I wonder is that chip-specific? SPI was working fine for me. Also I don't understand your change: tx->src = dmaMap(spid->txptr?(uint8_t *)spid->txptr+1:dummyDmaTxBuffer); - tx->n = cnt-1; + tx->n = cnt; //-1...
by Dmytro
Sun Jul 07, 2013 8:37 pm
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 47214

Re: MIPS32 port

The pull request was merged.
Thanks a lot for your effort =)!

cheers,
~ dmytro
by Dmytro
Sun Jul 07, 2013 8:38 am
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 47214

Re: MIPS32 port

Yep indeed - it looks more clear. =) Regarding the change in LLD: can you please rename debug field of _serial_driver_data into smth like ll_init and sd_lld_start_dbg into sd_lld_ll_init? Also you should be able to call sd_lld_ll_init from sd_lld_start. This will make things more clear about what is...
by Dmytro
Sun Jul 07, 2013 12:04 am
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 47214

Re: MIPS32 port

Hi gera, can you please fork my repository in github(I've just rebased both master and mips-pic32mx with mabl/ChibiOS). As you create a fork, pull it locally and merge your changes with local branch and push to remote branch. Once this is done you can do a suture-less pull request. Also can you plea...
by Dmytro
Sat Jul 06, 2013 9:27 am
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 47214

Re: MIPS32 port

Cool!
Can you please do a pull request via github?

thanks,
-- dmytro
by Dmytro
Sat Jun 29, 2013 11:25 pm
Forum: MIPS32 Support
Topic: MIPS32 port
Replies: 124
Views: 47214

Re: MIPS32 port

Hi,
thanks for pointing on that. In fact that was a typo. I have already submitted correction.
by Dmytro
Mon May 13, 2013 4:10 pm
Forum: Development and Feedback
Topic: HAL MTD
Replies: 4
Views: 1302

Re: HAL MTD

Hi, MTD stands for MemoryTechnologyDevices.
This covers all kinds of flash, eeprom, etc.
This suppose to be an abstraction level on top of flash devices that takes into account different characteristics of the latter(erase, write page, write sector, etc.).
by Dmytro
Mon May 13, 2013 8:41 am
Forum: Development and Feedback
Topic: HAL MTD
Replies: 4
Views: 1302

HAL MTD

Hi, does anyone work on MTD HAL driver? This might be used on top of internal flash in MCU. Though in some MCUs it's not possible to program internal flash when running main code or just to costly(in pic32 the CPU is stalled while writing into the program flash) it's possible to have external flash ...

Go to advanced search