Microcontroller Part # : S9KEAZN16AMLC
Debugger / Programmer : PE Micro Multilink Universal
Code Warrior : Version: 10.6.4
Using Processor Expert
Reset pin is tied to +5V through 4.7K resistor
In debug mode, we are able to program the controller and see the output
But in flash mode, after programming - a low signal of 2uSec is appearing at every 20 uSec of High signal.
i.e, Reset Pin Status will be High for 20 uS-->2uS-Low-->20uS High-->2uS Low....it continues
Because of this, Oscillator is not running and also program is not running.
(that means, I am not getting any error while programming in flash mode)
WDOG is diabled - find below snapshot, LVD is disabled
watch dog disabled in CS1
Status of SIM in debug mode
Issue is not with uController.
Path prescribed for PE Micro Multilink Universal was not correct, we aligned with the path prescribed
We are able to flash it.
Thanks for all the support
(Sorry for posting the issue here)
(Thought of deleting the post as issue is not related to ucontroller, but it may lead someone to look into debugger also, if any issues - Moderator can take a call)
As we are using processor expert, the generated code is
PEX_RTOS_INIT(); /* Initialization of the selected RTOS. Macro is defined by the RTOS component. */
/* Initialization of the SIM module */
/* Initialization of the FTMRx_FlashConfig module */
/* Initialization of the PMC module */
/* PMC_SPMSC1: LVWACK=1,LVDE=0,??=0 */
PMC_SPMSC1 = (uint8_t)((PMC_SPMSC1 & (uint8_t)~(uint8_t)(
)) | (uint8_t)(
/* Common initialization of the CPU registers */
/* SIM_SOPT: CLKOE=0,RSTPE=0,NMIE=1 */
SIM_SOPT = (uint32_t)((SIM_SOPT & (uint32_t)~(uint32_t)(
)) | (uint32_t)(
Our actual schematic is :
RESET net goes to debug port.
To debug, we removed LM809 and 100K (pull-down resistor). Reset pin is tied to +5V through 4.7K resistor.