Jump to content
43oh

Leinad89mlg

Members
  • Content Count

    9
  • Joined

  • Last visited

Posts posted by Leinad89mlg

  1. Hi !! My name is Daniel and I'm working in a project using CC3100 and MSP430F5529.

     

    The project is based on connecting devices to a wireless network. Once connected , the system must read analog sensor data and store them in an SD card.

    Storage on the SD card is done through the SPI protocol using a library that I found on this forum , called " pffats " . The problem is that if I make the connections between the microcontroller and the SD card as the SPI protocol the system can not connect to the wireless network. However, if I remove the cables from the SPI connection, the system by connecting to the network. It seems as if it could use wireless and SPI at once. Shipping the code so you can take a look.


     

    #include <pfatfs.h>#include <pffconf.h>#ifndef __CC3200R1M1RGC__#include <SPI.h>#endif#include <WiFi.h>// Nombre de la red char ssid[] = "vodafoneC3E3";// Contrase
  2. Hi !


     I have a problem with MSP430F5529LP and CC3100 wifi booster pack.


      I have been working without problems pluggin the CC3100 on the MSP430 and I connected to wifi with energia IDE but 3 days ago the communication failed.


     

    I have :

     

    MSP430F5529 (25 MHz)

     

    CC3100 WIFI

     


     

    When I bought the booster pack I had to follow instructions in order to connect CC3100 to wifi and the energia code example "simpleWebServerWifi" was working very well. But last week I pushed some buttons of the CC3100 ( SW1,SW2..) and It stopped working.

     

    I followed the instructions  that I found on the website of texas instruments (refers to uniflash) and  it continues failing.  Energia code "simplewebserverwifi" hang up in Wifi.begin (ssid, password)

     

    I am sure that I aligned the CC3100 correctly on the Launchpad.

     

    If I connect msp430+CC3100 wifi to PC via USB, the PC recognises the msp430 in COM port but if once connected, I take out the cc3100, PC don
  3. Hi !

     

    Thanks for your reply.

     

    I followed the instructions and other instructions that I found on the website of texas instruments and  it continues failing.  Energia code "simplewebserverwifi" hang up in Wifi.begin (ssid, password)

     

    I am sure that I aligned the CC3100 correctly on the Launchpad.

     

     

    EDIT:  I'm not sure that I understood you but If I connect msp430+CC3100 wifi to PC via USB, the PC recognises the msp430 in COM port but if once connected, I take out the cc3100, PC don

  4. If I only connect the MSP430F5529 to PC, the PC recognise the MSP430 in COM port but when I plug the CC3100 on the MSP430, the PC doesn't recognise it.

     

    It appears a message " USB device not recognised"

     

    I have :

     

    - MSP430F5529 (25 MHz)

     

    - CC3100 WIFI

     

    - CC31XXEMUBOOST

     

    When I bought the booster pack I had to follow instructions in order to connect CC3100 to wifi and the energia code example "simpleWebServerWifi" was working very well. But last week I pushed some buttons of the CC3100 ( SW1,SW2..) and It stopped working.

     

    The problem is that I don't remember the instructions I followed. 

     

     

     

     

     

     

    Thanks

     

  5. Hi !

     

    I have a problem with MSP430F5529LP and CC3100 wifi booster pack.

     

     I have been working without problems pluggin the CC3100 on the MSP430 and I connected to wifi with energia IDE but 3 days ago I tried to pluggin CC3100 to MSP430 and my PC not recognized my device and I don't know why.

     

    I need help because I am working in an important proyect.

     

    Thank you.

  6. Thank you for your reply Fmilburn

     

    I've renamed all references to DIR but the code won't compile.

     

    The new error is as follows:

     

    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::DLY100U()':
    pfatfs.cpp:(.text._ZN4PFFS7DLY100UEv+0x0): multiple definition of `PFFS::DLY100U()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS7DLY100UEv+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::SPI_SEND(unsigned char)':
    pfatfs.cpp:(.text._ZN4PFFS8SPI_SENDEh+0x0): multiple definition of `PFFS::SPI_SEND(unsigned char)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS8SPI_SENDEh+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::SPI_RECEIVE()':
    pfatfs.cpp:(.text._ZN4PFFS11SPI_RECEIVEEv+0x0): multiple definition of `PFFS::SPI_RECEIVE()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS11SPI_RECEIVEEv+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::CS_READ()':
    pfatfs.cpp:(.text._ZN4PFFS7CS_READEv+0x0): multiple definition of `PFFS::CS_READ()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS7CS_READEv+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o:(.bss._ZN4PFFS2CSE+0x0): multiple definition of `PFFS::CS'
    pfatfs.cpp.o:(.bss._ZN4PFFS2CSE+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::CS_HIGH()':
    pfatfs.cpp:(.text._ZN4PFFS7CS_HIGHEv+0x0): multiple definition of `PFFS::CS_HIGH()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS7CS_HIGHEv+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::CS_LOW()':
    pfatfs.cpp:(.text._ZN4PFFS6CS_LOWEv+0x0): multiple definition of `PFFS::CS_LOW()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS6CS_LOWEv+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::PFFS()':
    pfatfs.cpp:(.text._ZN4PFFSC2Ev+0x0): multiple definition of `PFFS::PFFS()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFSC2Ev+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::SPI_SET_DIVIDER(unsigned char)':
    pfatfs.cpp:(.text._ZN4PFFS15SPI_SET_DIVIDEREh+0x0): multiple definition of `PFFS::SPI_SET_DIVIDER(unsigned char)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS15SPI_SET_DIVIDEREh+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::disk_init()':
    pfatfs.cpp:(.text._ZN4PFFS9disk_initEv+0x0): multiple definition of `PFFS::disk_init()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS9disk_initEv+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o:(.data._clkdivider+0x0): multiple definition of `_clkdivider'
    pfatfs.cpp.o:(.data._clkdivider+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::mount(FATFS*)':
    pfatfs.cpp:(.text._ZN4PFFS5mountEP5FATFS+0x0): multiple definition of `PFFS::mount(FATFS*)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS5mountEP5FATFS+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::begin(unsigned char, unsigned char)':
    pfatfs.cpp:(.text._ZN4PFFS5beginEhh+0x0): multiple definition of `PFFS::begin(unsigned char, unsigned char)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS5beginEhh+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o:(.bss._ZN4PFFS9fatfs_objE+0x0): multiple definition of `PFFS::fatfs_obj'
    pfatfs.cpp.o:(.bss._ZN4PFFS9fatfs_objE+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o:(.bss._ZN4PFFS7dir_objE+0x0): multiple definition of `PFFS::dir_obj'
    pfatfs.cpp.o:(.bss._ZN4PFFS7dir_objE+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::begin(unsigned char)':
    pfatfs.cpp:(.text._ZN4PFFS5beginEh+0x0): multiple definition of `PFFS::begin(unsigned char)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS5beginEh+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::open(char const*)':
    pfatfs.cpp:(.text._ZN4PFFS4openEPKc+0x0): multiple definition of `PFFS::open(char const*)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS4openEPKc+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::read(void*, unsigned short, unsigned short*)':
    pfatfs.cpp:(.text._ZN4PFFS4readEPvtPt+0x0): multiple definition of `PFFS::read(void*, unsigned short, unsigned short*)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS4readEPvtPt+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::write(void const*, unsigned short, unsigned short*)':
    pfatfs.cpp:(.text._ZN4PFFS5writeEPKvtPt+0x0): multiple definition of `PFFS::write(void const*, unsigned short, unsigned short*)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS5writeEPKvtPt+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::close()':
    pfatfs.cpp:(.text._ZN4PFFS5closeEv+0x0): multiple definition of `PFFS::close()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS5closeEv+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::lseek(unsigned long)':
    pfatfs.cpp:(.text._ZN4PFFS5lseekEm+0x0): multiple definition of `PFFS::lseek(unsigned long)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS5lseekEm+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::opendir(_DIR*, char const*)':
    pfatfs.cpp:(.text._ZN4PFFS7opendirEP4_DIRPKc+0x0): multiple definition of `PFFS::opendir(_DIR*, char const*)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS7opendirEP4_DIRPKc+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::opendir(char const*)':
    pfatfs.cpp:(.text._ZN4PFFS7opendirEPKc+0x0): multiple definition of `PFFS::opendir(char const*)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS7opendirEPKc+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::opendir()':
    pfatfs.cpp:(.text._ZN4PFFS7opendirEv+0x0): multiple definition of `PFFS::opendir()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS7opendirEv+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::readdir(_DIR*, FILINFO*)':
    pfatfs.cpp:(.text._ZN4PFFS7readdirEP4_DIRP7FILINFO+0x0): multiple definition of `PFFS::readdir(_DIR*, FILINFO*)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS7readdirEP4_DIRP7FILINFO+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::readdir(FILINFO*)':
    pfatfs.cpp:(.text._ZN4PFFS7readdirEP7FILINFO+0x0): multiple definition of `PFFS::readdir(FILINFO*)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS7readdirEP7FILINFO+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::readdir()':
    pfatfs.cpp:(.text._ZN4PFFS7readdirEv+0x0): multiple definition of `PFFS::readdir()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS7readdirEv+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::gets(char*, unsigned short)':
    pfatfs.cpp:(.text._ZN4PFFS4getsEPct+0x0): multiple definition of `PFFS::gets(char*, unsigned short)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS4getsEPct+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::fputc(char)':
    pfatfs.cpp:(.text._ZN4PFFS5fputcEc+0x0): multiple definition of `PFFS::fputc(char)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS5fputcEc+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::puts(char const*)':
    pfatfs.cpp:(.text._ZN4PFFS4putsEPKc+0x0): multiple definition of `PFFS::puts(char const*)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS4putsEPKc+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::printf(char const*, ...)':
    pfatfs.cpp:(.text._ZN4PFFS6printfEPKcz+0x0): multiple definition of `PFFS::printf(char const*, ...)'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFS6printfEPKcz+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o:(.bss.FatFs+0x0): multiple definition of `FatFs'
    pfatfs.cpp.o:(.bss.FatFs+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o:(.bss._ZN4PFFS3fnoE+0x0): multiple definition of `PFFS::fno'
    pfatfs.cpp.o:(.bss._ZN4PFFS3fnoE+0x0): first defined here
    SDCardTutorialWithEnergia\pfatfs.cpp.o: In function `PFFS::PFFS()':
    pfatfs.cpp:(.text._ZN4PFFSC2Ev+0x0): multiple definition of `PFFS::PFFS()'
    pfatfs.cpp.o:pfatfs.cpp:(.text._ZN4PFFSC2Ev+0x0): first defined here
    collect2: ld returned 1 exit status
     
    Can you send me your Petit-FATFS library please ?? I am desperate ... 
     
    :(
×
×
  • Create New...