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

Search:

Type: Posts; User: defragster

Search: Search took 0.01 seconds.

  1. Replies
    20
    Views
    4,528

    Realized any big failure would render the rest of...

    Realized any big failure would render the rest of EXTMEM LOST after a single large failure, so when nullptr is returned on large alloc, undo the ptr* change that alloc would have used.

    Added some...
  2. Replies
    20
    Views
    4,528

    Seems to work adding to...

    Seems to work adding to ...\hardware\teensy\avr\cores\teensy4\imxrt1062_t41.ld:



    _seram = ADDR(.bss.extram);
    _eeram = ADDR(.bss.extram) + SIZEOF(.bss.extram);



    And edited code p#7...
  3. Replies
    20
    Views
    4,528

    Yes, Controlled heap alloc from DTCM and ERAM...

    Yes, Controlled heap alloc from DTCM and ERAM would both be cool.

    For :: // TODO: set up for malloc_extmem()

    With edit to imxrt1062_t42.ld could the compile allocated size of EXTMEM be...
  4. Replies
    20
    Views
    4,528

    For CODE run from FLASH best to use :: FLASHMEM ...

    For CODE run from FLASH best to use :: FLASHMEM


    myReturnType FLASHMEM MyFunction( MyParameters ) {

    Code for Function....

    }

    That is new and not yet shown on the T_4.0 memory page...
  5. Replies
    20
    Views
    4,528

    Moving that image data from RAM to FLASH would be...

    Moving that image data from RAM to FLASH would be using:

    PROGMEM Variables - Variables defined with "PROGMEM" are placed only in the flash memory. They can be accessed normally.
  6. Replies
    20
    Views
    4,528

    NINE - if you count the RAM in PSRAM. There is...

    NINE - if you count the RAM in PSRAM.

    There is no provision to initialize or extend 'onboard RAM' directly onto the PSRAM chip. It is off chip and in non-contiguous address space - and runs not...
Results 1 to 6 of 6