Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Burly

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    61

    Possible error in wav2sketch.c on GitHub

    Hi Paul,

    In wav2sketch.c on GitHub lines 115-118 show:


    115 if (channels == 1) {
    116 if (length % 1) die("file %s data length is not a multiple of 2", filename);
    117 ...
  2. YEAH!!!! WORK'S LIKE A CHAMP!!!!! static...

    YEAH!!!!
    WORK'S LIKE A CHAMP!!!!!

    static const uint8_t PROGMEM SYNC_Table[16]__attribute__((aligned(16))) =
    {0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F,...
  3. Is there and alignment directive to align data on a 16-byte boundary?

    Hey guys...

    Is there and alignment directive to align data on a 16-byte boundary?

    I'm working with a Teensy LC.
    I've successfully used PROGMEM to store a 16-byte array in program flash...
  4. Replies
    3
    Views
    1,858

    Thanks guys... I'm not planning on using any...

    Thanks guys...

    I'm not planning on using any fancy queuing FIFO's on SPI...just plain old single byte-by-byte sending/receiving.

    So I guess I can use any I/O pin as SS/CS(slave select/chip...
  5. Replies
    3
    Views
    1,858

    Are SPI signals CS0 and CS1 meaningful?

    I have a TeensyLC.

    On the picture card included with the board, the top surface picture shows CS0 and CS1 as pins as belonging to the SPI-0 and SPI-1 Serial Peripheral Buses.

    The SPI library...
  6. Yep...I'm very pleased with my TeensyLC's.

    Yep...I'm very pleased with my TeensyLC's.
  7. OK...I've got it fixed... There is a sample...

    OK...I've got it fixed...

    There is a sample program where Arduino is installed on your C: drive.
    Program Files (x86)\arduino\examples\teensy\USB_RawHID\Basic\Basic.pde

    I shortened the sample...
  8. I'm trying to do a RAWHID test program for TeensyLC

    I'm trying to write a RAWHID program to connect a Windows10 tablet to a TeensyLC.
    I've done it successfully for both a Teensy 2.0 and Teensy 2.0+.

    But the TeensyLC doesn't work.

    There is an...
  9. Replies
    549
    Views
    226,252

    Thank's MadMatt, You're describing just how I...

    Thank's MadMatt,

    You're describing just how I thought things worked.
    I wanted to confirm because I'm about send a board design off to OSH Park...
    I didn't want any gotchas...
    The rule of thumb...
  10. Replies
    549
    Views
    226,252

    Hi Michael, I totally agree about only having...

    Hi Michael,

    I totally agree about only having one source of power.
    And I don't want to loose the ability to power strictly off of USB...so cutting the jumper is a non-starter.

    I want to either...
  11. Replies
    549
    Views
    226,252

    Three Questions: #1. The two pin header holes...

    Three Questions:

    #1. The two pin header holes marked 3.3v I assume get 3.3v output voltage from the VOUT33 pin on the processor. So these are not in any way used as input 3.3v to power the...
  12. Ok...Thanks...

    Ok...Thanks...
  13. Teensy LC....is there a way to use both SPI buses?

    I notice from the Color Picture of the pins of the Teensy LC that there are two SPI buses.
    Each bus has some Alternate Pins for the locations of MOSI, MISO, SCK, and CS.
    I'd assume any IO pin could...
  14. Neat! I used to follow that PowerPC stuff. Back...

    Neat! I used to follow that PowerPC stuff. Back in the day there was a BeOS Company that was developing a PowerPC OS and maybe got as far as an ATX motherboard. I googled Power 9 and it looks like a...
  15. Hi Paul, My Bad... I copied the objdump.exe...

    Hi Paul,

    My Bad...
    I copied the objdump.exe into the directory and ran it against the .obj.
    That's just was needed!!!
    Thanks!!!
  16. Hi Paul, Yes that would work. But it is kind...

    Hi Paul,

    Yes that would work. But it is kind of nice to have the source lines there so you know where to look. Of course when you turn on high levels of optimization (AVR on Atmel Studio 6) then...
  17. @ Michael WOW...it sounds like you are a...

    @ Michael
    WOW...it sounds like you are a contributor of the GCC code project itself!!!

    What you're explaining to me is way over my head...I know nothing about gcc at the command line level. I'm...
  18. How can I generate an assembler listing when compiling Teensy LP.

    I am switching over my development efforts from TEENSY 2.0 to TEENSY LP.

    On TEENSY 2.0 I've been using Atmel Studio 6 IDE as my development platform. In using Atmel Studio 6 I've always had...
  19. Thanks drmartin, Paul, and manitou... I guess...

    Thanks drmartin, Paul, and manitou...

    I guess you're telling me that USB Stacks are being built and loaded regardless if they are actually being used by the Sketch code. And besides that...if you...
  20. Why is my Blink program taking 11,748 bytes of flash memory?

    Hi all...noobie here...

    I'm using a Windows 7 64-bit computer. I just purchased two Teensy LC boards. I installed Arduino 1.6.12 and Teensyduino Beta 1.31. I loaded the default Blink sketch,...
  21. Teensy 2.0...what is the extra set of bottom pads for?

    There are 3 sets of empty pads on the bottom of a Teensy 2.0

    1. One set is to hold a 3.3 regulator chip.
    2. Then a series of 3 pads controls the chip voltage from 5 to 3.3 volts by cutting a...
  22. Replies
    2
    Views
    1,059

    Here's the answer to my question. You must...

    Here's the answer to my question.

    You must push the button for the bootloader to run.

    When you plug in the Teensy into the USB of a running computer, it is the Flashed Program that will run....
  23. Replies
    2
    Views
    1,068

    EXAMPLE.C The "buffer" is defined in example.c...

    EXAMPLE.C
    The "buffer" is defined in example.c on line 34.
    Line 34: uint8_t buffer[64];
    You can change it to any length up to 64. A 64 byte report buffer is the largest that a "Full Speed USB"...
  24. Replies
    2
    Views
    1,059

    Teensy 2.0 Boot Loader Question

    I have a question on how the Teensy 2.0 boot loader works.

    The data sheet for the ATmega32U4 says that there are 5 sources of reset.
    Do all these sources of reset enter the boot loader?
    Or does...
Results 1 to 24 of 24