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

Search:

Type: Posts; User: jcw

Search: Search took 0.00 seconds.

  1. Replies
    23
    Views
    4,664

    I've pasted the code at...

    I've pasted the code at https://gist.github.com/jcw/73b2c29fe0172ae8938fb577035d248d
    That way it can be edited/fixed/tweaked without cluttering up this forum with buggy code.
  2. Replies
    23
    Views
    4,664

    Yeah, my bad - I left out some important...

    Yeah, my bad - I left out some important definitions. Change the definition to:


    extern char _itcm_block_count [];.

    This is nasty linker stuff. The address is the value, it's not a variable,...
  3. Replies
    23
    Views
    4,664

    Here's some code to get to grips with memory...

    Here's some code to get to grips with memory layout and use (for the Teensy 4.1):


    void memInfo () {
    constexpr auto RAM_BASE = 0x2020'0000;
    constexpr auto RAM_SIZE = 512 << 10;
    ...
  4. Replies
    23
    Views
    4,664

    I don't know about audio, but you can find out...

    I don't know about audio, but you can find out where things live by comparing with the linker load map (tl062_t41.ld):


    ITCM (rwx): ORIGIN = 0x00000000, LENGTH = 512K
    DTCM (rwx): ORIGIN =...
Results 1 to 4 of 4