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

Search:

Type: Posts; User: KurtE

Search: Search took 0.01 seconds.

  1. @defragster and all, I pushed up an updated...

    @defragster and all,

    I pushed up an updated version of the not very robust imxrt_size code (https://github.com/KurtE/imxrt-size)

    That put a little bailing wire on the not overly robust...
  2. Quick update as well. I also updated my version...

    Quick update as well. I also updated my version of the code that you can put into the build to show information as described in post #3 (I think). It uses updating the platform.txt file and prints...
  3. As far as I know, the only thing that writes to...

    As far as I know, the only thing that writes to ITCM area is the startup code.

    That simply copies the stuff from FLASH memory into the ITCM area, with a really simple copy:
    memory_copy(&_stext,...
  4. Again hard to say why you are losing data,...

    Again hard to say why you are losing data, without any clues on what your program is actually doing.
    As mentioned in the first post as well as then the updated data on the PJRC website:...
  5. @Frank B - Looks interesting, Will be fun to try...

    @Frank B - Looks interesting, Will be fun to try out, once I get some other distractions under control.

    What I am wondering about this, is how hard would it be to have the boards.txt instead of...
  6. What I don't know (actually expect the answer is...

    What I don't know (actually expect the answer is no) is if I can do something like:


    extern FLASHMEM {
    ....
    }

    like you might do with:

    extern "C" {
  7. Not a problem... There is now a readme... :D

    Not a problem... There is now a readme... :D
  8. Could have sworn that some of the comments...

    Could have sworn that some of the comments earlier in this thread already did mention that you started the imxrt-size stuff... :o

    Also I believe credited you with how to add a call to it in...
  9. @defragster - wonder if I need to learn more...

    @defragster - wonder if I need to learn more about how VS... works and try to build a version that is totally stand alone and does not require run time support?
  10. Thanks @Paul, Another interesting sub-question...

    Thanks @Paul,

    Another interesting sub-question is in practice what is the performance differences and trade offs for the different caching options.

    Example we currently use: MEM_CACHE_WBWA ...
  11. OCRAM and DMA operations: @Paul and others... ...

    OCRAM and DMA operations:

    @Paul and others... I know that I have posted about this in the past, and I know I keep seeing questions about it both forum and PMs and ...

    And I don't know a...
  12. @defragster - I am not sure if it is valid or not...

    @defragster - I am not sure if it is valid or not to be able to write into the ITCM memory area or not...

    But One thing I have thought about doing, is maybe using more of the memory in the DTCM...
  13. Hi @defragster - It is the addresses of these...

    Hi @defragster - It is the addresses of these names that is important... So I hacked a second part onto your program:

    extern unsigned long _stextload;
    extern unsigned long _stext;
    extern...
  14. @Paul and others... As per earlier question...

    @Paul and others... As per earlier question about wondering about what marking some of the functions as FLASHMEM would do to startup time and run time...

    I have tried adding flashing of pin 13,...
  15. @Paul - I don't know if it makes sense to simply...

    @Paul - I don't know if it makes sense to simply add another utility in the build process, that displays more information.

    I followed I think it was @Frank B who originally did it, but I simply...
  16. Sounds good, I just sunk up my cores and copied...

    Sounds good, I just sunk up my cores and copied them into my 1.8.10 Teensyduino install, and will start playing with it.

    And yes it would be great if there was some descriptions about that on...
  17. @defragster - Actually I think I misunderstood...

    @defragster - Actually I think I misunderstood your previous question. I don't think you are interested in what is the last address used in the FLASH RAM? (addresses in the 60000000 range), but...
  18. Good Idea, Done... Thanks Not sure what you...

    Good Idea, Done... Thanks


    Not sure what you are asking/suggesting?

    Are you simply saying that programs, could try to muck with flash storage that is above the flash memory that sketch used? ...
  19. @Paul - Again I am not sure how many people it...

    @Paul - Again I am not sure how many people it would help, but I know a few people have asked about the addressing of these different areas.

    @all...

    If you look at chapter 2 of the IMXRT manual...
  20. Sorry @defragster - My mind is still on vacation...

    Sorry @defragster - My mind is still on vacation :D OP?


    Yes - the startup.c ResetHandler function does this:

    void ResetHandler(void)
    {
    unsigned int i;

    #if defined(__IMXRT1062__)
  21. Looks good. I agree that DMA will need a lot...

    Looks good.

    I agree that DMA will need a lot more explanation, probably as it's own topic.

    Currently isn't all code more or less fastrun? If not, hopefully we can make that change.

    This...
  22. @PaulStoffregen - That would be great. I started...

    @PaulStoffregen - That would be great. I started this thread, as at the time it was unclear to me, how all of these memory sections worked, so I thought I might try to keep a few notes...

    I...
  23. That makes sense. I do think we should also...

    That makes sense. I do think we should also consider adding something like the more detailed output, like I show above like in post #6 to the standard setup, as to help make it clear when you might...
  24. Thanks @MichaelMeissner and @defragster - that is...

    Thanks @MichaelMeissner and @defragster - that is what I remembered as well, but was not sure if anyone had come up with any other ways to do it.

    Like maybe a build option: that says leave all...
  25. Question for self and others... I remember...

    Question for self and others...

    I remember during the beta cycle that you could mark either code or data as PROGMEM.

    I showed that in earlier example: But again you can also do with code:
    ...
  26. I am not sure how interesting this part might be,...

    I am not sure how interesting this part might be, but with the uncannyeyes, which it appears like at least some of the issues we were running into is caused by unitialized members of the st7735_t3...
  27. As per earlier request, I put my current version...

    As per earlier request, I put my current version of imxrt-size up on github: https://github.com/KurtE/imxrt-size
    I believe this includes the .exe for windows. Sorry I have not tried building a...
  28. T4.0 Memory - trying to make sense of the different regions

    While trying to debug some issues, where a program would cause USB to not work in cases, but did in others, I decided to try to understand more on the memory organization of new Teensy T4.0.
    I put...
Results 1 to 28 of 28