Jump to content

larryfraz

Members
  • Content Count

    27
  • Joined

  • Last visited

  1. Hello. After coming back to the Tiva after a few months, I'm not able to get the toolchain running again. I keep getting the error make: arm-none-eabi-gcc: Command not found make: arm-none-eabi-gcc: Command not found make: arm-none-eabi-gcc: Command not found CC blinky.c make: arm-none-eabi-gcc: Command not found make: *** [gcc/blinky.o] Error 127 This is after trying to install several versions of the cross-complier and following the instructions here. I know its probably something stupid, but I don't see what I'm doing differently from after reinstalling my os. I'm running PinguyOS now.
  2. larryfraz

    Using Hardware PWM on Tiva Launchpad

    Got it down to just this error: ../gcc-lk-start/startup_gcc.c: In function ‘ResetISR’: ../gcc-lk-start/startup_gcc.c:293:5: error: unknown type name ‘uint32_t’ HWREG(NVIC_CPAC) = ((HWREG(NVIC_CPAC) & ^ when I know that 'uint32_t' is defined in the project. I'm using the startup_gcc.c you provided above. Is it my learning curve taking time, or some change needed in that file?
  3. larryfraz

    Using Hardware PWM on Tiva Launchpad

    Thanks! I'm doing Eclipse/gnu plugin now. (I think I got the eclipse project I made to use it; at least it is installed) Having problem with startup.gcc; finding includes, but its giving errors on an asm block for Zero fill the bss segment.
  4. larryfraz

    Using Hardware PWM on Tiva Launchpad

    Going back to using TI's startup_gcc and Makefile, I get make: *** No rule to make target `tiva_pwm.ld', needed by `gcc/tiva_pwm.axf'. Stop.
  5. larryfraz

    Using Hardware PWM on Tiva Launchpad

    Same light, no change. This is the output I'm getting, and the makefile ("non-restricted" not a copy of TI's; that may be where I'm over my head here). zadok@new-host-3 tiva_pwm]$ make Compiling tiva_pwm.c... arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -O0 -ffunction-sections -fdata-sections -MD -std=c99 -Wall -pedantic -c -g -I ../../../../ -DPART_TM4C123GH6PM -c -DTARGET_IS_BLIZZARD_RA1 tiva_pwm.c -o tiva_pwm.o Compiling startup_gcc.c... arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -O0 -ffunction-sections -fdata-sections -MD -std=c99 -Wall -pedantic -c -g -I ../../../../ -DPART_TM4C123GH6PM -c -DTARGET_IS_BLIZZARD_RA1 startup_gcc.c -o startup_gcc.o Compiling LM4F_startup.c... arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -O0 -ffunction-sections -fdata-sections -MD -std=c99 -Wall -pedantic -c -g -I ../../../../ -DPART_TM4C123GH6PM -c -DTARGET_IS_BLIZZARD_RA1 LM4F_startup.c -o LM4F_startup.o LM4F_startup.c:72:5: warning: ISO C forbids initialization between function pointer and 'void *' [-pedantic] LM4F_startup.c:72:5: warning: (near initialization for 'myvectors[0]') [-pedantic] Making driverlib make -C ../../../../driverlib/ make[1]: Entering directory `/home/zadok/tools/driverlib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/zadok/tools/driverlib' Linking... arm-none-eabi-ld -T LM4F.ld --gc-sections -o main.axf tiva_pwm.o startup_gcc.o LM4F_startup.o ../../../../driverlib/gcc-cm4f/libdriver-cm4f.a /home/zadok/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib/armv7e-m/softfp/libm.a /home/zadok/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib/armv7e-m/softfp/libc.a /home/zadok/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/armv7e-m/softfp/libgcc.a Copying... arm-none-eabi-objcopy -Obinary main.axf main.bin Creating list file... arm-none-eabi-objdump -S main.axf > main.lst [zadok@new-host-3 tiva_pwm]$ sudo lm4flash main.bin [sudo] password for zadok: Found ICDI device with serial: 0E20092F ICDI version: 9270 Makefile.txt
  6. larryfraz

    Using Hardware PWM on Tiva Launchpad

    @@Lyon Thanks, but I'm still missing something with this; I put 1) at the very top of the project instead of later, to try that 2)are both included in my Makefile, PART=TM4C123GH6PM, as copied from my Tiva board's examples. built and flashed again, no change in LEDs from earlier. Ran make clean before make...
  7. larryfraz

    Using Hardware PWM on Tiva Launchpad

    @brownfox: So did Rakshit, and I get the same results. not using energia, but the code at top w/gcc cross-compiler.
  8. larryfraz

    Algorithmic synth project

    Check NatureTM's synth for the MIDI circuit: http://naturetm.com/?p=111 The opto-isolator is just in the MIDI spec to avoid ground loops... The MIDI hw and sw spec is at midi.org. Here is a good article on using midi clock ( with Arduino, but it seems to mostly focus on the midi) http://makezine.com/2008/06/03/arduino-basics-midi-clock/
  9. larryfraz

    Algorithmic synth project

    This is a simple algorithmic synthesis MSP430 hack of the little Korg Monotron ribbon synth, using CV and gate from the Launchpad through a prototype board from the 43oh store. It receives midi clock and some controllers through uart and a standard midi input circuit and jack. CV output is boosted to about 5V with an op amp, no lowpass filtering done, the gate comes off the pin directly. Directions on hacking the Monotron itself are available from many sites.
  10. larryfraz

    Algorithmic synth project

    My POTM entry. MIDI_CV.zip
  11. larryfraz

    Stellaris Drum Machine

    I'm not seeing the difference either, but just starting to go beyond the examples, myself. Good luck!
  12. larryfraz

    Stellaris Drum Machine

    Thanks, I'll check. gonya707--With Tiva or a Stellaris? I was thinking of doing the same just to have a 'new' drum box...
  13. larryfraz

    Stellaris Drum Machine

    Hmm. only on reset. I'm just trying to flash the .bin with lm4flash, which works with project0.?
  14. larryfraz

    Stellaris Drum Machine

    New to Tiva and gcc, but have gotten it to build and load...but no nice LM-1 sounds out of it yet! Not sure where to look for the prob at this point. any tips?
×