My hardware used pin 3 (PS0)and pin4(PS1) as SCI interface ,and I configure S12ZVMLMINI software as follows figures, but I cannot connet to Freemaster with my PCB board, what should I do?
I appreciate your help.
The FreeMASTER has two parts – one running on PC and one running on application MCU. The FM must be integrated in your application and use for example the serial link as you showed.
I suggest you to use information on our web page and follow the AN4752 on:
I hope it will help you to solve your task.
Thank you for your help！But i still can't connect my board. Following the configuration in AN4752, I selected FMSTR_SHORT_INTR and communication interface is FMSTR_SCI_BASE 0x0710, but how can I define FMSTR_SCI_INTERRUPT? And I also referenced the case of S12ZVMx128EVB:
The vector.c in S12ZVMx128EVB project,
and the vector.c in S12ZVMLMINIBRD_PMSM_SW_CW11 project, they are different.
If I defined FMSTR_SCI_INTERRUPT 25 or 103 , the program cannot be burned.
can you try an S12Z example application which is attached to this Knowledge Base article (see Attachments section)? It is over one year since it has not been updated, but it may still serve as a good start.
Also, at first, try to make the polled (no interrupt) mode working by using FMSTR_POLL_DRIVEN instead of FMSTR_xxx_INTR modes. After this will be working and you are sure your SCI settings and other things are correct, then you can enable FMSTR_SHORT_INTR and try to use interrupts.