how to access debug configuration registers with CF MCF 52235

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to access debug configuration registers with CF MCF 52235

386 Views
leonidshikhelma
Contributor I

Hi,

We are using ColdFire MCF52235 and having the following issue:

 

On some cases, when trying to flash the FW via cyclone max  - FW is not flashed.

While on the same HW, FW is flashed via the CF MULTILINK.

 

We found that on those cases in which FW is not flashed, the PSTCLK is not enabled.

The register which controls the PSTCLK is the CSR register (debug control register).

We want to test this issue, so we need an access to the debug control registers.

Is there a way using the codewarrior 10.7 to access those debug registers? If not how can we set/control those registers?

 

Thanks,

 

Lior.

0 Kudos
1 Reply

298 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hello Lior,

Are the other connection settings the same in both the Cyclone and Multilink configurations? How are you flashing the code, is it through the Flash Programmer tool? Please take a look to Thierry Giraud  response on the below thread for more information on how to write the CSR register:

How to access the ColdFire debug control registers  through the BDM port in CodeWarrior 

Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos