Example MPC5744P HardwareVectoreMode S32DS_1.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example MPC5744P HardwareVectoreMode S32DS_1.0

Example MPC5744P HardwareVectoreMode S32DS_1.0

********************************************************************************

* Detailed Description:

* This example shows, how to use interrupt hardware vector mode. In the example

* PIT0 interrupt and external interrupt source 1 are implemented. PIT interrupt

* toggle LED every second, external interrupt causes IVOR1 exception.

*

* This example also shows, how to use exceptions, while HW vector mode is used.

* After SW1 button is pressed, uninitialized RAM is read and IVOR1 exception is

* reached. In IVOR1, only endless loop is implemented and micro has to be reset

* externally if you want to get out from this loop.

*

*

* For correct HW vector mode setup, following files was added to the project:

*

*  - exceptions.s

*  - handlers_vle.s

*  - HW_vector.c

*

*

* Following files was modified (all changes are marked by comment):

*

*  - mem.ld

*  - sections.ld

*  - Vector.c

*  - MPC57xx__Interrupt_Init.c

*

*

*  Following files was removed from project (files are still place in project, but

*  not compiled and linked)

*

*  - intc_sw_handlers.S

*  - intc_SW_mode_isr_vectors_MPC5744P.c

*

*

*

* Test HW:         X-MPC5744P-144DC, MPC57xx motherboard

* MCU:             PPC5744PFMLQ8 0N15P

* Fsys:            200 MHz

* Debugger:        Lauterbach Trace32

*                  PeMicro USB-ML-PPCNEXUS

* Target:          internal_FLASH (debug mode, release mode)

* EVB connection:  User LED 1 connected to A0 (P8.0),

*                    User switch SW1 connected to A1 (P8.1)

*

*

* ------------------------------------------------------------------------------

*

********************************************************************************

Labels (1)
Attachments
No ratings
Version history
Last update:
‎06-28-2016 07:08 AM
Updated by: