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

Search:

Type: Posts; User: poxyran

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    992

    Debug Teensy code

    Hi!,

    I would like to know if there is a way to debug the code running inside Teensy++ 2.0/3.0 in the same way I debug code, for example, using GDB.

    Thanks!
  2. Replies
    10
    Views
    4,019

    Well, finally the demo is working. I don't know...

    Well, finally the demo is working. I don't know which was the error but I plugged in a VMware and worked!. Maybe some update, or something in the driver is different in my physical machine. I really...
  3. Replies
    10
    Views
    4,019

    Hi Paul!, me again. I'm still having some...

    Hi Paul!,

    me again.

    I'm still having some problems with this demo.

    With the changes I mentioned before, the RNDIS device is recognized by the OS and a new network adapter is shown in the...
  4. Replies
    10
    Views
    4,019

    No Paul, no answer. Maybe the project is dead or...

    No Paul, no answer. Maybe the project is dead or something like that?.
  5. Replies
    10
    Views
    4,019

    Well, setting F_CPU parameter to 16000000 fixed...

    Well, setting F_CPU parameter to 16000000 fixed the problem. Now, the device is recognized!.
  6. Replies
    10
    Views
    4,019

    @paul: the makefile of the rndis project included...

    @paul: the makefile of the rndis project included in LUFA has a parameter named F_CPU. The docs say: This parameter indicates the target microcontroller's main CPU clock frequency, in Hz. This is...
  7. Replies
    10
    Views
    4,019

    Btw, is the code from LUFA the only available on...

    Btw, is the code from LUFA the only available on how to "use" RNDIS on a micro-controller?. I didn't find much information about this. All the references point to LUFA-only code.

    Btw, I only have...
  8. Replies
    10
    Views
    4,019

    Hi Paul!, as always, thanks for the answer. ...

    Hi Paul!,

    as always, thanks for the answer.

    Well, the "tail -f /var/log/syslog" command does not say anything related to the teensy nor the "lsusb -v". There isn't any descriptor related to...
  9. Replies
    10
    Views
    4,019

    Problems with Teensy++ 2.0 and LUFA

    Hi!,

    I want to start a project based on one of the examples included in LUFA but I'm having some troubles making it work with my Teensy++ 2.0.

    The specific example is the RNDIS Demo.

    What...
  10. Hi Paul!, thanks for taking time to answer!....

    Hi Paul!,

    thanks for taking time to answer!.

    I'll play a little bit with those arrays to see if I can trigger the specific code.

    Btw, what do you use to sniff the descriptors?. Currently,...
  11. Teensy, USB and Extended Configuration Descriptor

    Hi All,

    taking into account the advices that @PaulStoffregen gave me in my first post, I'll try to explain in details what I'm trying to do.

    Using a Teensy ++ 2.0 I'm trying to write a program...
  12. Replies
    3
    Views
    1,636

    Hi goofie, I assume you mean "Download and...

    Hi goofie,

    I assume you mean "Download and Execute a binary". Maybe you have to take a look at SET (Social Engineering Toolkit): https://github.com/trustedsec/social-engineer-toolkit

    This is...
  13. Replies
    19
    Views
    5,092

    @PaulStoffregen: Sorry for revisiting this thread...

    @PaulStoffregen: Sorry for revisiting this thread after a long time. I want to give you an answer about what you wrote just because you took time to write and intend to give me something to think.
    ...
  14. Replies
    19
    Views
    5,092

    Oh! ok. But, as I said, I can't modify the host,...

    Oh! ok. But, as I said, I can't modify the host, just to fake a device. I already did that but just for debugging purposes.
  15. Replies
    19
    Views
    5,092

    @wwg: can you give me an example of how to do it?...

    @wwg: can you give me an example of how to do it? I don't get it. On the linux side I can't touch anything, the only thing I can do is to fake usb device (using teensy) with a report_id greater than...
  16. Replies
    19
    Views
    5,092

    Yes, that's what I thought at the very beginning....

    Yes, that's what I thought at the very beginning. All the sample codes I saw treated the report id as a uint8_t but then I saw that patch in the linux kernel and I got lost. So, then, that patch in...
  17. Replies
    19
    Views
    5,092

    Thanks for the answer. As you pointed me in a...

    Thanks for the answer. As you pointed me in a previous post, there weren't 8-byte limitation at the other end, hid-core.c (the hid driver in linux) so I suppose I must find a way to fix this code or...
  18. Replies
    19
    Views
    5,092

    Well, the gamepad_hid_report_desc[] is referenced...

    Well, the gamepad_hid_report_desc[] is referenced in the descriptor_list struct at line 261 in the usb_gamepad.c and then used in the ISR() function at line 443 in the same file.
  19. Replies
    19
    Views
    5,092

    Thanks!. Then, I have the following USB HID...

    Thanks!.

    Then, I have the following USB HID descriptor (taken from https://github.com/johnburkert/YeOldeJoystick/blob/master/ps3_gamepad/usb_gamepad.c) with a slight modification (just added the...
  20. Replies
    19
    Views
    5,092

    I understand that, but my question is: can I...

    I understand that, but my question is: can I declare a report_id as uint16_t or the report_id field MUST be an uint8_t?. If so, then, the patch I posted has no sense because report_id is always...
  21. Replies
    19
    Views
    5,092

    I'm looking at this bug CVE-2013-2888:...

    I'm looking at this bug CVE-2013-2888: http://marc.info/?l=linux-input&m=137772180514608&w=1
  22. Replies
    19
    Views
    5,092

    REPORT_ID greater than 256?

    Hi,

    I'm trying to reproduce a bug and I want to know if it is possible to have a report_id greater than 256 taking into account that the report_id field is declared as a uint8_t.

    Thanks.
  23. Replies
    1
    Views
    1,351

    Multi-device code example for teensy++ 2.0

    Hi!, i'm new with teensy and micro controllers in general. I was looking at the code examples in the teensy website (mouse, keyboard, hid, blink) but I would like to know if it is possible to mix two...
Results 1 to 23 of 23