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

Search:

Type: Posts; User: MultipleMonomials

Search: Search took 0.00 seconds.

  1. OK! I added the MAC address code and confirmed...

    OK! I added the MAC address code and confirmed that it's reading the OTP MAC addr correctly. I also figured out what's up with the TLS socket example; once this patch is merged it should work...
  2. Ooh yeah good point about the MAC address! I'll...

    Ooh yeah good point about the MAC address! I'll add that to the pull request shortly.

    Unfortunately, Mbed OS currently does not support USB host mode in any shape or form. It's a bummer, I know,...
  3. Yeah, that's what I get too, and I do see it on...

    Yeah, that's what I get too, and I do see it on the 1050 EVK as well. I can try to debug through it in the next couple days, it looks like it's dying in the ASN.1 parse function?
  4. Exciting news! I have spent the last couple days...

    Exciting news! I have spent the last couple days working on a Teensy 4.1 port, including Ethernet support, and have just about got it running! I am able to send and receive packets on the network,...
  5. As an update, I went ahead and merged the latest...

    As an update, I went ahead and merged the latest USB fix into mbed-ce master branch, so you won't need to use any special branches anymore.

    The next thing I want to do is add upload method...
  6. AHA! I just made a major step forward. Using...

    AHA! I just made a major step forward. Using this branch, I can now get the USB device to enumerate. It still cannot print text, but it's a lot closer to working. Turns out that I goofed when I...
  7. I checked in the debugger on my dev kit. The...

    I checked in the debugger on my dev kit. The line


    handle->deviceCallback(handle, kUSB_DeviceEventBusReset, NULL);

    goes to


    usb_status_t USBPhy_DeviceCallback(usb_device_handle handle,...
  8. Paul, thank you for the debugging help! Much...

    Paul, thank you for the debugging help! Much appreciated. I did a bit of checking and figured out how to put together the setup that you need. First, change mbed_app.json to disable USB and enable...
  9. wwatson, I think you might have had an issue with...

    wwatson, I think you might have had an issue with checking out the latest master branch. I can see that that line is fixed in the GitHub repo here. Try this (from the mbed-ce-hello-world...
  10. Create a pull request compiling all the fixes...

    Create a pull request compiling all the fixes found so far: https://github.com/mbed-ce/mbed-os/pull/130
  11. You downloaded it from here...

    You downloaded it from here right? If so I'm not really sure what's up, the only thing I can think of is that it's a false detection and you'll need to either add an exclusion for that file or get a...
  12. Does it say something like "Windows SmartScreen...

    Does it say something like "Windows SmartScreen has protected your PC"? If so, there's a hidden button on that dialog that allows you to proceed. I think you have to click More Info first.
  13. Update: Also added in teensy model identifier to...

    Update: Also added in teensy model identifier to the linker script.

    Also, I did some more checking, and you guys are right. The CMake code I posted for setting the optimization level doesn't...
  14. Aha! I solved the mystery with the core clock. ...

    Aha! I solved the mystery with the core clock. Turns out someone changed the generated clock_config.c file, so the comments were no longer accurate. The punch line is, they didn't even do it...
  15. Being really honest, I'm not sure I'll be able to...

    Being really honest, I'm not sure I'll be able to make much headway on the USB issue anytime soon. While I have experience with many MIMXRT peripherals and with Ethernet (will try and port the...
  16. In CMake, optimization is controlled by the...

    In CMake, optimization is controlled by the CMAKE_BUILD_TYPE variable. There are three types available in Mbed OS:


    Debug, which builds with no optimizations and enables debug symbols
    ...
  17. This is an awesome guide! Want me to give you...

    This is an awesome guide!

    Want me to give you edit access to the Mbed wiki so you can improve the instructions there?
  18. > Needed thew space before the '=' operator. ...

    > Needed thew space before the '=' operator.

    Oops, pushed a fix! Odd, that worked with whatever version of ld I have...

    > The Ninja build command is not automatically being run. I have to run...
  19. Aha! I was able to reproduce and diagnose a...

    Aha! I was able to reproduce and diagnose a crash when activating BufferedSerial on pins D1 and D0 using my MIMXRT1050 dev kit. It turns out that, for some reason, the original Mbed port didn't...
  20. Ah, I figured out the mystery of the ncache...

    Ah, I figured out the mystery of the ncache initialization crashing. Turns out that you were right, that section specifically was still being put into the SEMC due to some weird linker script...
  21. > tried PwmOut test on D12 -- i get the "mbed...

    > tried PwmOut test on D12 -- i get the "mbed dead" blink pattern

    Oh I know what's causing that, looks like the original Mbed port for the dev board didn't include a mapping for that pin, because...
  22. What I would like to try is, edit mbed_app.json...

    What I would like to try is, edit mbed_app.json in the hello world project and change it to:


    {
    "target_overrides": {
    "*": {
    "platform.stdio-baud-rate": 115200,
    ...
  23. Awesome work, guys! Great to hear that it is...

    Awesome work, guys! Great to hear that it is booting, maybe a JTAG won't be needed after all. I completely forgot that Mbed's fault handler also has an 8 blink pattern <facepalm>.

    >...
  24. The only thing I did notice is, the Teensy...

    The only thing I did notice is, the Teensy bootdata.c file has this:


    const uint32_t ImageVectorTable[8] = {
    0x432000D1, // header
    (uint32_t)&Reset_Handler,// program entry
    0, //...
  25. Hmm, I took a look through the boot stuff in the...

    Hmm, I took a look through the boot stuff in the hex file (IVT + flash config + vector table) and I didn't see anything that screamed out at me as being wrong. Addresses for various things match the...
  26. Thanks a ton for giving it a shot, guys! Home...

    Thanks a ton for giving it a shot, guys! Home from work now so I will check this out.

    > Seems like the mbed T4.0 code is derived from the 1050

    Yep, that's correct. It's based on Mbed's 105x...
  27. [Testers Needed] Mbed OS Port for Teensy 4.0

    Hello! I'm Jamie, one of the developers of Mbed OS Community Edition. We are working on a port of Mbed OS for the Teensy 4.0 (and soon, Teensy 4.1) boards, and I need help from someone who owns a...
Results 1 to 27 of 27