10 years, 8 months ago.

LocalFileSystem support planned?

Good day,

I just obtained one of these boards, and it looks pretty nice. I started porting a library I am working on (Pawn4) to it, but then discovered that it does not support the LocalFileSystem, which I need to read script files. I had expected it might support the file system, since the LPC11U24 (which I have tested as well) supports it, and it only has 32k flash, whereas the KL25Z has 128k.

So, what does it take to support the LocalFileSystem in an mbed platform, particularly this one?

Thank you, Tyler Wilson

Question relating to:

The FRDM-KL25Z is an ultra-low-cost development platform for Kinetis L Series KL1x (KL14/15) and KL2x (KL24/25) MCUs built on ARM® Cortex™-M0+ processor. Features include easy access to MCU I/O, battery-ready, …

2 Answers

10 years, 8 months ago.

Short answer for that: No.

The problem is that the LocalFileSystem isn't placed on the microcontrollers flash, it is placed on a seperate flash IC. The LPC1768 and LPC11U24 mbeds have that flash IC, the KL25Z doesn't. That is also why on those two mbeds if you program them, the file stays on them. While on the KL25Z the file is immediatly cleared again, there simply is no space to store them permanently.

And to do some promotion, if you add your own serial flash (or SD card), you should be able to recreate most what LocalFileSystem does using: http://mbed.org/users/Sissors/code/USBFileSystem/. Although it works via the other USB port.

Accepted Answer
10 years, 6 months ago.

I think it is possible, if a memory is placed in the U5 footprint, well this maybe resolve the hardware barrier. But I do not sure.

U5 on the FRDM-KL254Z is connected to the K20 and not the KL25Z. As there is no mechanism to make this memory available to the KL25Z by thee firmware in the K20, adding a device to the pads of U5 won't do much.

posted by david dicarlo 15 Oct 2013

On the mbeds they are also connected to the interface IC. So in theory it could be done, but I don't think there are plans to do it.

posted by Erik - 16 Oct 2013