Search results

  1. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, yes indeed this is old news but the project and project files needed to use the teensy with CW_IDE or KDS is something not many had shared with us yet. Also the step by step walkthrough is something very nice for people coming from arduino ide and trying to make it to higher end dev...
  2. M

    USB-MSD with SD-card (Teensy 3.1)

    Hello Everybody! This is a beatyful day for all you teensy 3.x lovers, looking for more versatility on this beautyful platform. Our friend Erich Styger has come up with a superb write-up on how to hack the T3 so you can use Kinetis Design Studio or CodeWarrior to program/debug your code in a...
  3. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi djsz, I cannot reply for anyone at PJRC but from my research, an arduino solution is not possible for now unless PJRC takes some time to rewrite the usb stack. There are alternatives though (which is the subject of this thread) : 1) Use the UTasker software/stack inside the compiler of...
  4. M

    Audio Library

    meh LOLS :) The internets have showed me this: http://210.61.8.67/resource-files/NAU8822LDataSheetRev_1.0.pdf Also, from previous researches, seems nuvoton was bought (or the other way around) or maybe allied with another chip maker called Winbond. Seems they have some chip in common (WAU8822...
  5. M

    Audio Library

    nuvoton is cool too I know, it's what I believe too. I've been looking around and I found that Nuvoton has a good line of codecs and really cheap too. This is only my opinion, I'm not proposing anything better that exists nor do I want this codec on a new PJRC product. We're just brainstorming...
  6. M

    ChibiOS/RTand FreeRTOS for Teensy 3.0

    stevech no I think i got it under control now, but yeah maybe it would be nice to have to the latest and greatest version 8.0.1.... To be continued. Mevon
  7. M

    ChibiOS/RTand FreeRTOS for Teensy 3.0

    For starters, here is my step one to get FreeRTOS on the Teensy3.1 : Getting and configuring the code. I took something already made by Erich Styger famous for is work MCU on Eclipse. I like the guy very much, he takes the time to reply on every comment or question post ed on the site ...
  8. M

    ChibiOS/RTand FreeRTOS for Teensy 3.0

    awesome Hi milhead, I guess we are the last one standing (like in the movie Highlander, let's not chop each others head off :P) I think there's a delay called in the init usb function inside the usb_dev.cpp but not sure, let me check for that. Also, I am really interested in NOT hijacking the...
  9. M

    Audio Library

    HINT: this one seems good and really cheap: http://www2.conexant.com/Product/Audio/usbaudio/cx20562/Pages/default.aspx http://octopart.com/dsac-l562-15ch-conexant-22005436 Mevon EDIT: but no I2S I think... crap. I like the CX20703 but it has no USB client, which may be overkill for this...
  10. M

    Audio Library

    here is something Well, if you can get your hands on some of these : http://www2.conexant.com/Product/Audio/usbaudio/cx20709/Pages/default.aspx or any other conexant codec, I think that would be a feat! Thing is, they don't deal nice with small distributors or DIY community :( Mevon
  11. M

    Audio Library

    audiophilel shield Hi everyone, Hijacking again, but regarding the audiophile shield, I have found this nice codec that is quite cheap, which is already used in an adafruit/sparkfun product, named the VS1053b. There is also the VS1063 that has more codecs inside and a full duplex audio codec...
  12. M

    Audio Library

    Boinks! http://forum.pjrc.com/threads/1156-Teensy-3-SPI-Basic-Clock-Questions Mevon
  13. M

    Audio Library

    Or maybe create an in-between object like AudioPlayQueue object that has a buffer for blocks (5 or 10 blocks, maybe 20 = 5kb is acceptable in the T3.1) and in the loop() or main() we pool to empty the queue to the SD card. That way update() done in timed ISR won't stall while waiting for the SD...
  14. M

    Audio Library

    record raw to sd card Hi everyone, so the SD library is too slow to write an audio block while doing the update(), received blocks on I2S are missed and glitches in the sound are appearing. What would be better here? Add some kind of double buffering in the InputI2S object or have a FIFO for...
  15. M

    Audio Library

    So it seems having a faster sd card takes more time to write data on it then with a crappy class4 card... Not writing to the SD card "eliminates" the glitches (I would write all the bytes theoretically as opposed to missing 100k of data when I actually do the writes on the card). Im looking for...
  16. M

    Audio Library

    Or can the led (pin 13) on the I2S0_RXD pin cause a latency that causes some packets to be dropped at 44100Hz sampling? Mevon
  17. M

    Audio Library

    i2s input to sd raw trouble seems in the InputI2S where it cannot take update responsibility if an OutputI2S is not created in the begin() of InputI2S object: // TODO: should we set & clear the I2S_RCSR_SR bit here? AudioOutputI2S::config_i2s(); To me, it seems InputI2S and OutputI2S are...
  18. M

    Audio Library

    also seems the block size when I reformat the sd card has something to do. I guess it helps when the block size is larger so less time is spent writting blocks on the sd card. please help me, :S Mevon
  19. M

    Audio Library

    I tried with a platinum II sdhc uhs-i class10 200x 30mb/s 8go card and it seems it's only making it worst. Somehow, my sampling is faster then the 44.1kHz and is worst when the sd card has faster capabilities. I am assuming that the OutpuI2S or InputI2S is taking responsability for updating all...
  20. M

    Audio Library

    raw audio to sd card Hello, with no means to hijack this thread, I have been working on a AudioRecordSdRaw class and so far my progress has been good. I use a different CODEC then the teenst audio board but it works in the same way. I am experiencing a little discomfort in the hearing region...
  21. M

    ChibiOS/RTand FreeRTOS for Teensy 3.0

    somehow adding these lines : extern void xPortPendSVHandler( void ) __attribute__ (( naked )); extern void xPortSysTickHandler( void ); extern void vPortSVCHandler( void ) __attribute__ (( naked )); made compiling possible but nothing is happening.. must be that elusive delay() at the end of...
  22. M

    ChibiOS/RTand FreeRTOS for Teensy 3.0

    Hi milhead, I tried the "recipe" on the other blog and didn't work for me. Somehow the changes in the vector table give me these errors: Arduino: 1.0.5-r2 (Windows 7), Board: "Teensy 3.0" C:\Program Files (x86)\Arduino\hardware\teensy\cores\teensy3\mk20dx128.c:182:2: error...
  23. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, Wonderful work you guys do in the Kinetis community and trying out the KDS I find it's missing the "Commander" tab and some easy way to "Import from existing projects/examples". But you know seems the Hex generation is build-in in the Project Properties -> C/C++ Build -> Settings ->...
  24. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, Yes I installed the KDS last friday but I have to say I'm a little deceived by the product :( Maybe it's just me but I didn't see any difference with the CW IDE. I was probably expecting too much and like I said maybe it's just that I didn't find the part where the "Design" was all...
  25. M

    USB-MSD with SD-card (Teensy 3.1)

    Hey about the "mass erase" feature, I'm seeing "mass_erase_kinetis.tcl" files in the Debugger folder of some projects, and oddly enough, not in the K20 projects folder. Is it something the flash probe itself does and the option is not available on all probes (like segger or PnE), or it is really...
  26. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, From what I'm seeing, seems to be the difference between using Arm C toolchain or Arm GCC toolchain. In a project which uses "Arm Ltd Windows GCC C Linker", I don't have an "Output" option in the Linker tab. In the bare metal project examples given with the 4.1.1 Freescale usb stack...
  27. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, Nice I will look into this too! Now here is where I'm at, the PEx and CW MCU 10.6 are working fine but I was planning to use the Teensy Loader to test out my T3 code I generated but I was fumbled by the srec vs ihex conundrum. Seems everywhere I look, CW MCU is supposed to be able to...
  28. M

    Anyone using Eclipse for development?

    Hi everyone, I didn't check into the Arduin Eclipse Plugin too much yet, but can anyone here tell me if the HEX files needed for the Teensy loader is Motorola or Intel (s-rec vs intel hex)? Thanks, Mevon
  29. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Steve, Yeah I know I was silly :P CW IDE is ok, I'm using the 10.6 and submitted for the new Kinetis Designer Studio http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KDS_IDE&fpsp=1&tab=Design_Tools_Tab which is in beta right now. I just hope I don't get busted in 30 days after...
  30. M

    USB-MSD with SD-card (Teensy 3.1)

    Hello Mark, Overwhelming this uTasker, as usual! I've been trying to look into this example of the delay line you mentioned, but can't seem to find it anywhere in the files. I've looked into the forum and found a note in the uTasker 1.4.3 release but again no file or code. I got the...
  31. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, All this is so interesting! And what a journey it is to dive into micro controller world in 32 bits! I mean I learned on Motorola 6809 and boy, 1 Mhz was so fast back then, learned everything I had to know about "computers", access RAM, data bus, etc. all made on wire wrap boards...
  32. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, Thanks again for replying, I find this very educative. I was trying to solve the T3 USB MSD + SD card "trouble" (or solution) where everyone could use it from the Arduino environment. Now I understand a bit more what bootloaders are and really do. I guess I need to keep digging...
  33. M

    USB-MSD with SD-card (Teensy 3.1)

    Good day Mark, So to put this in perspective, if I was to use your USB MSD + SD card bootloader, to have my additional functions or bits of code to work with the bootloader, I would have to use the complete project of the said bootloader and recompiled with my added code to have it all running...
  34. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, I've been reading a lot lately on project creation using CodeWarrior but I think my next question could be applied to any other IDE (Eclipse based or not I assume) : What is the difference between FLASH and RAM based project? I was thinking that normal projects should be build for...
  35. M

    USB-MSD with SD-card (Teensy 3.1)

    Many more answers here : http://www.utasker.com/docs/KINETIS/uTasker_CodeWarrior10.pdf Thanks Mark
  36. M

    USB-MSD with SD-card (Teensy 3.1)

    Most useful PDF ever : http://www.utasker.com/docs/uTasker/uTaskerV1.3_user_guide.PDF Thank you Mark!
  37. M

    USB-MSD with SD-card (Teensy 3.1)

    Lulz duff, he already has ;P and yeah maybe I'll start a thread over there because here it is becoming less related to the subject. But still, I find it's a great exercise for everyone like me who got stuck to fact that Teensy 3 unlike Teensy 2, doesn't have a bootloader (yet... maybe I'll...
  38. M

    USB-MSD with SD-card (Teensy 3.1)

    This is a good day, I feel like I was bouncing of the walls and somebody finally opened a light. Mark, I see your project structure is really simple and helps to understand the CodeWarrior IDE and not having the Processor Expert makes me less uneasy too. I was thinking of getting a FRDM board...
  39. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, I find the more I look in the documentation on your site and more I understand what I didn't understand last week. I was thinking that your stack was a bit overkill for my application (website server, tcp/ip, etc.) but then again I was looking to maybe extend in a much further future...
  40. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, I just got my registrations for the uTasker and see you recommend MS VS Express in the link you posted here and in the documentation given on your website. It might help me understand furthermore what is needed for a basic project and how to add some more into it. I see also I asked a...
  41. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, Again and again, I cannot thank you enough. I know my objectives are maybe too high or unclear, but one thing I am looking to do is build a project and just trying to know where to add my work so I can go on with my design. So, if the PEx is building everything under cover and nothing...
  42. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, Thank you again for taking this time with us. Here is where I'm at now : got the same "white page" syndrome that I had with the Eclipse setup I had before installing CodeWarrior. Seems like I can create a project, get the Processor Expert to configure some parts of the CPU but then I...
  43. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, Again I cannot thank you enough for your responses, I think I'll go with CodeWarrior which gets better updates (10.5 vs 10.3) then the Eclipse Plug-in now. I think I can manage to integrate the arduino libraries easily in CW, to be honest it was my next step if I couldn't get the...
  44. M

    USB-MSD with SD-card (Teensy 3.1)

    Interesting, Thank you for the reply but can the Atmel Studio be used with Freescale products? I mean for me right now, downloading the hex file can be done with the Teensyduino, but after Im done developing, I plan using a JTAG probe for the firmware upload. I guess what you're saying is that...
  45. M

    use teensy 3.0 as mass storage with micro SD from USB

    Hi everyone, Please follow this thread, maybe I can get somewhere where I can find a solution with the Teensy 3/3.1 and Freescale USB Stack + Processor Expert inside Eclipse. http://forum.pjrc.com/threads/25367-...d-(Teensy-3-1) Thank you, Mevon (Sorry for spamming)
  46. M

    Teensy USB options 1. Mass storage device, 2. USB pass through?

    Hi everyone, Please follow this thread, maybe I can get somewhere where I can find a solution with the Teensy 3/3.1 and Freescale USB Stack + Processor Expert inside Eclipse. http://forum.pjrc.com/threads/25367-...d-(Teensy-3-1) Thank you, Mevon (Sorry for spamming)
  47. M

    Teensy 3, SD - Mass storage

    Hi everyone, Please follow this thread, maybe I can get somewhere where I can find a solution with the Teensy 3/3.1 and Freescale USB Stack + Processor Expert inside Eclipse. http://forum.pjrc.com/threads/25367-USB-MSD-with-SD-card-(Teensy-3-1) Thank you, Mevon
  48. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi Mark, Thanks again for your reply. Thing is, what I see from other posts, people are looking for arduino based solutions. From what I understand from your post is that you are not using the arduino IDE nor the arduino libraries, you must be using IAR, Keil, or Other Toolchains and IDE, kind...
  49. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi everyone, I guess it was an easy feature when the teensy was still avr and the LUFA firmware was readily available in arduino.. Down the rabbit hole again, I will try to get something like whats on this post going to try and maybe succeed ...
  50. M

    USB-MSD with SD-card (Teensy 3.1)

    Hi PJRC community, I really like the teensy and this USB-MSD with SD card is exactly what I need to implement right now. I have been looking for a way of having this application through Freescale Processor Expert and, for those interested in the topic (off topic here) there is a nice tut out...
Back
Top