Example MPC5775K Semaphores S32DS_1.0

Showing results for 
Search instead for 
Did you mean: 

Example MPC5775K Semaphores S32DS_1.0

No ratings

Example MPC5775K Semaphores S32DS_1.0


* 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



Labels (1)


there was a strange problem that I couldn't download the code sample.  What should I do now?




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



How do I understand the part in the section.ld file. Is there some reference about IDE LINK file?





Hi Ron,

please look at the gcc linker documentation.


or https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0ahUKEwid3P-J96TNAhULCcAKHSyZCUw...

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 )



Version history
Revision #:
1 of 1
Last update:
‎02-29-2016 05:25 AM
Updated by: