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.

CCS/IWR1642BOOST: IWR1642 Single measurement over time.

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: IWR1642

Tool/software: Code Composer Studio

Good morning,

I am working with the IWR1642BOOST evaluation board, and since I don't have available the TSW1400 EVM and the DevPack, I am doing measurements by saving the memory cells on the board on a .dat file using the CCS software and a hyper-terminal program to send the configuration commands. (Start adresss: 0x20000000, number of words: 0x1FFFFF). At the moment every time I want to do an independent measurement, i have to send the commands to the board by hyper-terminal and then save the memory data in CCS. Since there are two independent programs which I have to use I don't know how can I do to automatize some measurements during a period of time. Is there any way of saving data automatically during time?

Thank you very much in advance.

  • Hi,

    CCS has scripting capabilities to load/save to/from memory.

    processors.wiki.ti.com/.../Scripting_Console

    Please also review other e2e threads related to CCS scripting

    thank you
    Cesar
  • Thank you very much Cesar. I just want to ask you some extra tips. As i said my objective is to automatize some consecutive measurements with the IWR1642. In order to renew the data that is saved in memory I have to send the commands "SensorStop" and "SensorStart", so the memory gets filled again with new data via Hyperterminal. Even if I am looking for it I dont find any command for my script that allows me to do that. Is there an easy solution that I could use for this purpose?

    Thanks in advance,
    Carlos
  • I am also saving data in a wrong format. I am using the following command:

    saveData(0x20000000,0,"C:\\Users\\Carlos.Chaves\\Desktop\\testsave3.dat",0x1FFFFF,IOMEMORY_HEX,false)

    However when I save data by using the option in the Tools menu i get the hexadecimal data formatted in groups of 16 bits, while when I use the script command they come in 32:

    Since the options to choose for the formating are IOMEMORY_COFF, IOMEMORY_FLOAT, IOMEMORY_HEX, IOMEMORY_INT,  IOMEMORY_LONG I cant format the data as I want. Is there any other formatting word available?. Also there are only 127 available commands for the scripting console of CCS. Are there more commands available to use?

  • Hi Carlos,

    If you are looking to save the data in a different format then I'd recommend using an external editor with this functionality.


    Cheers,
    Akash