Hi folks,
I got an issue with the PE Mulitlink (Rev C with BDM) and the MM9Z1J938.
Everytime when I want to start an debugsession with the Code Warror, I got serval errors in the console (see below) and the debug session will be aborted.
INF: Initialized.
INF: ;version 1.03, 6/27/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [freescale_mm9z1j638_pflash]
INF: ;device freescale, mm9z1j638, 1x16x64k, desc=all
INF: ;begin_cs device=$00100000, length=$00020000, ram=$00001000
INF: Loading programming algorithm ...
INF: Done.
INF: Programming sequency is : erase, blank check, program, and verify {default}
INF: CMD>VC
INF: Error loading CRC-16 algorithm.
INF: Error loading CRC-16 Algorithm.
INF: CMD>EM
INF: Preserving data range $00100000-$00100033 before erase ...
INF: Done.
INF: Erasing.
INF: Module has been erased.
INF: Reloading programming algorithm ...
ERR: Error Erasing flash of device
ERR: Error occured during Flash programming.
Does anyone have a workarround for this issue?
Solved! Go to Solution.
Hi Boris,
not sure what the issue is!
What is you hardware setup? (EVB, RefDesign, own PCB)
The typical issues with programming are:
1. MM9Z1J638 is periodically reset from the analog die (RESET_A)
- workaround is to use a 470nF capacitor between RESET and GND During Programming!!!
2. MM9Z1J638 is in low power mode SLEEP
- in this mode the uC is not powered and therefor does not react.
- check if Yellow LED on USB Multilink is permanently ON (on KIT9Z1J638 with onboard BDM yellow LED D7)
- workaround is to wakeup device, e.g. with LIN or Power On (depending on software running in the device)
Rgds
Wolfgang
The cap should be ONLY used when programming and not during normal operation!!
The 470nF is suppressing the resets triggered by the Analog die watchdog timer (in initial configuration every ~250ms). See Picture example the top scope picture is the RESET-RESET_A signal w/o 470nF. The bottom scope picture is w the 470nF.
Hi Boris,
not sure what the issue is!
What is you hardware setup? (EVB, RefDesign, own PCB)
The typical issues with programming are:
1. MM9Z1J638 is periodically reset from the analog die (RESET_A)
- workaround is to use a 470nF capacitor between RESET and GND During Programming!!!
2. MM9Z1J638 is in low power mode SLEEP
- in this mode the uC is not powered and therefor does not react.
- check if Yellow LED on USB Multilink is permanently ON (on KIT9Z1J638 with onboard BDM yellow LED D7)
- workaround is to wakeup device, e.g. with LIN or Power On (depending on software running in the device)
Rgds
Wolfgang
I have an own PCB.
The 470nF is working. Now everything is fine.
What effects the 470nF?
As you can see on the picture in the answer from Wolfgang the reset generated by analog die is “removed” by this capacitor and Multilink can properly load the code.
Best Regards,
Stano.
Hi,
the PE Mirco is working with the EVM.
We added an 470nF between GND and Reset according https://community.nxp.com/t5/S12-MagniV-Microcontrollers/quot-Device-is-secure-Erase-to-unsecure-quo....
Now its working.
Do you now what the addional cap effect?
Hi Boris,
Did you try another piece of HW or software pack also? There are Eval Kits also available on
with detail description, SW packs, drivers and LIN Stack too. It could be as reference for your design.
Best Regards,
Stano.
Hi,
the PE Mirco is working with the EVM.
We added an 470nF between GND and Reset according https://community.nxp.com/t5/S12-MagniV-Microcontrollers/quot-Device-is-secure-Erase-to-unsecure-quo....
Now its working.
Do you now what the addional cap effect?