This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Developing a Project which takes data from serial port and stores it in ROM and whenever there is a request from server send this data to server using Ethernet.

Other Parts Discussed in Thread: LM3S6965, LM3S6432

Dear All, 

Please help me out in doing this project.

  • I don't think that is possible. Maybe you should start another thread with a different project.

  • Sir is there any chance of using any of the lm3s family for doing this.

  • Dave Robinson said:
    I don't think that is possible

    It is certainly not possible to write data to ROM!

    ROM = Read-Only Memory; ie, there is no write!

    You need at least PROM = Programmable ROM - but that would just be write-once.

    Probably, what you need is EPROM = Eraseable PROM - so that you can erase old data once you're done with it, and write again.

    To be practical in a microcontroller circuit, what you really need is EEPROM = Electrically-Eraseable PROM

    (although the term "EEPROM" is general, it is often taken to refer specifically to devices designed for data storage - as opposed to code storage)

    Or, maybe, you actually meant "RAM" ... ??

    Note that TI (among others) also makes FRAM - which is a type of non-volatile RAM...

  • Andy:

    Busted. :-)

    I suspect he means storing it in FLASH -- I know that on the Stellaris LM4F120Xl there was a demo of trying to write to flash to show off the MPU (Memory Protection Unit) -- is this possible on LM4F?

    I am just starting to work with the LM4F120XL -- Launchpad arrived OCT1, and I have just been running videos and reading docs before starting work.

    Maybe somebody from TI can comment on this.

    Maybe writing to a SD card (LM3S6965) is the way to go.

  • ABDUL KHALAQUE said:
    is there any chance of using any of the lm3s family for doing this

    No: as already noted, it is not possible to write to ROM!

    However, if we assume that "ROM" is a typo, and you actually meant some kind of EPROM or RAM - then it is!

    You need to approach this in exactly the same manner that you'd approach any project - start by breaking it down into its component parts or "sub-systems".

    four sub-systems spring immediately to mind from your description:

    1.  take data from serial port;
    2. store data in ROM (sic);
    3. listen for requests from server;
    4. send data to server.

    Then turn your attention to each sub-system in turn - some of them will most likely require further breakdown

    For each sub-system, you could look at the StellarisWare examples to find ones that are applicable.

    You might even find that there's a StellarisWare example which directly meets your requirement - or only needs minor modification to do so...

  • Sir I got the idea of doing it but I can't decide which controller I can use because there are no drivers for accessing RAM.I have seen the S2E module of TI in which the data is taken directly from serial port and given to ethernet port.  

  •          I want to read the data from serial port periodically by sending a command internally and store the received data in a buffer. Whenever request comes from ethernet side the data in the buffer should be transmitted through ethernet. How can I achieve it? I am using LM3S6432.

  • ABDUL KHALAQUE said:
    because there are no drivers for accessing RAM

    Why would you need "drivers" for accessing RAM??!!

    ABDUL KHALAQUE said:
    I have seen the S2E module of TI in which the data is taken directly from serial port and given to ethernet port.  

    So put a buffer between the two?

    StellarisWare include a Ring Buffer (aka, "Circular Buffer") module...

  • ABDUL KHALAQUE said:
    I want to read the data from serial port periodically by sending a command internally and store the received data in a buffer. Whenever request comes from ethernet side the data in the buffer should be transmitted through ethernet. How can I achieve it?

    Exactly as I said to you before!

  • Which controller is better for this application?

  • srinivasulu kanaparthi said:
    Which controller is better for this application?

    You are a very long way from needing to ask that question!

    You need to analyse your requirements and come up with at least an outline design before even thinking about specific processors.

    The design will show you what the processor needs to do - from that, you can estimate which processor(s) might be suitable...

     

  • And then...after the design step is finished... Download the complete StellarisWare -- then look through all the examples. Think  of it as a Code Review -- where you assess other peoples solutions to similar problems -- and you then critique the solution. When I approach a new problem I do exactly as Andy suggests -- then I look at what is out there. It saves time and it saves a lot of questions.

    Design first

    Review Previous Work

    Critique possible solutions

    Re-Design...

    It works

  • Dave Robinson said:

    It works

    Well ... sometimes.   Occasional "mush-room cloud" over Toronto tundra - not withstanding...