Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: Adding Filesystem on LPC2138 or 2294

2005-10-11 by Sten

Charles Manning wrote:
> On Tuesday 11 October 2005 14:20, Samuel wrote:
> 
>>Basically I need to use it to send stuff out from the
>>LPC2294 board to a terminal after logging is done, is
>>the JFFS2 file compatible with that we use in windows,
>>(sorry for my ignorance)
> 
> 
> There are two ways I can think of doing this:
> 1) USB Mass Storage model: Data gets saved in a file on the device. At some 
> stage, the device gets hooked up to a PC via USB Mass Storage interface (like 
> a USB disk) and the data can be read off.
> 
> For this to work, you really need to use FAT because the PC has to understand 
> the file system layout.
> 
> 2) Device transfers data via a serial pipe or equivalent download mechanism. 
> The device can store the data in any format (the PC does not care) and at 
> some stage it is connected to the PC, the data is dumped, and the file si 
> purged.
> 
> For this model you can store the data in any form.
> 
> JFFS2 will work for the second scenario. However integrating JFFS2 is quite 
> hard because it expects Linux or eCOS.
> 

Hello,

how is your data transfered to your PC? If your PC depends on visible FS
on your device (e.g. your device acts as USB mass storage device) you
also can emulate a FS with exactly one file on it. Your log data is
written block-by-block and the PC side read the "file" transparently
through "virtual FAT file system".
If you upload your data via serial line or something else a FS is
definitely not needed.

  Sten

-- 
/************************************************
 Do you need a tiny and efficient real time
 operating system (RTOS) with a preemtive
 multitasking for LPC2000 or AT91SAM7?

   http://nanortos.net-attack.de/

 Or some open-source tools and code for LPC2000?

   http://www.net-attack.de/

************************************************/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.