announce: UFFS for Kinetis ARM

155 views
Skip to first unread message

bowerymarc

unread,
Mar 16, 2014, 4:43:56 PM3/16/14
to uf...@googlegroups.com
Hi,
I just wanted to announce here, it's in a fully working but probably a bit rough stage, is a port of UFFS 1.3.6 to run on the TWR-K60F120M Freescale development board.  I wrote some shim layers and a simple driver for the NAND flash controller, the Kinetis has a pretty fancy controller built into it.  Also in the demo are routines to copy files between a FAT SD card and NAND flash.
I hope the community can contribute and improve this port.  It's posted over in Erich Styger's github, as it depends on many of his Processor Expert components.
Enjoy!
Marc

Ricky Zheng

unread,
Mar 16, 2014, 8:24:12 PM3/16/14
to uf...@googlegroups.com
Thanks for the sharing !


--
You received this message because you are subscribed to the Google Groups "UFFS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uffs+uns...@googlegroups.com.
To post to this group, send email to uf...@googlegroups.com.
Visit this group at http://groups.google.com/group/uffs.
For more options, visit https://groups.google.com/d/optout.

Sergei Sharonov

unread,
Jun 29, 2015, 1:30:16 PM6/29/15
to uf...@googlegroups.com


On Sunday, March 16, 2014 at 3:43:56 PM UTC-5, bowerymarc wrote:
Hi,
I just wanted to announce here, it's in a fully working but probably a bit rough stage, is a port of UFFS 1.3.6 to run on the TWR-K60F120M Freescale development board.  
Thank you for sharing. 
......
I hope the community can contribute and improve this port.
In uffs_os.c you create binary semaphore but posix example shows mutex. AFAIK filesystems normally use mutexes, not simple binary semaphores. Priority inversion and whatnot.
Was there a specific reason you chose binary?
Regards,
Sergei 

Marc Lindahl

unread,
Jun 29, 2015, 3:26:02 PM6/29/15
to uf...@googlegroups.com
Hi Sergei,

In fact a mutex might be better.  For the project I had, it made no difference, as only one FreeRTOS thread was accessing the filesystem.  I think at the time, when I was also learning how UFFS interacted with FreeRTOS and various Kinetis PDD’s etc, I was thinking I might need to support the semaphore from an ISR, but it turned out not.  Should be an easy mod - I think you just change the creation to xSemaphoreCreateMutex.

Thanks,
Marc


Reply all
Reply to author
Forward
0 new messages