ELM chhn library for fat32

Discussion in 'Embedded Systems and Microcontrollers' started by embedded.world, Feb 27, 2014.

  1. embedded.world

    Thread Starter Member

    Feb 27, 2014
    36
    0
    I am using example provided by TI located in which uses Elm chan library:

    C:\ti\TivaWare_C_Series-2.0.1.11577\examples\boards\dk-tm4c129x\sd_card


    1. file "ff_conf.h" contains "#define _CODE_PAGE 932". What is its use. Due to this cc932.c gets included & its has large constant data in memory. Although I have enough memory but can I remove it. Almost 30K of constant data.

    I want to use long file names along with it.

    2. I had make a file "file.txt", successfully crated it & read data & them I can read that file in PC also.

    But on creating file "data.xlsx" , file gets created successfully in MCU, but when I transfer that file in PC, windows don't open that file & return error

    "Excel cannot open the file because file format or file extension is not valid. verify that file not corrupted and that file extension matches the format of file".

    Obviously there could be different format for writing excel. But I don't what it is. I want to write data in different cells.

     
  2. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,386
    1,605
    When trying to link to a file on your very own C drive please provide instructions to remote log onto your computer.

    1. Try Google. Or Wikipedia.

    2. Creating an excel file consists of following a proprietary data format for the data inside the file itself, not just giving the file the proper extension. A much simpler format (still very useful) is the .csv or comma separated format. Excel can handle it with ease but it is basically just a text file.

    Again, Google and Wikipedia are your friends here.
     
  3. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,884
    1,001

    You would need an intimate knowledge of the xls file structure. It will be many times easier to write an XML file.
     
Loading...