Hello,
I'm working on a project around the Teensy 4.0. The platform seems to be really powerful, but I wish the different features were better documented. For example, I managed to figure out how to do direct GPIO access (which I needed) only after browsing the Forum for a few days. Nevertheless, it's really cool!
Anyway, regarding the software, I was wondering what the "bare minimum" setup is on boot? I.e. what registers need to be set, how to setup FPU, MPU and the DTCM/ITCM split? I'd like to understand as much as possible about what's going on "behind the scenes" - and also remove anything unneeded for my application.
I have also another question: on the Teensy 4.0 homepage, in the Memory Layout section, it says "Memory is used in the following ways", and then there's a list of the different sections. I assume this configuration is just the one that you'll get if you compile from e.g. Arduino IDE without modifying anything? That the memory can be used as one wishes but is that way by default? And I guess the layout is then established (data is copied from flash to TCM etc.) in the boot process?
I already found startup.c on GitHub, and that was great help understanding the boot process, but I'm still a bit lost as I'm not sure what all the register writes are for and what the written values mean.
Cheers and thanks in advance.
I'm working on a project around the Teensy 4.0. The platform seems to be really powerful, but I wish the different features were better documented. For example, I managed to figure out how to do direct GPIO access (which I needed) only after browsing the Forum for a few days. Nevertheless, it's really cool!
Anyway, regarding the software, I was wondering what the "bare minimum" setup is on boot? I.e. what registers need to be set, how to setup FPU, MPU and the DTCM/ITCM split? I'd like to understand as much as possible about what's going on "behind the scenes" - and also remove anything unneeded for my application.
I have also another question: on the Teensy 4.0 homepage, in the Memory Layout section, it says "Memory is used in the following ways", and then there's a list of the different sections. I assume this configuration is just the one that you'll get if you compile from e.g. Arduino IDE without modifying anything? That the memory can be used as one wishes but is that way by default? And I guess the layout is then established (data is copied from flash to TCM etc.) in the boot process?
I already found startup.c on GitHub, and that was great help understanding the boot process, but I'm still a bit lost as I'm not sure what all the register writes are for and what the written values mean.
Cheers and thanks in advance.