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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    447
    Views
    5,866

    @Paul - There appears to be an issue in the...

    @Paul - There appears to be an issue in the imxrt.h file... Not specific to MicroMod.

    Not sure best way to fix as associated with the GPIO structures...
    That is we have:

    // 12.5.1: page 961...
  2. Replies
    447
    Views
    5,866

    Hi Mike, yep as I mentioned in the commit - it...

    Hi Mike, yep as I mentioned in the commit - it sort of walks through the screen a couple of times and then settles.

    Will investigate. Right now playing with speeding up the VSYNC interrupt to see...
  3. Replies
    447
    Views
    5,866

    @mjs513 I am creating another branch working on...

    @mjs513 I am creating another branch working on DMA stuff (later for PR)...

    Looks like made similar changes to what you did since then in DMA callback in sketch (last use of that buffer)... Missed...
  4. Replies
    447
    Views
    5,866

    Just an FYI- These days mostly avoid these issues...

    Just an FYI- These days mostly avoid these issues of compiling for wrong board, as mostly work/build within sublime text and most of the time now using projects.
    So for example in the test3 test...
  5. Replies
    447
    Views
    5,866

    @mjs513 Not a problem... Question, as I start...

    @mjs513 Not a problem...

    Question, as I start testing a couple of the ideas from yesterday for continuous DMA, should I work with testv2 or move on to testv3?

    Also question to self (and maybe...
  6. Replies
    447
    Views
    5,866

    Morning all, Not fully awake yet, nor had...

    Morning all,

    Not fully awake yet, nor had coffee,

    We need to go through and maybe remove several of those buffers. Especially the uint16_t one that may not be used anymore as we don't convert...
  7. Replies
    447
    Views
    5,866

    :D looks like you beat me to it! :D At times...

    :D looks like you beat me to it! :D

    At times still wonder if we should cleanup something like it, sort of like DMAChannel such that sketches who just want to use something like an extra serial...
  8. Replies
    447
    Views
    5,866

    @Paul - Taking a quick look through your FlexIO...

    @Paul - Taking a quick look through your FlexIO configuration and DMA. It is kooks like Greek to me :D

    The first thing I wonder and may try. It looks like you are using Shifter 3?

    Then I...
  9. Replies
    447
    Views
    5,866

    :D - Yep - decided to go ahead and merge it in as...

    :D - Yep - decided to go ahead and merge it in as it works better than before and wanted to do it before it became harder to merge.
  10. That branch relies on my USBHost_t36 library...

    That branch relies on my USBHost_t36 library updates. Which is still in waiting on a Pull Request back to the main one.
    It is off of my Fork/Branch:...
  11. Replies
    447
    Views
    5,866

    @mjs513, I see a few different options: a)...

    @mjs513,
    I see a few different options:

    a) don't disable the DMA... In theory if I am totally in sink, the next DMA operation (when PCLK) triggers should be at the start of the next frame. May...
  12. Replies
    447
    Views
    5,866

    It is in my library I was working on long ago......

    It is in my library I was working on long ago... Maybe to integrate some parts at some point.
    https://github.com/KurtE/FlexIO_t4

    I believe it is in the flexSerial.cpp
  13. Replies
    447
    Views
    5,866

    Playing a little more, I brought over my Frame...

    Playing a little more, I brought over my Frame info function to get an idea of what maybe is different... Pushed up to my dma_merge_fixes.

    Here is information printed when SPARKFUN:

    converged!...
  14. Replies
    447
    Views
    5,866

    Paul, I will read more of your comments in a...

    Paul,

    I will read more of your comments in a bit... Other distractions going on.

    With VSync - I was wondering if I was starting too late, or maybe VSync interrupt not being serviced fast...
  15. Replies
    447
    Views
    5,866

    @mjs513 sorry I have been a bit distracted today....

    @mjs513 sorry I have been a bit distracted today. Still hacking DMA...
    Pushed up branch dma_merge_fixes which updated the DMA code not to hang.
    Plus added a command 'D' which does like 'd' except...
  16. Replies
    447
    Views
    5,866

    @all just pushed the WIP stuff for DMA up to new...

    @all just pushed the WIP stuff for DMA up to new branch dma_full_sensor

    Still not fully working with the full frame 324x244 things are out of sync... Will play a little more, will pull most out...
  17. Replies
    447
    Views
    5,866

    :o ;) - That way I can pack up my bags and go...

    :o ;) - That way I can pack up my bags and go home :D

    Will stash my changes in holding area and probably expunge.

    Edit: Forgot to mention, it is working on my ILI9341...
  18. Replies
    447
    Views
    5,866

    Maybe Reset Pin? I will switch back over.

    Maybe Reset Pin? I will switch back over.
  19. Replies
    447
    Views
    5,866

    Morning All, Will have to play... I did/do...

    Morning All,

    Will have to play... I did/do have DMA with FlexIO when making a Serial port, for doing RX in the background. May have to compare.

    Also once FlexIO is working wonder if we/I...
  20. Replies
    447
    Views
    5,866

    I am playing with the DMA code some more. I put...

    I am playing with the DMA code some more. I put in new command 'f' - read in one frame using DMA and then output it...
    It verified that the data in the frame is not coming back correctly. So...
  21. Replies
    447
    Views
    5,866

    @mjs513 yes probably the same, simply update some...

    @mjs513 yes probably the same, simply update some of the names and the like

    I pushed the changes up to github in my char_bounds branch, which is now part of the current Pull request back to Paul:...
  22. Replies
    447
    Views
    5,866

    I have a version that builds with the...

    I have a version that builds with the writeRect8BPP (as well as 4 2 1 and N)


    So may need to grab adafruit display and try it.
  23. Replies
    447
    Views
    5,866

    Afternoon all (I think), Been outside playing...

    Afternoon all (I think),

    Been outside playing (Planting Peas...)

    I have not fully resolved the DMA stuff yet.

    FYI - I pushed up a WIP of my FlexIO test code... Will test out some of my...
  24. Replies
    447
    Views
    5,866

    Thanks, was wondering if you somehow hooked up...

    Thanks, was wondering if you somehow hooked up using the board you showed in the post: https://forum.pjrc.com/threads/66771-MicroMod-Beta-Testing?p=276171&viewfull=1#post276171
    that you tried with...
  25. Replies
    447
    Views
    5,866

    @Paul - looks like you are making good progress...

    @Paul - looks like you are making good progress with it. Does your wiring do anything special? Or did your board just breakout the pins of the ribbon?

    @mjs513 not much progress yet with DMA......
  26. Replies
    447
    Views
    5,866

    @mjs513 - you might push up what you have, either...

    @mjs513 - you might push up what you have, either in main or some temporary branch and I will take a look.

    Could be several things like: maybe I am not responding quick enough for the VSYNC to...
  27. Replies
    28
    Views
    1,097

    With the HiLow test, I don't see you actually...

    With the HiLow test, I don't see you actually trying to run a probe from either 3.3v or GND depending on which way, and touch other side to a pin.

    Note: you need to hit enter to change modes. ...
  28. Replies
    447
    Views
    5,866

    @mjs513 - I never went through to see how...

    @mjs513 -

    I never went through to see how many rows we ignored. Will be obvious when I can hook up LA to it... Or could write some extra code, probably like you did.
    I did find out about the...
  29. Replies
    28
    Views
    1,097

    Sorry to hear that. Again I would still be...

    Sorry to hear that. Again I would still be tempted to maybe post a picture of it, and probably double/triple check wiring.
    If it were me, I would probably run something like what I call the HiLow...
  30. You would need to edit the section that looks...

    You would need to edit the section that looks like:

    while (sd.exists(fileName)) {
    if (fileName[BASE_NAME_SIZE + 1] != '9') {
    fileName[BASE_NAME_SIZE + 1]++;
    } else if...
  31. Replies
    447
    Views
    5,866

    Good question/point! As mentioned by Frank, he...

    Good question/point! As mentioned by Frank, he did increase the refresh rate to a higher speed.

    As I mentioned in the previous post, the question is how much time to take to polish some of this...
  32. Replies
    447
    Views
    5,866

    Hi Paul, With the DMA stuff I found I needed...

    Hi Paul,

    With the DMA stuff I found I needed to ignore 4 pixel clocks per HSYNC. I do it at the end of the row, not sure if best to split? Or not.

    Keep meaning to update my internal FlexIO...
  33. Replies
    447
    Views
    5,866

    I know typically can not push it much especially...

    I know typically can not push it much especially over jumper wires.

    If we really need to get it faster... We probably need a setup where camera and display are plugged in.

    But not sure at...
  34. Replies
    447
    Views
    5,866

    @mjs513 - Those values appear to work nicely. ...

    @mjs513 - Those values appear to work nicely. Wonder if it is the DMA or the update to the screen or???

    That is can the ILI9341 display display 60 full frames per second?
    That is assuming 0...
  35. Sorrry, I am not sure I can give you a complete...

    Sorrry, I am not sure I can give you a complete list of projects, that use the USB Host, but off the top of my head here are a few devices and the like that we have code support for:

    Simple HID...
  36. Hopefully Paul or someone who uses Linux and...

    Hopefully Paul or someone who uses Linux and Makefiles a lot can give you a decent answer.

    If I were wanting to do this, I would probably tend to have sort of recursive makefiles. That is for...
  37. Replies
    447
    Views
    5,866

    Sort of a random question/observation, not just...

    Sort of a random question/observation, not just tied to MM but all T4.x...
    How best to put infrequently used tables with stings into flash memory so it does not eat up ITCM space....
    I wanted a...
  38. Replies
    447
    Views
    5,866

    @mjs513 - I pushed the current stuff as a PR so...

    @mjs513 - I pushed the current stuff as a PR so you can play along also....

    Also forgot to mention, made the build with SerialUSB1 optional, if you use the command that needs USB1 it will print...
  39. Replies
    447
    Views
    5,866

    Good morning again, Playing with sketch in new...

    Good morning again,

    Playing with sketch in new branch: dma_frame_8bit, where I removed the conversion from 8 bits to 565 in the DMA code and instead returned the 8 bit frame data, which to display...
  40. Replies
    447
    Views
    5,866

    Namespace makes sense... MMODPIN::D0 or whatever...

    Namespace makes sense... MMODPIN::D0 or whatever your namespace is called would make it convenient for C++.
    There may still be issues for users like: Serial2 is actually on pins marked like I2S SDO...
  41. Replies
    447
    Views
    5,866

    Morning all, Looks like all are still having...

    Morning all,

    Looks like all are still having fun. Wondering with my DMA stuff, for the heck of it, I converted the one byte data into 565 format like @mjs513 code was doing external for single...
  42. Replies
    447
    Views
    5,866

    OK I pushed up a PR to you. Still not 100% but at...

    OK I pushed up a PR to you. Still not 100% but at least it is showing signs of seeing full DMA image.

    We may still want to combine buffers. Like you have that new double one. I have double as...
  43. Replies
    447
    Views
    5,866

    I have a DMA version that is actually showing the...

    I have a DMA version that is actually showing the images, Right now try to rebase, hopefully not totally screw up)... Made copy before trying.

    Note it builds again, I had several conflicts, but...
  44. Replies
    447
    Views
    5,866

    Wonder if maybe there should be a different mode?...

    Wonder if maybe there should be a different mode? And/Or simply remove the grayscale test?
  45. Replies
    447
    Views
    5,866

    @pretty cool, sure does look like it would make...

    @pretty cool, sure does look like it would make things easier to debug!
  46. Replies
    447
    Views
    5,866

    @mjs513 - I was about to edit my response, and...

    @mjs513 - I was about to edit my response, and noticed you had edited yours.

    I was going to mention, that you might be able to use the other way, if you do something like SD.sdfs.open(...)
    I...
  47. Replies
    447
    Views
    5,866

    @mjs513 - Does SD.open take all of those flags? ...

    @mjs513 - Does SD.open take all of those flags? these days?
  48. Sorry I have not played with the makefiles in a...

    Sorry I have not played with the makefiles in a very long time... But one key thing is to make sure you have the right USB type selected.

    That is in the makefile you pointed to you see: OPTIONS =...
  49. Sorry I am not really sure what you are asking...

    Sorry I am not really sure what you are asking here? Or what your setup is or the like. Or see any of your code or ...
    Or what is working for you and what is not.

    Example is the Linux your...
  50. Replies
    447
    Views
    5,866

    Thanks, I have been playing with this, and it...

    Thanks,

    I have been playing with this, and it does shrink down the number of stuff going into dma. I still am getting a few at start and the like that do not have the HSYNC bit set. Sort of had...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4