Hello,
As discussed in https://community.nxp.com/t5/S32G/Using-S32K399A-A53-primary-core-in-bare-metal/m-p/2194502#M15372, I am assessing the performance of the S32G399A using its RDB and some custom-made application. While I managed to run some small functions directly over U-Boot, the processor started crashing when I tried to fit a larger application - still, it is just some 300KB of code and data and it certainly uses less than 4KB of stack.
I could run the same application over the U-Boot used in the PowerPC-based T1040D4-RDB, but I have no idea about the problem I am facing when trying to do the same for the S32G-VNP-RDB3 because there is not even a board reset - the "go" command simply never returns.
As I have also recently purchased an LS1028ARDB, I tried the same there and got the same problem, which makes me think that there may be some stack pointer configuration or other aspect inherent to the Cortex-A processors that I should take into account when running my code from U-Boot.
Do you have any insights on how to run "slightly complex" code over U-Boot for these ARM-based processors?
As a friend of mine had a spare ARM20 connector and we have the complete Green Hills environment, I decided to use it with this board. I had some issues, first because the debugger was not being able to halt the processor (which I could do it myself manually), then it was unable to copy the executable code to RAM (neither SRAM nor SDRAM) due to some "memory write error - translation fault, first level". Is there any extra configuration I must do in the board for it to work in the Green Hills environment (which seems to support S32G399A)?
As both questions are part of a single objective of "get S32G running", I am putting them together, but I can split them in two posts if necessary.
Thanks,
Ricardo