AnsweredAssumed Answered

BDM Interface and PSTCLK

Question asked by David Wong on Jun 6, 2017
Latest reply on Jun 20, 2017 by Carlos_Mendoza

Use the USB-ML-UNIVERSAL on two boards. BMD is not working on one board.

1) BDM works on the MCF5441X Tower Module:
// BOOTMOD[1:0]=01; Override default via data bus
// FB_AD[0] = 0; Boot from NAND flash
// FB_AD[2] = 1; Oscillator bypass mode
// FB_AD[3] = 1; FB_ALE selected
// FB_AD[5:4] = 1x; 16-bit data (16-bit non-muxed address)
// FB_AD[7:6] = 00; Fvco = 10 x Fref
The jumpers settings are so that: 50MHz clock comes from the SER2 board; BDM is enabled; ColdFire PSTCLK clock is routed to the 26-pin BDM connector.
// FB_AD[1] = 1; PLL mode enabled; PSTCLK measured at 125MHz; BDM works fine. Althought the PSTCLK is not switching to reach full 0V - 3.3V range.
// FB_AD[1] = 0; PLL mode disabled; PSTCLK measured at 25MHZ; BDM works fine.

When the BDM interface comes up. The followings show up in the Status Windows:

P&E Interface detected – Flash Version 6.15
Device Debug Module : Revision D+PSTB
Device Detected : 5441x


2) BDM not working on my CPUCARD2 board:
Use identical reset configuration settings. 50MHz clock comes from on-board oscillator; BDM is enabled; ColdFire PSTCLK clock is routed to the 26-pin BDM connector. The identical reset configuration is driven from CPLD on board.
// FB_AD[1] = 1; PSTCLK measured at 125MHz; BDM NOT working. PSTCLK is not switching to reach full 0V - 3.3V range.
// FB_AD[1] = 0; PSTCLK measured at 25MHZ; BDM NOT working.

BDM interface is not coming up on my MCF54418CMJ250 (ColdFire V4) based MCU card. My questions follow.

Q1) What are the differences between Connect (Reset) and Hotsync in PEMICRO Connection Manager pop-up menu?
Q2) If I click the Connect (Reset) button I get the following messages from the Status Window. What does the followings mean?

P&E Interface detected – Flash Version 6.15
Device Debug Module : Revision A
Device Detected : Generic 52xx
Debugger retrying force to background mode.
Device Debug Module : Revision A // device cannot be detected to be Revision D+PSTB
Device Detected : Generic 52xx // device cannot be detected to be Generic 5441x
Can not enter background mode.

//////// After hitting Hotsync Button once to multiple times the following lines show up. And I get full debugger windows show up as well. /////////
Illegal command error from CPU – try a RESET.
Illegal command error from CPU – try a RESET.

//////// After hitting RETURN Button multiple times the following lines show up. /////////
Illegal command error from CPU – try a RESET.
Illegal command error from CPU – try a RESET.
Error communicating to target processor – try a RESET

Q3) The BDM is not coming up. Where should I look for?

Outcomes