Hi.
Just a simple question about Tiware library.
I'm going to develop on TM4C129 next days and I want to be sure that Tiware plus TI-RTOS have all necessary for ethernet and USB OTG.
Could someone confim that?
thanks in advance Marco
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.
Hi.
Just a simple question about Tiware library.
I'm going to develop on TM4C129 next days and I want to be sure that Tiware plus TI-RTOS have all necessary for ethernet and USB OTG.
Could someone confim that?
thanks in advance Marco
Hello Marco,
TIVAWare 2.1.0 has all components for Ethernet and USBOTG development with example codes.
Regards
Amit
Hi,
I am starting with a TM4c1294 project which uses ethernet. My eval board will be with me in about a week.
I have downloaded Tivaware_C_Series 1.0, 1.1 and 2.1.0. so far. I have tried to compile some of the examples, not many successfully. I have restarted on the enet_io today and I have added paths to my include search directory and the compiler still throws many errors.
eg: "G:/ti/TivaWare_C_Series-2.1.0.12573/third_party/lwip-1.4.1/src/core/pbuf.c", line 72: fatal error #1965: cannot open source file "arch/perf.h"
"../enet_io.c", line 212: error #20: identifier "tCGI" is undefined
I have searched all files in the Tivaware 2.1.0 folder for the word "tCGI" and only found it in two files httpd.h and httpd.c and there is no definition for it in both. But I do see a declaration in Tivaware 1.1 for this.
Now my question, can you give me a link to where I can download the Tivaware again which may work.
Also I should mention that I am using CCS 5.5 as CCS 6.0 will just not show me where the errors are, but 5.5 does.
I hope someone can point me in the right direction.
Regards,
Wade
Hi,
Are you going to use Tiva Connected Launchpad or DK-TM4C1294?
Better use the Tivaware package for that specific kit. You can get that at TI website for that kit.
- kel
Markel Robregado said:Are you going to use Tiva Connected Launchpad or DK-TM4C1294?
Markel, just to clean some mistype, from what I read on box I see in front of me:
Connected LaunchPad Evaluation kit EK-TM4C1294XL
Development Board DK-TM4C129X
By mistake I downloaded 1294NC code on DK board and it worked too but I cannot reverse the application is using the LCD on 129XN to EK.
DK cannot sell to some country I suppose due to encryption hardware.
Hi Wade, I am using in prevalent CCS6.0 but 5.5 is still installed and running.
You intermixed TIVAWARE versions, Is just the last one in your link or more than one is at same time?
Wade Whitehorn said:eg: "G:/ti/TivaWare_C_Series-2.1.0.12573/third_party/lwip-1.4.1/src/core/pbuf.c", line 72: fatal error #1965: cannot open source file "arch/perf.h"
I am no more using Windows version but I remember the worst issue I suffered was everything must reside on same drive.... From various forum post I fear this issue still is active. Where are CCS and TivaWare installed to?
Please can you post the text of error messages so we can see more detail about?
Can also compress files of your project and allegate to your next post?
TivaWare version 2.1.0.12573
Untouched enet_io project import compile and run fine on Launchpad.
Hi,
I tried again today to use CCS 6.0 and it works with no problems. So hopefully that has fixed itself.
All my data, C code, Tivaware and compiler are all on my G: drive. So I am sure that is not the issue.
I have changed my working directory name to: G:\PROJECT, so that should not be troubling.
I tried today to import enet_io as a CCS project. I spent maybe 2 hours trying to get it to compile. I had to right click on project and "add files". I added httpd, fs, io and lwiopts.
I now get it to the point where it says 'Invoking: ARM Linker'.
Extracting data from the Console view:
<Linking>
error #10056: symbol "g_psDefaultFilenames" redefined: first defined in "./third_party/lwip-1.4.1/apps/httpserver_raw/httpd.obj"; redefined in "./httpd.obj"
error #10056: symbol "file__404_html" redefined: first defined in "./fsdata.obj"; redefined in "./fs.obj"
error #10056: symbol "fs_read" redefined: first defined in "./io_fs.obj"; redefined in "./fs.obj"
error #10056: symbol "fs_open" redefined: first defined in "./io_fs.obj"; redefined in "./fs.obj"
error #10056: symbol "file__img_sics_gif" redefined: first defined in "./fsdata.obj"; redefined in "./fs.obj"
error #10056: symbol "fs_close" redefined: first defined in "./io_fs.obj"; redefined in "./fs.obj"
error #10056: symbol "file__index_html" redefined: first defined in "./fsdata.obj"; redefined in "./fs.obj"
error #10056: symbol "fs_bytes_left" redefined: first defined in "./io_fs.obj"; redefined in "./fs.obj"
undefined first referenced
symbol in file
--------- ----------------
http_set_cgi_handlers ./enet_io.obj
http_set_ssi_handler ./enet_io.obj
httpd_init ./enet_io.obj
sys_now ./utils/lwiplib.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "enet_io.out" not built
I had to change a constant used as a buffer length to 16, I forget which, to prevent a compile error.
What I see is that I DO NOT get the example to just compile and link.
I am convinced that I am doing something fundamentally wrong.
Bye for now.
Hi Wade,
I think you should read some guides or tutorials first how to import a project into CCS. There are also laboratory workshop that explains in good detail using CCS for first time.
Wade Whitehorn said:<Linking>
error #10056: symbol "g_psDefaultFilenames" redefined: first defined in "./third_party/lwip-1.4.1/apps/httpserver_raw/httpd.obj"; redefined in "./httpd.obj"
error #10056: symbol "file__404_html" redefined: first defined in "./fsdata.obj"; redefined in "./fs.obj"
error #10056: symbol "fs_read" redefined: first defined in "./io_fs.obj"; redefined in "./fs.obj"
error #10056: symbol "fs_open" redefined: first defined in "./io_fs.obj"; redefined in "./fs.obj"
error #10056: symbol "file__img_sics_gif" redefined: first defined in "./fsdata.obj"; redefined in "./fs.obj"
error #10056: symbol "fs_close" redefined: first defined in "./io_fs.obj"; redefined in "./fs.obj"
error #10056: symbol "file__index_html" redefined: first defined in "./fsdata.obj"; redefined in "./fs.obj"
error #10056: symbol "fs_bytes_left" redefined: first defined in "./io_fs.obj"; redefined in "./fs.obj"
These errors are like in violation of the C "one definition rule". This means you have two similar files that are being compiled for this project. Also, it is possible that you have settings that links to these two files.
-kel
What I did was. Unzip the example folder to overwrite all my changes.
The I ran the installer again and did not change the default destination. I now have the Compiler and TivaWare on my C: drive and my Project directory on my G: drive. I now get the good news :
<Linking>
'Finished building target: enet_io.out'
' '
"C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin" "enet_io.out" "enet_io.bin" "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armofd" "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armhex" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin"
' '
**** Build Finished ****
So there was something wrong with the original install. I am really not sure where, but it now works with no effort at all.
Regards
Wade Whitehorn said:"C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin" "enet_io.out" "enet_io.bin" "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armofd" "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armhex" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin"
' '
Hi Wade, as I wrote, Linux version suffer from minor issue like this of hardwired path to C:\ legacy drive... Bad issue coming from windows programmer imported to Linux too where c:/ (not c:\) doesn't exist too nor has sense than referring to root / of some mounted directory drive or network resource.
In the other way the good way is to leave TIVAWare code untouched and work forever on a copy. Use import existing CCS project, (check copy to WorkSpace) then customize your running new project on your workspace.
So try again not compile original code but import instead then post error we can help you solve than tampering original reference.
Still remember if you patch original code you are losing all your work by silently overwriting files.