芯片解密|单片机解密|IC解密|芯片破解|芯片复制| PCB抄板|软件开发

飞芯科技-芯片解密|单片机解密|IC解密|芯片破解|芯片复制| PCB抄板|软件开发

芯片解密S32K144_Uart串口源程序

芯片解密S32K144 自身NorFlash读写,在NXP官方编译器S32 Design Studio for ARM Version 2018.R1(需要打补丁跟新到 RTM2.0版SDK)直接编译。该串口代码与官方库不冲突,可继续使用官方提供的便利工具,IO和Uart模块的可视化配置,并且实现Uart方便的中断接受,不丢失。从FIFO中直接提取数据,改善官方SDK库效读取率低,操作不方便等问题。
  1. /* 芯片解密###################################################################
  2. **     Filename    : main.c
  3. **     Processor   : S32K14x
  4. **     Abstract    :
  5. **         Main module.
  6. **         This module contains user's application code.
  7. **     Settings    :
  8. **     Contents    :
  9. **         No public methods
  10. **
  11. ** ###################################################################*/

  12. /* MODULE main */


  13. /* Including necessary module. Cpu.h contains other modules needed for compiling.*/
  14. #include "Cpu.h"

  15. /* User includes (#include below this line is not maintained by Processor Expert) */

  16. #include "common.h"

  17. /*!
  18.   \brief The main function for the project.
  19.   \details The startup initialization sequence is the following:
  20. */

  21. int main(void)
  22. {
  23.   /* Write your local variable definition here */

  24.   /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
  25.   #ifdef PEX_RTOS_INIT
  26.     PEX_RTOS_INIT();                   /* Initialization of the selected RTOS. Macro is defined by the RTOS component. */
  27.   #endif
  28.   /*** End of Processor Expert internal initialization.                    ***/

  29.         BoardInit();

  30.         UART_Text();

  31.         while(1){

  32.                 OSIF_TimeDelay(1000);
  33.         };

  34.         return 0;
  35. }
  36. /* END main */



联系方式

地址:石家庄市新华区民族路77号华强广场D座2009
电话:0311-88816616/87087811
手机:13315190088
传真:0311-67901001
联系人:张工
网址:www.feixindz.com
邮箱:feixindz@163.com
微信:xinpianjiemi
QQ:527263666/568069805

在线客服
热线电话

企业微信