********************************************************************************
* Detailed Description:
* Application performs basic initialization, setup PLL to maximum allowed freq.,
* start one Z7 core, interrupts initialization, ICache and DCache are disabled
* on both cores because of shared memory, which must not be cached.
*
* There is 4K shared memory defined in the linker file. This memory is used by
* both cores. Both cores access into the structure, which is placed in the shared
* memory. This access is marked as a critical section. Only one core can write
* to the structure at the same time. To ensure this, there are Gates, which
* guarantee data coherence during the access. Only one core can be in critical
* section. Second core has to wait, until first core leaves the critical section
*
*
*
* ------------------------------------------------------------------------------
* Test HW: MPC5775K-356DS, MPC57xx Motherboard
* MCU: PPC5775KMMY3B 0N76P
* Terminal: 19200-8-no parity-1 stop bit-no flow control on LINFlexD_0
* Fsys: PLL0 266MHz
* Z4 Core 133MHz
* Z7 Core 266MHz
* Debugger: Lauterbach Trace32
* PeMicro USB-ML-PPCNEXUS
* Target: internal_FLASH (debug mode, release mode)
* EVB connection: default connection
*
********************************************************************************
Hi,
there was a strange problem that I couldn't download the code sample. What should I do now?
Thanks.
Hi,
in S32DS becomes some GDB problem sometimes (this can be caused many reasons) and it is necessary to "kill" processes, which care about GDB functionality. Please look at the following thread, stanish describes there how to solve this issue.
Eternal "configuring GDB" if P&E Multilink not connected or target OFF
Regards,
Martin
How do I understand the part in the section.ld file. Is there some reference about IDE LINK file?
Thanks,
Regards
Ron
Hi Ron,
please look at the gcc linker documentation.
About the section you shared:
NOLOAD: The section should be marked as not loadable, so that it will not be loaded into memory when the program is run.
All what is add to section .sharedRAM will be placed to shared. Symbol shared is defined in mem.ld ( shared : org = 0x40000000, len = 4k )
Regards,
Martin