Hello.
I'm trying to make the LLCE examples work on the Goldbox.
I modified the CAN2CAN example a little bit, and it works if I debug it from S32DS.
If I try to run it from U-boot, however, it executes, but hangs U-boot itself.
These are the commands I'm running:
dcache off; mw.q 0x34000000 0x0 0x100000; dcache on
fatload mmc 0:2 ${loadaddr} /llce.elf
bootm7 ${loadaddr} VTABLE
I can see the CAN traffic on the bus, so the example is running, but U-boot hangs and is not able to accept commands anymore.
After some debugging, I was able to trace the problem to the PlatformInit() call, and in particular the code to set the clock.
If I remove that code, however, the example does not work anymore.
Do you have any suggestions?