Jump to content
43oh

larryfraz

Members
  • Content Count

    27
  • Joined

  • Last visited

Everything posted by larryfraz

  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
  2. 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. 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. 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. 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-se
  6. @@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. @brownfox: So did Rakshit, and I get the same results. not using energia, but the code at top w/gcc cross-compiler.
  8. 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. 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. I'm not seeing the difference either, but just starting to go beyond the examples, myself. Good luck!
  11. Thanks, I'll check. gonya707--With Tiva or a Stellaris? I was thinking of doing the same just to have a 'new' drum box...
  12. Hmm. only on reset. I'm just trying to flash the .bin with lm4flash, which works with project0.?
  13. 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?
  14. No,but here's a link. It's doing the fast line that comes in 30 seconds or so in.-- http://t.co/BkjF98sMcS Also here, with other synths. Its driving a Korg Monotron in both. --- https://soundcloud.com/zadok-strawberry/fauxtrane-et-al-1
  15. A very simple, probability table ascending melodic line CV generator #include <msp430g2553.h> /* output arpeggio of notes to a randomized beat pattern gate turns off for last 1/4 of duration of note beat is fixed at 120 ToDo: add midi in for clock redo rnd() with seed value& algorithm, not just a table */ #define CLOCKHZ 16000000 #define nNotes 24 #define BUTTON BIT3 #define BPM 120 #define TICKS_PER_BAR 32 #define BEAT_PER_SECOND BPM/60 #define MAX_MIDI_CHANNELS 16 #define MAX_POLYPHONY 8 unsigned char notes[MAX_POLYPHONY] = {0}; unsigned char note_index; static const in
  16. Was going to add this to make up 5 projects, now I'm just entering it! :thumbup: The 'Lucy' LP PWM midi synth.... http://forum.43oh.com/topic/2741-2-osc-pwm-midi-synth/
  17. #include <msp430g2553.h> #include "uart.h" #define CLOCKHZ 16000000 / 8 #define nNotes 12 //Lucy Lo-Res PWM Audio Synthesizer // By Larry Frazier, based on code by NatureTM, 43Oh group // Poly not implemented, but this is how // many notes can be hit at the same time // without forgetting the first #define MAX_POLYPHONY 5 #define MIDI_CHANNEL 0 // MIDI is 1-indexed so setting this to 0 is midi channel 1 #define USI_COUNTER_LOAD 16 // Synth variables unsigned int periodSetting = 61156; unsigned int osc2Period; unsigned int osc2Delta = ((61156)>>12); unsigned int osc2Diff
  18. Here's a new clip of Lucy I think I got some noob luck with this and may enter it in POTM!? Lucy.brd image:
  19. Got the synth working with HW UART, Also added an attack control,and osc3 detune, as well as an LFO. Link is above! perspectivesound[dot]blogspot com.
  20. I made schoolboy mistakes...this is ok.(?) void uart_init(void) { uart_set_rx_isr_ptr(0L); P1SEL = RXD + TXD; P1SEL2 = RXD + TXD; UCA0CTL1 |= UCSSEL_2; // SMCLK==4mhz UCA0BR0 = 8; // DIVIDES SMCLK = 31250 = MIDI SPEC w/UCOS16 oversample UCA0BR1 = 0; // UCA0MCTL = UCBRS0 + UCOS16;// + ~UC7BIT ; // Modulation UCBRSx = 1 UCA0CTL1 &= ~UCSWRST;// + ~UCMSB; // Initialize USCI state machine IE2 |= UCA0RXIE; // Enable USCI_A0 RX interrupt }
  21. I didn't have any luck with the diode and a V900 opto. I'm trying to get UART going, but the only valid data it sees is Ox80 ----note off. I may just be getting garbage, but thats the only valid control byte the prog sees! Any pointers to how to set that up right are very welcome. I am a noob, sorry if its too obvious. [quote]void uart_init(void) { uart_set_rx_isr_ptr(0L); P1SEL = RXD + TXD; P1SEL2 = RXD + TXD; UCA0CTL1 |= UCSSEL_2; // SMCLK==4mhz UCA0BR0 = 32; // DIVIDES SMCLK BY 128/16 = 31250 = MIDI SPEC w/UCOS16 oversample UCA0BR1 = 0; // UCA0MCTL = ~UCBRS0
  22. Link should be fixed now ...I seem to have had better luck from my DAW than the kbd...
  23. Ok-- posted my current code. Three osc now. Messy code, I know, but it leaves room for playing with, I hope!
×
×
  • Create New...