User Tools

Site Tools


manual:demos:s32k144_evb_s32ds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
manual:demos:s32k144_evb_s32ds [2020/03/20 12:31]
voorburg created
manual:demos:s32k144_evb_s32ds [2020/03/25 12:12]
voorburg [Building the Demo Program]
Line 36: Line 36:
 Before the bootloader can be used, it needs to be built and programmed into the S32K144'​s internal flash memory. The steps in this section only need to be done once. Before the bootloader can be used, it needs to be built and programmed into the S32K144'​s internal flash memory. The steps in this section only need to be done once.
  
-Right-click the **Boot** project in the //Project Explorer// and select //Build Project// from the popup menu. This compiles all the bootloader sources and links them together into the final executable.+Right-click the **Boot** project in the //Project Explorer// and select //Refresh// from the popup menu. Next, right-click the **Boot** project again and this time select //Build Project// from the popup menu. This compiles all the bootloader sources and links them together into the final executable.
  
 The bootloader program is now ready to be programmed into the internal flash memory of the S32K144 microcontroller. Make sure the S32K144 EVB board is powered up and connected to your PC via a USB cable. Next, select //Run -> Debug// from the menu to flash the bootloader program. This will launch the Debug perspective in Eclipse. Once done, you can start the bootloader program by selecting //Run -> Resume// from the menu. The bootloader program is now ready to be programmed into the internal flash memory of the S32K144 microcontroller. Make sure the S32K144 EVB board is powered up and connected to your PC via a USB cable. Next, select //Run -> Debug// from the menu to flash the bootloader program. This will launch the Debug perspective in Eclipse. Once done, you can start the bootloader program by selecting //Run -> Resume// from the menu.
Line 46: Line 46:
  
  
-Note that after closing the debug session in Eclipse, the on-board OpenSDA interface halts the CPU. If you want to continue running the bootloader program, a reset of the microcontroller is needed. This is achieve by briefly pressing ​the reset button on the board.+Note that after closing the debug session in Eclipse, the on-board OpenSDA interface halts the CPU. If you want to continue running the bootloader program, a reset of the microcontroller is needed. This is achieved disconnecting and then reconnecting ​the power to the board.
 ===== Building the Demo Program ===== ===== Building the Demo Program =====
  
-Right-click the **Prog** project in the //Project Explorer// and select //Build Project// from the popup menu. This compiles all the user program sources and links them together into the final executable.+Right-click the **Prog** project in the //Project Explorer// and select //Refresh// from the popup menu. Next, right-click the **Prog** project again and this time select Build Project ​from the popup menu. This compiles all the user program sources and links them together into the final executable. ​
  
 The output file is The output file is
manual/demos/s32k144_evb_s32ds.txt ยท Last modified: 2023/12/04 22:38 by voorburg