Jump to content

Remixed123

Members
  • Content Count

    46
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    Remixed123 reacted to cubeberg in Large Scale IoT: CC3200 LaunchPad and Microsoft Azure   
    I'll have to check this out!  I started work on a .NET solution myself a while back and haven't made it very far - I'll have to check out your solution.  Thanks for sharing!
  2. Like
    Remixed123 reacted to Rei Vilo in embedXcode: Stellaris on Xcode   
    Please find a new release of embedXcode.
      embedXcode  • Sep 20, 2014 release 201 • Support for Xcode 6.0.1 on Mac OS X 10.9.5 embedXcode+ • Sep 20, 2014 release 201 • Support for Xcode 6.0.1 on Mac OS X 10.9.5
      This new release combines release 177 of embedXcode+ with support for the Robotis OpenCM9.04 board and release 176 with a cleaner build process.    As embedXcode celebrates its first birthday, release 201 is the first release of the 2nd year!   Happy coding   Download
  3. Like
    Remixed123 reacted to Rei Vilo in embedXcode: Stellaris on Xcode   
    Please find a new release of embedXcode.
     
    embedXcode  • Sep 01, 2014 release 175 • Support for LaunchPad WiFi with CC3200
    embedXcode+ • Sep 01, 2014 release 175 • Support for LaunchPad WiFi with CC3200
     
    The LaunchPad Wifi CC3200 is based on an all-in-one ARM Cortex-M4 MCU with integrated WiFi radio. It requires the prior installation of Energia release 13.
     
    Download
  4. Like
    Remixed123 reacted to Rei Vilo in embedXcode: Stellaris on Xcode   
    Sure! I'm testing right now the implementation with the beta of the next release of Energia and everything works fine. I'll release it when Energia is finalised and available. Stay tuned!
  5. Like
    Remixed123 got a reaction from Smakkemeken in Google+ Ti Stellaris Launchpad   
    You cannot knock enthusiasm and an obvious passion for the Tiva C.
     
    However his online community leadership credentials may need some working on. These skills are essential for creating and managing an online community, so I am not sure how much success he is going to have with his new creation.
  6. Like
    Remixed123 reacted to Automate in A new Tiva C LaunchPad about to be Announced!!!!!   
    More info released http://www.ti.com/ww/en/launchpad/launchpads-tivac-ek-tm4c1294xl.html#tabs
     
    $20 with Ethernet but not in stock yet
  7. Like
    Remixed123 reacted to Rei Vilo in Is Energia just for prototyping or can it be used for actual product releases?   
    @@Remixed123
     
     
    Starting release 115, embedXcode features debugging for the LaunchPad MSP430, Stellaris now Tiva C and F5529:
    the breakpoints are defined within the Xcode interface with conditions, counters, actions... the template launches the debugging session in a Terminal window. get access to the variables, stacks, modify the values... using a limited set of commands. See the documentation at http://embedxcode.weebly.com/debugging.html
  8. Like
    Remixed123 got a reaction from spirilis in A new Tiva C LaunchPad about to be Announced!!!!!   
    Here is the teaser - promo video
     
    It looks like it's based on the TM4C129
     
    The query string in the link announces this for all to see....mcu-tivc-ek-tm4c129xl-em-lp-en
     
    Glenn.
     
  9. Like
    Remixed123 got a reaction from Automate in A new Tiva C LaunchPad about to be Announced!!!!!   
    Here is the teaser - promo video
     
    It looks like it's based on the TM4C129
     
    The query string in the link announces this for all to see....mcu-tivc-ek-tm4c129xl-em-lp-en
     
    Glenn.
     
  10. Like
    Remixed123 reacted to bluehash in Enable USB device on TIVA C TM4C123g   
    Yes, good that you solved it.. but an explanation would be really helpful.
    Thanks!
  11. Like
    Remixed123 reacted to Shoba Thurairaja in Enable USB device on TIVA C TM4C123g   
    ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB);
        ROM_GPIOPinTypeUSBAnalog(GPIO_PORTB_BASE, GPIO_PIN_0 | GPIO_PIN_1);
     
    missed it
     
    shoba
  12. Like
    Remixed123 reacted to Shoba Thurairaja in Enable USB device on TIVA C TM4C123g   
    Sorry for the late update,
     
     
    Just to let every one who is working with USB_BULK example, to know that there is no issue on the driver file that provided. It was a hardware issue on my side, USB0DM and USBID pins are connected. 
     
    1)
    Following command will work if you can't allowcate a pin to control feature (USB0EPEN to enbable the Vbus) then forcing the device with following   
        //
        // Set the USB stack mode to Device mode with VBUS monitoring.
        //
        USBStackModeSet(0, eUSBModeForceDevice, 0);
     
    2)
    if you have implemented a hardware for USB0EPEN, USBID(PB0), USB_VBUS(PB1)
     
        ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOG);
        ROM_GPIOPinConfigure(GPIO_PG4_USB0EPEN);
        ROM_GPIOPinTypeUSBDigital(GPIO_PORTG_BASE, GPIO_PIN_4);
     
    Both works
     
    Shoba
  13. Like
    Remixed123 reacted to pjkim in Complete Tiva IDE using Eclipse on Mac including flash and debug   
    I recently installed openOCD on my computer and was able to get command line debugging working. Reading the gdb tutorials, I started doubting whether this was something I wanted to learn and wanted to see if I could get a GUI debugger working instead. I started fiddling around with Eclipse on my Mac and wanted to get a complete Tiva IDE. I followed a great tutorial for installing Stellarisware on Linux at http://kernelhacks.blogspot.com/2012/11/the-complete-tutorial-for-stellaris_25.html
     
    Perhaps because of the changes from Stellarisware to Tivaware and/or Linux to Mac, there were many things that needed to be tweaked, adjusted, and fiddled with. But in the end, everything works!
     
    First, off, I have Energia.app in /Applications. I installed openOCD using macports and installed Eclipse IDE for C/C++ Developers. Make sure gdb and openOCD are working properly before trying to get it to work in eclipse. I will describe here the changes from the tutorial above-- do all the other steps in the tutorial above.
     
    I copied the TivaWare files extracted on a Windows machine (because TI distributes this as an EXE file!) to ~/Projects/TivaWare_C_Series-1.1 (you can choose elsewhere but will need to change paths accordingly). I also created a folder for openOCD in ~/Projects/openocdDir containing the file ek-lm4f230xl.cfg which contains
    # # TI Stellaris Launchpad ek-lm4f120xl Evaluation Kits # # http://www.ti.com/tool/ek-lm4f120xl # # # NOTE: using the bundled ICDI interface is optional! # This interface is not ftdi based as previous boards were # source [find interface/ti-icdi.cfg] set WORKAREASIZE 0x8000 #set CHIPNAME lm4f120h5qr set CHIPNAME lm4f230h5qr source [find target/stellaris_icdi.cfg] Step 6: in Cross Settings, change Prefix to arm-none-eabi- and set Path to /Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/
     
    Step 7: Same except define PART_TM4C123GH6PM instead of PART_LM4F120H5QR. I don't know if this makes a difference but be consistent.
     
    Step 8: set include path to /Users/pjkim/Projects/TivaWare_C_Series-1.1
     
    Step 9: Misc section. Set other flags to "-c -fmessage-length=0 -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections -MD -std=c99 -Wall -pedantic"
     
    Step 9.5: Change Cross Gcc Linker to ld. I think it defaulted to gcc for some reason.
     
    Step 10: Linker Libraries. Leave Libraries blank. Change search path to /Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/lib/gcc/arm-none-eabi/4.7.1
     
    Step 11: Linker Misc. Change linker flags to "--gc-sections -T../LM4F.ld"
     
    Once everything is done, check your flags. If you click on the "Cross GCC Compiler" item under Tool Settings, you can see "All options:" it should look like 
    -DARM_MATH_CM4 -DTARGET_IS_BLIZZARD_RA1 -DPART_TM4C123GH6PM -I/Users/pjkim/Projects/TivaWare_C_Series-1.1 -O0 -g3 -Wall -c -fmessage-length=0 -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections -MD -std=c99 -Wall -pedantic Check the Cross GCC Linker options. They should be something like this.
    -L/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/lib/gcc/arm-none-eabi/4.7.1 --gc-sections -T../LM4F.ld You will need to supply a linker description file LM4F.ld in the main folder of your project. You can copy any one of the .ld files from the TivaWare examples folder. You basically needs this in the file:
    * This is part of revision 1.1 of the EK-TM4C123GXL Firmware Package. MEMORY { FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00040000 SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008000 } SECTIONS { .text : { _text = .; KEEP(*(.isr_vector)) *(.text*) *(.rodata*) _etext = .; } > FLASH .data : AT(ADDR(.text) + SIZEOF(.text)) { _data = .; *(vtable) *(.data*) _edata = .; } > SRAM .bss : { _bss = .; *(.bss*) *(COMMON) _ebss = .; } > SRAM } Go back to the appropriate sections to fix any errors. My username is pjkim. Change to yours. This should give you a working IDE for compiling your projects into an .elf and .bin file. Get this working before going to the next step,  "Flashing Programs."
     
    Step 3: He was flashing the Release version which doesn't include the debug symbols in the .elf file. I chose to use the Debug version for this reason. Name "Debug flash." Location "/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/lm4flash" Working Directory: "${workspace_loc:/${project_name}/Debug}" and Arguments: "${project_name}.bin"
     
    This should give you compile and flashing capabilities.
    N.B. lm4flash in the current version of Energia (0101E0010) is broken. You will need to replace it from the prior version or as I did, build from source (https://github.com/utzig/lm4tools).
     
    The last part of the puzzle is in IDE debugging. This part works now but it was tricky to get working and I am not exactly why it is so fidgety. If it is not working properly, I suggest trying to isolate the problem by running openocd in a terminal window and gdb from eclipse. If this works, do it the other way around, run openocd in eclipse and connect to the board using gdb in a terminal window. That way you can narrow down where you need to fix things.
     
    Debuggin:
     
    Step 2: Location: "/opt/local/bin/openocd" Working Directory: "/Users/pjkim/Projects/openocdDir" and Arguments: "--file ek-lm4f230xl.cfg" You will need to create a openocdDir folder and put in the file ek-lm4f230xl.cfg. The contents are:
    # # Comments go here # source [find interface/ti-icdi.cfg] set WORKAREASIZE 0x8000 set CHIPNAME lm4f230h5qr source [find target/stellaris_icdi.cfg] Step 7: There is a known bug in gdb or openocd that can cause connection problems. The workaround is described in http://www.verious.com/tutorial/the-complete-tutorial-for-stellaris-launchpad-development-with-gnu-linux-ii
     
    Get the target.xml file from http://pastebin.com/download.php?i=0Lu3Bu0R and rename it. Put the file in your Project/Debug folder. If anyone knows how to do this better/automatically, I would appreciate it.
     
    Change the Initialization commands to
    set tdesc filename ../target.xml target extended-remote :3333 monitor reset halt And you should have a working IDE. Here is a screenshot of the IDE in action:

     
    Wouldn't it be nice if TI could package all of this into a .dmg file?
  14. Like
    Remixed123 got a reaction from Rei Vilo in Complete Tiva IDE using Eclipse on Mac including flash and debug   
    I've added my 2 cents worth to the CCS for Mac thread.
     
    If others want to, the thread is here - http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/58827.aspx?pi199176=5
     
    Glenn.
  15. Like
    Remixed123 reacted to Lyon in Getting ADC working on the Tiva LaunchPad   
    Hi,
    1) depends on your application - music need sampled much faster than that - usually is 44.1kHz if you need high fidelity but some other lower rates can be used such as 16kHz. Keep in mind that for a sinusoid the average value is 0 so be careful. Voice is sampled at 8 kHz. An I2s module would be better to sample music but you can experiment/learn a lot also from this approach.
     
    2) Since you apply a signal, this must be centered on the mid scale ( the ADC is unipolar) so use two series resistors of equal value, say 10k from Vcc to ground, the mid point to be connected to opamp and then use a series capacitor to apply the signal - this is high pass so choose the capacitor value to allow the lowest frequency, 5...10 Hz.
     
    3) Keep in mind you must protect the ADC inside the micro so it is mandatory to apply less than 5V... For the moment I do not have a recomandation for this, you can find out at TI.
     
    4) For the moment keep experimenting like this, no other means to remove noise, since the music is not repetitive. There are some techniques to apply for repetitive signals: sample several times keeping up the sinchronization of signal (take samples at same position) and then average the bins(samples at each position). This does not apply to music, unfortunately...
    You will be able to improve with a careful design of a PCB.
     
    One more thing: after ADC conversion, the real sample value is what you get from ADC minus the center value!
     
    L
  16. Like
    Remixed123 reacted to Rhys in Getting ADC working on the Tiva LaunchPad   
    For the sampling, you should be using a timer interrupt to ensure that the samples are taken at a regular interval.  The UART and such introduce randomness to the sample frequency if you don't use a timer interrupt to force the micro to sample the ADC at a specified interval.  And you need to set the timer interrupts priority higher than the UART and other interrupts so that it will interrupt them as well as whatever else the micro is doing.  You can't have much variance in the sample rate at the sample frequencies needed for audio work (+/- a few microseconds per sample will wreak havoc on your data).
  17. Like
    Remixed123 got a reaction from bluehash in Using pre-compiled library in project?   
    This recent post on the TI Tiva forum might also help explain why you might see differences in the licensing.
     
    http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/293863.aspx
     
    So basically, most code should have been move to BSD, but some of the files have not been updated to reflect this situation. 
     
    So to be absolutely sure that the bits you want are BSD, I'd post on the forum to confirm, perhaps following up on the post I have linked above.
  18. Like
    Remixed123 got a reaction from OppaErich in Free online course using Tiva C   
    The following YouTube course on Embedded System Programming by Miro Samek of state-machine.com is excellent. He uses the Stellaris LaunchPad, but all exercises will function on the Tiva C LaunchPad.
     

     
    The course is aimed at new comers to embedded system programming, but it is the sort of online course that is likely to provide knowledge to anyone, as Miro is so knowledgable and such a great presenter.
     
    Glenn
  19. Like
    Remixed123 reacted to Rei Vilo in Is Energia just for prototyping or can it be used for actual product releases?   
    Hello Glenn
     
    Glad to know you've found answers to your questions. 
     
     
     
    Does code-sense/intelli-sense work when using Xcode?   Yes, actually it was the primary benefit I was looking for. It saves a lot of time!     What additional features do you get by using Xcode?   Among many other features: cross-platform with support for Arduino, chipKIT, Digistump, LaunchPad, Maple, Teensy, Wiring boards, version management with Git, self-documentation with PDF, HTML and Xcode help outputs, click-to-error, and many, many more... To get a more precise idea, have a look at the User Manual, available as an e-book and a PDF, and visit the website embedxcode.weebly.com     I imagine in circuit debugging is still not available?   No, not yet, as Apple provides no documentation at all about Xcode internals. I managed to finalise the template thanks to endless try and error work...     There's an official thread on 43oh forum and also on Stellarisiti forum.
  20. Like
    Remixed123 reacted to GODSP in Porting energia sketch to CCS   
    Apparently, CCSv6 will support the ability to import Energia sketches. They have just released an early adopter version: http://processors.wiki.ti.com/index.php/CCSv6.
×
×
  • Create New...