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.

CC3100 login and uniflash questions

Other Parts Discussed in Thread: UNIFLASH, CC3100, CC3200

I've been able modify the http server example for my needs and load my webpages with the uniflash tool.  I've looked at the information in the wiki about the uniflash tool, but have some questions.

1 - When I initially access my webpage, there is a login that requires "admin" and "admin" for username and password.  Where should I make changes to eliminate the login requirement?

2 - I've failed to erase the old files in the serial flash that were for the default application loaded at the factory.  My uniflash project looks like this:

I believe that I need to open the correct .ucf file and then select erase for all of the files that were previously loaded.  Is this correct and which .ucf file should I open?  Is it the "out of box" project?

I see a page with heading shown and when I click the "SimpleLink CC3100" tab it takes me to my page (main.html).  I want to remove all of the pages that were previously loaded and only have my html files in the serial flash.

3 - After I've finished my development, what is the correct process for reloading the default application shown above?  Would I check erase for the html files for my project's .ucf file and then press program, open the "out of box" .ucf file and program it?

4 - Also, I'm unclear about when it is appropriate to press the Format and Service Pack Update buttons in uniflash?

I'm really impressed with the device and the development tools.  TI has put a bunch of thought and work into this.

Thanks for any help.

Matt

  • Matt Webster said:
    1 - When I initially access my webpage, there is a login that requires "admin" and "admin" for username and password.  Where should I make changes to eliminate the login requirement?

    I don't think this has anything to do with the cc3100/cc3200. This is most likely your Wifi Router doing this. Not exactly sure what it is about your setup to cause this though.

    2. The best way to delete all the current files, so only your files will be present is to format and then add the service pack and then your files. I do this ever so often when I am working with different examples, to make sure I do not run out of space on the serial flash.

    The main.html cannot be deleted, as it is internal to the NWP (network processor subsystem), you can stop it being accessed by using the recommendation in this post - http://e2e.ti.com/support/wireless_connectivity/f/968/p/369893/1300591.aspx#1300591

    3. Update and Verify (if you like) is enough.

    Glenn.

  • Matt,

    1) by default, HTTP authentication should be disabled. If you like to disable/enable it, please refer to the programmer's guide. It can be found under http://processors.wiki.ti.com/index.php/CC32xx_Programmers_Guide. Just go to chapter 12.9.3.

    2) If you would like to erase a file, you need to know the exact file that is flashed into it (as you do not have any file listing option). If you are not sure, please just format the device and reprogram the files (and optionally the servicepack as well).

    3) you need to use Uniflash to load all related files. I always check 'erase' (if the file already exist and I need to program a larger sized file with the same filename), 'update' and 'verify'..

    4) again, if you are not sure what is already flashed into the deviec and you would like to start "clean", then format is the operation for you. However, please note that format means the device is loaded with ROM version. For this, you need the servicepack update

    Shlomi

  • Thanks for the response.

    The wiki says - Service pack is a common name for the image required for updating the device

    So does format clear out everything from the external flash?  Does programming the service pack only give me back the ability to update the device (load pages into flash)?

    If I want to go back to the default pages (shown above with SimpleLink CC3100, Status, IP Config, Profiles,... headings), do I need to use uniflash to program the "out of box" example, or are these pages loaded with the service pack?

    Thanks again.

  • Hi,

    The device can operate without service pack as well. In this case, it uses the ROM version. The service pack is just a set of SW patches on top of the ROM version, implementing bug fixes and other enhancements.

    Having said that, format does clear everything from SFLASH, including the service pack. BUT, you can still operate the device. Worst case, you loose the bug fixes implemented in the service pack.

    The device has default web pages in its ROM so even if you format the SFLASH, you get the default web pages. Loading new web pages does not depend on the service pack as this ability is part of the ROM.

    Regards,

    Shlomi

  • Matt,

    Just an important note that needs to be made so everything is clear - the Service pack is a must for proper and guarenteed device operation. As mentioned, it is a collection of SW patches aiming to fix bugs in which some may be crucial for stable and robust device operation.

    Shlomi